# danog\MadelineProto\EventHandler\Calls\GroupCallMessage: An [in-call message or reaction »](https://core.telegram.org/api/group-calls#in-call-messages) sent in a [video chat or livestream »](https://core.telegram.org/api/group-calls#video-chats-livestreams)

> ({@see GroupCall}), mirroring [groupCallMessage](https://core.telegram.org/constructor/groupCallMessage).


[Back to index](../../../../index.html)

> Author: Daniil Gentili <daniil@daniil.it>  
  

An [in-call message or reaction »](https://core.telegram.org/api/group-calls#in-call-messages) sent in a [video chat or livestream »](https://core.telegram.org/api/group-calls#video-chats-livestreams)  

({@see GroupCall}), mirroring [groupCallMessage](https://core.telegram.org/constructor/groupCallMessage).


## Properties
* `$id`: `int` ID of the message in the call.
* `$fromAdmin`: `bool` Whether the sender is an admin of the call.
* `$peerId`: `?int` Bot 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`: `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.
* `$out`: `bool` Whether we sent the message.
* `$command`: `?string` Bot command (if present)
* `$commandType`: `?danog\MadelineProto\EventHandler\CommandType` Bot 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:
* [`delete(bool $reportSpam = false): void`](#delete)
* [`isReaction(): bool`](#isReaction)

## Methods:
### <a name="delete"></a> `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).  



### <a name="isReaction"></a> `isReaction(): bool`

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



---
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
