Layer 220
method Users
phone.exportGroupCallInvite#e6aa647f flags:# can_self_unmute:flags.0?true call:InputGroupCall = phone.ExportedGroupCallInvite;

Parameters

Name Type Description
Flags # Flags, see TL conditional fields
CanSelfUnmute flags.0?true For livestreams or muted group chats, if set, users that join using this link will be able to speak without explicitly requesting permission by (for example by raising their hand).
Call InputGroupCall The group call

Possible Errors

Code Type Description
400 GROUPCALL_INVALID The specified group call is invalid.
403 PUBLIC_CHANNEL_MISSING You can only export group call invite links for public chats or channels.

Gogram Example

// PhoneExportGroupCallInvite - using Params struct
result, err := client.PhoneExportGroupCallInvite(&tg.PhoneExportGroupCallInviteParams{
    Call: &tg.InputGroupCall{},

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