danog\MadelineProto\EventHandler\Calls\LiveStoryMessage: An [in-call message or reaction »](https://core.telegram.org/api/group-calls#in-call-messages) sent in a [live story »](https://core.telegram.org/api/group-calls#live-stories) ({@see LiveStory}).
Author: Daniil Gentili daniil@daniil.it
An in-call message or reaction » sent in a live story » ({@see LiveStory}).
On top of a plain {@see AbstractGroupCallMessage}, a live story message may carry a Telegram Stars donation ({@see self::$paidStars}); a donation with an empty text is a standalone donation ({@see self::isDonation()}).
Properties
$paidStars:?intTelegram Stars donated with this message, if any.$id:intID of the message in the call.$fromAdmin:boolWhether the sender is an admin of the call.$peerId:?intBot API ID of the peer the call belongs to (the group or channel of a video chat, the poster of a live story), if known.$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.$out:boolWhether we sent the message.$command:?stringBot command (if present)$commandType:?danog\MadelineProto\EventHandler\CommandTypeBot command type (if present)$commandArgs:list<string>Bot command arguments (if present)$matches:list<string>Regex matches, if a filter regex is present$matchesAll:array<array-key, (array<array-key, (list{string, int} | null | string)> | mixed)>Regex matches, if a filter multiple match regex is present
Method list:
Methods:
isReaction(): bool
Whether this is a reaction rather than a text message: a single (possibly custom) emoji, and not a donation.
isDonation(): bool
Whether this is a standalone 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