NewChatMessage
Is used to construct a chat message obect which can be passed
into the sendMessage()
function of a ChatSession
-
Represents the text of a chat message, including sticker shortcodes
-
A
URL
that references an image -
A suggested image size of the image in the chat message
-
A JSON serialzable dictionary of addiitional information to be attached to the message
-
Init method for a chat message containing text or stickers
-
Init method for a chat message containing an image
-
Init method for a chat message containing an image
-
Init method for a chat message containing a custom text message such as JSON