Layer 227
PhoneExportGroupCallInvite
Get an invite link for a public video chat/livestream.
method
Users
phone.exportGroupCallInvite#e6aa647f flags:# can_self_unmute:flags.0?true call:InputGroupCall = phone.ExportedGroupCallInvite;
Parameters
| Name | Type | Description |
|---|---|---|
| CanSelfUnmute | flags .0? true | For public video chats/livestreams, group call admins only: allow users that join using this link to speak without explicitly requesting permission, for example by raising their hand. |
| Call | InputGroupCall | The public video chat/livestream |
Returns
phone.ExportedGroupCallInviteGogram Example
// PhoneExportGroupCallInvite - positional arguments result, err := client.PhoneExportGroupCallInvite(nil, &tg.InputGroupCall{}) if err != nil { // handle error } // result is *tg.PhoneExportedGroupCallInvite
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. |