2.0 KiB
2.0 KiB
title | description | image |
---|---|---|
updateShortChatMessage | Update short chat message | https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png |
Constructor: updateShortChatMessage
Update short chat message
Attributes:
Name | Type | Required | Description |
---|---|---|---|
unread | Bool | Optional | Unread? |
out | Bool | Optional | Out? |
mentioned | Bool | Optional | Mentioned? |
media_unread | Bool | Optional | Media unread? |
id | int | Yes | ID |
from_id | int | Yes | From ID |
chat_id | int | Yes | Chat ID |
message | string | Yes | Message |
pts | int | Yes | Pts |
pts_count | int | Yes | Pts count |
date | int | Yes | Date |
fwd_from_id | Peer | Optional | Fwd from ID |
fwd_date | int | Optional | Fwd date |
via_bot_id | int | Optional | Via bot ID |
reply_to_msg_id | int | Optional | Reply to msg ID |
entities | Array of MessageEntity | Optional | Entities |
Type: Updates
Example:
$updateShortChatMessage = ['_' => 'updateShortChatMessage', 'unread' => Bool, 'out' => Bool, 'mentioned' => Bool, 'media_unread' => Bool, 'id' => int, 'from_id' => int, 'chat_id' => int, 'message' => 'string', 'pts' => int, 'pts_count' => int, 'date' => int, 'fwd_from_id' => Peer, 'fwd_date' => int, 'via_bot_id' => int, 'reply_to_msg_id' => int, 'entities' => [MessageEntity, MessageEntity]];
Or, if you're into Lua:
updateShortChatMessage={_='updateShortChatMessage', unread=Bool, out=Bool, mentioned=Bool, media_unread=Bool, id=int, from_id=int, chat_id=int, message='string', pts=int, pts_count=int, date=int, fwd_from_id=Peer, fwd_date=int, via_bot_id=int, reply_to_msg_id=int, entities={MessageEntity}}