MadelineProto/old_docs/API_docs_v42/constructors/messageService.md

965 B

title description
messageService messageService attributes, type and example

Constructor: messageService

Back to constructors index

Attributes:

Name Type Required
unread Bool Optional
out Bool Optional
mentioned Bool Optional
media_unread Bool Optional
id int Required
from_id int Optional
to_id Peer Required
date int Required
action MessageAction Required

Type: Message

Example:

$messageService = ['_' => 'messageService', 'unread' => true, 'out' => true, 'mentioned' => true, 'media_unread' => true, 'id' => int, 'from_id' => int, 'to_id' => Peer, 'date' => int, 'action' => MessageAction, ];