danog\MadelineProto\EventHandler\Calls\AbstractGroupCallMessage
Author: Daniil Gentili daniil@daniil.it
What an in-call message of a video chat ({@see GroupCallMessage}) and of a live story
({@see LiveStoryMessage}) have in common: both are server-side (not end-to-end encrypted) messages of a group call, with a server-assigned {@see self::$id} and moderation.
Properties
$id:intID of the message in the call.$fromAdmin:boolWhether the sender is an admin of the call.$callId:intID of the call the message was sent in.$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.
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:boolAlso 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