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
| Name | Type | Required | Description |
|---|---|---|---|
Call | InputGroupCallClass | yes | Group call |
Title | string | yes | New title |
Returns
Possible errors
| Code | Type | Description |
|---|---|---|
| 403 | GROUPCALL_FORBIDDEN | The group call has already ended. |
| 400 | GROUPCALL_INVALID | The specified group call is invalid. |
References
- Official documentation
- Generated Go reference
- TL definition:
phone.editGroupCallTitle#1ca6ac0a