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