1.5 KiB
1.5 KiB
title | description | image |
---|---|---|
messageService | Message service | https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png |
Constructor: messageService
Message service
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 | Optional | From ID |
to_id | Peer | Yes | To ID |
date | int | Yes | Date |
action | MessageAction | Optional | Action |
Type: Message
Example:
$messageService = ['_' => 'messageService', 'unread' => Bool, 'out' => Bool, 'mentioned' => Bool, 'media_unread' => Bool, 'id' => int, 'from_id' => int, 'to_id' => Peer, 'date' => int, 'action' => MessageAction];
PWRTelegram json-encoded version:
{"_": "messageService", "unread": Bool, "out": Bool, "mentioned": Bool, "media_unread": Bool, "id": int, "from_id": int, "to_id": Peer, "date": int, "action": MessageAction}
Or, if you're into Lua:
messageService={_='messageService', unread=Bool, out=Bool, mentioned=Bool, media_unread=Bool, id=int, from_id=int, to_id=Peer, date=int, action=MessageAction}