package fbmodelsend

/*
Letter is a complete message to a Facebook user.
We use this name to refer a old letter because your message to be delivered
it needed a sender, a reciever not only text in order to the mail company be
able to find the reciever (or recipient).
In this case our mail company is Facebook
*/
type Letter struct {
	MessageType string    `json:"message_type"`
	Recipient   Recipient `json:"recipient"`
	Message     Message   `json:"message"`
}

/*
SharedInvite represents a shared button with content where the sender wants to share with a recipient an invite
*/
type SharedInvite struct {
	MessageType string                   `json:"message_type"`
	Recipient   Recipient                `json:"recipient"`
	Message     MessageWithSharedContent `json:"message"`
}

package fbmodelsend

/*
Letter is a complete message to a Facebook user.
We use this name to refer a old letter because your message to be delivered
it needed a sender, a reciever not only text in order to the mail company be
able to find the reciever (or recipient).
In this case our mail company is Facebook
*/
type Letter struct {
	MessageType string    `json:"message_type"`
	Tag         string    `json:"tag,omitempty"`
	Recipient   Recipient `json:"recipient"`
	Message     Message   `json:"message"`
}

/*
SharedInvite represents a shared button with content where the sender wants to share with a recipient an invite
*/
type SharedInvite struct {
	MessageType string                   `json:"message_type"`
	Recipient   Recipient                `json:"recipient"`
	Message     MessageWithSharedContent `json:"message"`
}

Add tag field to Letter struct
Add tag field to Letter struct
