MadelineProtoDocs/old_docs/API_docs_v25/constructors/messageService.md

941 B

title description image
messageService Message service https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: messageService

Back to constructors index

Message service

Attributes:

Name Type Required Description
id int Yes ID
from_id int Yes From ID
to_id Peer Yes To ID
date int Yes Date
action MessageAction Optional Action

Type: Message

Example:

$messageService = ['_' => 'messageService', 'id' => int, 'from_id' => int, 'to_id' => Peer, 'date' => int, 'action' => MessageAction];

Or, if you're into Lua:

messageService={_='messageService', id=int, from_id=int, to_id=Peer, date=int, action=MessageAction}