MadelineProtoDocs/old_docs/API_docs_v68/constructors/updateShortMessage.md
Daniil Gentili f73c175203 Update docs
2018-12-26 01:56:50 +00:00

2.2 KiB

title description image
updateShortMessage Update short message https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: updateShortMessage

Back to constructors index

Update short message

Attributes:

Name Type Required Description
out Bool Optional Out?
mentioned Bool Optional Mentioned?
media_unread Bool Optional Media unread?
silent Bool Optional Silent?
id int Yes ID
user_id int Yes User ID
message string Yes Message
pts int Yes Pts
pts_count int Yes Pts count
date int Yes Date
fwd_from MessageFwdHeader Optional Fwd from
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:

$updateShortMessage = ['_' => 'updateShortMessage', 'out' => Bool, 'mentioned' => Bool, 'media_unread' => Bool, 'silent' => Bool, 'id' => int, 'user_id' => int, 'message' => 'string', 'pts' => int, 'pts_count' => int, 'date' => int, 'fwd_from' => MessageFwdHeader, 'via_bot_id' => int, 'reply_to_msg_id' => int, 'entities' => [MessageEntity, MessageEntity]];

PWRTelegram json-encoded version:

{"_": "updateShortMessage", "out": Bool, "mentioned": Bool, "media_unread": Bool, "silent": Bool, "id": int, "user_id": int, "message": "string", "pts": int, "pts_count": int, "date": int, "fwd_from": MessageFwdHeader, "via_bot_id": int, "reply_to_msg_id": int, "entities": [MessageEntity]}

Or, if you're into Lua:

updateShortMessage={_='updateShortMessage', out=Bool, mentioned=Bool, media_unread=Bool, silent=Bool, id=int, user_id=int, message='string', pts=int, pts_count=int, date=int, fwd_from=MessageFwdHeader, via_bot_id=int, reply_to_msg_id=int, entities={MessageEntity}}