entities |
array |
false |
by default the value must be an array, but you can fill it with the string auto |
entities[].type |
string |
false |
Can be bold, custom_emoji, code, url, hashtag, mention, italic, strikethrough, monospace, spoiler |
entities[].offset |
number |
false |
offset text |
entities[].length |
number |
false |
length text |
chatId |
number |
false |
id chat telegram |
avatar |
string |
false |
load an avatar or profile |
text |
string |
true |
message |
mediaType |
string |
false |
Can be sticker, image, gif |
from.id |
string |
false |
sender telegram id |
from.first_name |
string |
false |
first name telegram |
from.last_name |
string |
false |
last name telegram |
from.username |
string |
false |
username telegram |
from.language_code |
string |
false |
language code telegram |
from.title |
string |
false |
title on telegram like admin, satpam, dll. |
from.type |
string |
false |
Type profile on telegram, default as public, can be private |
from.name |
string |
true |
name of the message sender |
from.photo.small_file_id |
string |
false |
profile picture file id telegram |
from.photo.small_file_unique_id |
string |
false |
profile picture file unique id telegram |
from.photo.big_file_id |
string |
false |
profile picture file id telegram |
from.photo.big_file_unique_id |
string |
false |
profile picture file unique id telegram |
from.photo.url |
string |
false |
profile picture message sender |
replyMessage.name |
string |
false |
quoted name |
replyMessage.text |
string |
false |
quoted message |
replyMessage.entities |
string |
false |
same as before |
media.file_id |
string |
false |
file media id message telegram |
media.file_size |
number |
false |
file size media message telegram |
media.height |
number |
false |
media height message telegram |
media.width |
number |
false |
media width message telegram |
media.url |
string |
false |
media message |