danog\MadelineProto\EventHandler\Calls\GroupCallMessage
Author: Daniil Gentili daniil@daniil.it
An in-call message or reaction » sent in
a group call: a video chat, a livestream, a live story, or (end-to-end encrypted) a conference call.
A reaction is a message whose text is a single emoji (with, for a custom emoji, one custom emoji entity spanning it), see {@see self::isReaction()}. In a live story, a message may carry a Telegram Stars donation ({@see self::$paidStars}); a donation with an empty text is a standalone donation.
Properties
$callId:intID of the group call the message was sent in.$id:intID of the message in the call, for an end-to-end encrypted conference message (they have none).$fromId:intBot API ID of the sender.$date:intWhen the message was sent.$message:danog\MadelineProto\EventHandler\Message\Entities\TextWithEntitiesThe text of the message (or the emoji of a reaction) with its entities.$paidStars:?intTelegram Stars donated with this live story message, if any.$fromAdmin:boolWhether the sender is an admin of the call.$encrypted:boolWhether this message was end-to-end encrypted (sent in a conference call).
Method list:
Methods:
isReaction(): bool
Whether this is a reaction rather than a text message: a single (possibly custom) emoji.
isDonation(): bool
Whether this is a standalone live story donation (Telegram Stars with no text).
delete(bool $reportSpam = false): void
Delete this message from the call (our own, or anyone’s if we are an admin).
Parameters:
$reportSpam:boolAlso report it as spam (admins only).
Generated by danog/phpdoc