Link Search Menu Expand Document

danog\MadelineProto\EventHandler\Calls\GroupCallMessage

Back to index

Author: Daniil Gentili daniil@daniil.it

An in-call message or reaction » sent in a video chat or livestream »

({@see GroupCall}), mirroring groupCallMessage.

Properties

  • $id: int ID of the message in the call.
  • $fromAdmin: bool Whether the sender is an admin of the call.
  • $callId: int ID of the call the message was sent in.
  • $fromId: int Bot API ID of the sender.
  • $date: int When the message was sent.
  • $message: danog\MadelineProto\EventHandler\Message\Entities\TextWithEntities The text of the message (or the emoji of a reaction) with its entities.

Method list:

Methods:

delete(bool $reportSpam = false): void

Delete this message from the call (our own, or anyone’s if we are an admin).

Parameters:

  • $reportSpam: bool Also report it as spam (admins only).

isReaction(): bool

Whether this is a reaction rather than a text message: a single (possibly custom) emoji.


Generated by danog/phpdoc