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

1.1 KiB

title description image
messages.sentMessage Sent message https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: messages.sentMessage

Back to constructors index

Sent message

Attributes:

Name Type Required Description
id int Yes ID
date int Yes Date
media MessageMedia Optional Media
pts int Yes Pts
pts_count int Yes Pts count

Type: messages_SentMessage

Example:

$messages_sentMessage = ['_' => 'messages.sentMessage', 'id' => int, 'date' => int, 'media' => MessageMedia, 'pts' => int, 'pts_count' => int];

PWRTelegram json-encoded version:

{"_": "messages.sentMessage", "id": int, "date": int, "media": MessageMedia, "pts": int, "pts_count": int}

Or, if you're into Lua:

messages_sentMessage={_='messages.sentMessage', id=int, date=int, media=MessageMedia, pts=int, pts_count=int}