phone.inviteConferenceCallParticipant
Invite a user to a conference call.
func (c *Client) PhoneInviteConferenceCallParticipant(ctx context.Context, request *PhoneInviteConferenceCallParticipantRequest) (UpdatesClass, error)
Calling this method
client.Run(ctx, func(ctx context.Context) error {
api := client.API()
res, err := api.PhoneInviteConferenceCallParticipant(ctx, &tg.PhoneInviteConferenceCallParticipantRequest{
// see Parameters
})
if err != nil {
return err
}
_ = res // UpdatesClass
return nil
})
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
Video | bool | — | Invite the user to also turn on their video feed. |
Call | InputGroupCallClass | yes | The conference call. |
UserID | InputUserClass | yes | The user to invite. |
Returns
Possible errors
| Code | Type | Description |
|---|---|---|
| 400 | GROUPCALL_INVALID | The specified group call is invalid. |
References
- Official documentation
- Generated Go reference
- TL definition:
phone.inviteConferenceCallParticipant#bcf22685