Skip to main content

phone.deleteGroupCallParticipantMessages

Delete all messages from a specific participant in the in-call message overlay of a group call or livestream.

func (c *Client) PhoneDeleteGroupCallParticipantMessages(ctx context.Context, request *PhoneDeleteGroupCallParticipantMessagesRequest) (UpdatesClass, error)

Calling this method

client.Run(ctx, func(ctx context.Context) error {
api := client.API()

res, err := api.PhoneDeleteGroupCallParticipantMessages(ctx, &tg.PhoneDeleteGroupCallParticipantMessagesRequest{
// see Parameters
})
if err != nil {
return err
}
_ = res // UpdatesClass
return nil
})

Parameters

NameTypeRequiredDescription
ReportSpamboolReportSpam field of PhoneDeleteGroupCallParticipantMessagesRequest.
CallInputGroupCallClassyesCall field of PhoneDeleteGroupCallParticipantMessagesRequest.
ParticipantInputPeerClassyesParticipant field of PhoneDeleteGroupCallParticipantMessagesRequest.

Returns

UpdatesClass

Possible errors

CodeTypeDescription
400GROUPCALL_INVALIDThe specified group call is invalid.

References