Offer letter in general written to inform the receiver that he has got something that he applied for. It is a legal proof that you are offering something to the person and the person takes it as a proof of getting something. A template of offer letter template is shown below.
Dear receiver name,
Content of the letter.