Layer 220
method Users
phone.inviteConferenceCallParticipant#bcf22685 flags:# video:flags.0?true call:InputGroupCall user_id:InputUser = Updates;

Parameters

Name Type Description
Flags # Flags, see TL conditional fields
Video flags.0?true Invite the user to also turn on their video feed.
Call InputGroupCall The conference call.
UserId InputUser The user to invite.

Returns

Updates

Possible Errors

Code Type Description
400 GROUPCALL_INVALID The specified group call is invalid.

Gogram Example

// PhoneInviteConferenceCallParticipant - using Params struct
result, err := client.PhoneInviteConferenceCallParticipant(&tg.PhoneInviteConferenceCallParticipantParams{
    Call: &tg.InputGroupCall{},
    UserId: &tg.InputUserSelf{},

    // Optional fields:
    // Video: true,
})
if err != nil {
    // handle error
}
// result is *tg.Updates