Skip to main content

phone.editGroupCallTitle

Edit the title of a group call or livestream.

func (c *Client) PhoneEditGroupCallTitle(ctx context.Context, request *PhoneEditGroupCallTitleRequest) (UpdatesClass, error)

Calling this method

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

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

Parameters

NameTypeRequiredDescription
CallInputGroupCallClassyesGroup call
TitlestringyesNew title

Returns

UpdatesClass

Possible errors

CodeTypeDescription
403GROUPCALL_FORBIDDENThe group call has already ended.
400GROUPCALL_INVALIDThe specified group call is invalid.

References