Constructor: messageService

Back to constructors index

Message service

Attributes:

Name Type Required Description
out Bool Optional Out?
mentioned Bool Optional Mentioned?
media_unread Bool Optional Media unread?
silent Bool Optional Silent?
post Bool Optional Post?
id int Yes ID
from_id int Optional From ID
to_id Peer Yes To ID
reply_to_msg_id int Optional Reply to msg ID
date int Yes Date
action MessageAction Optional Action

Type: Message

Example:

$messageService = ['_' => 'messageService', 'out' => Bool, 'mentioned' => Bool, 'media_unread' => Bool, 'silent' => Bool, 'post' => Bool, 'id' => int, 'from_id' => int, 'to_id' => Peer, 'reply_to_msg_id' => int, 'date' => int, 'action' => MessageAction];

Or, if you’re into Lua:

messageService={_='messageService', out=Bool, mentioned=Bool, media_unread=Bool, silent=Bool, post=Bool, id=int, from_id=int, to_id=Peer, reply_to_msg_id=int, date=int, action=MessageAction}

This site uses cookies, as described in the cookie policy. By clicking on "Accept" you consent to the use of cookies.