UNPKG

583 BMarkdownView Raw
1# Message
2
3## Properties
4
5### sender
6The sender of the message
7**Type:** [User](user.md)
8
9### timestamp
10Returns the timestamp of the postback
11**Type:** Timestamp
12
13### recipient
14Returns the recipient ID
15**Type:** Int
16
17### type
18Returns the type of message (text, sticker, attachments)
19**Type:** String
20
21### text
22Returns the text if the type is text
23**Type:** String
24
25### sticker
26Returns the sticker ID if the type is sticker
27**Type:** Int
28
29### attachments
30Returns an array of attachment (stickers, gif, files, geolocation ...)
31**Type:** Array<[Attachment](attachment.md)>
\No newline at end of file