Layer 227
PhoneDeleteGroupCallParticipantMessages
As an admin, delete all messages from a specific participant in the in-call message overlay of a video chat/livestream or live story, including in RTMP mode.
method
Users
phone.deleteGroupCallParticipantMessages#1dbfeca0 flags:# report_spam:flags.0?true call:InputGroupCall participant:InputPeer = Updates;
Parameters
| Name | Type | Description |
|---|---|---|
| ReportSpam | flags .0? true | Also report the participant's messages as spam |
| Call | InputGroupCall | Video chat/livestream or live story containing the messages |
| Participant | InputPeer | The participant whose messages should be deleted |
Returns
UpdatesGogram Example
// PhoneDeleteGroupCallParticipantMessages - positional arguments result, err := client.PhoneDeleteGroupCallParticipantMessages(nil, &tg.InputGroupCall{}, &tg.InputPeerUser{UserID: int64(777000)}) if err != nil { // handle error } // result is *tg.Updates
Possible Errors
| Code | Type | Description |
|---|---|---|
| 400 | GROUPCALL_INVALID | The specified group call is invalid. |