phone.joinGroupCall
Join any group call type ». Conference calls additionally require the E2E joining flow ».
Join any [group call type »](https://core.telegram.org/api/group-calls.md#group-call-types). Conference calls additionally require the [E2E joining flow »](https://core.telegram.org/api/end-to-end/group-calls.md#joining-a-call).
| الاسم | النوع | مطلوب | الوصف |
|---|---|---|---|
muted | true | لأ | Join muted; required for live story listeners and RTMP-mode viewers |
video_stopped | true | لأ | Join with video disabled; required for live story listeners and RTMP-mode viewers |
call | InputGroupCall | أيوه | Group call to join |
join_as | InputPeer | أيوه | Join the group call, presenting yourself as the specified user/channel; this peer is also used as the author of in-call messages in normal video chats/livestreams. Only video chats/livestreams may use another peer; this field must be equal to [inputPeerSelf](https://core.telegram.org/constructor/inputPeerSelf.md) when joining [live stories »](https://core.telegram.org/api/group-calls.md#live-stories) or [conference calls »](https://core.telegram.org/api/group-calls.md#conference-calls). |
invite_hash | string | لأ | The invitation hash from the [invite link »](https://core.telegram.org/api/links.md#video-chat-livestream-links), if provided allows speaking in a livestream or muted group call ([video chats/livestreams »](https://core.telegram.org/api/group-calls.md#video-chats-livestreams) only, cannot be used by [live stories »](https://core.telegram.org/api/group-calls.md#live-stories) or [conference calls »](https://core.telegram.org/api/group-calls.md#conference-calls)). |
public_key | int256 | لأ | For [conference calls »](https://core.telegram.org/api/group-calls.md#conference-calls) only, your public key. |
block | bytes | لأ | The [main-chain block that adds the joining user »](https://core.telegram.org/api/end-to-end/group-calls.md#joining-a-call), only for [conference calls »](https://core.telegram.org/api/group-calls.md#conference-calls). |
params | DataJSON | أيوه | Join payload generated by the local tgcalls group-call engine, as described above |
الردود
Updates
MTProto RPC
- 400 · CHAT_ADMIN_REQUIRED — You must be an admin in this chat to do this.
- 403 · CHAT_WRITE_FORBIDDEN — You can't write in this chat.
- 400 · DATA_JSON_INVALID — The provided JSON data is invalid.
- 403 · GROUPCALL_FORBIDDEN — The specified group call cannot be used in this context.
- 400 · GROUPCALL_INVALID — The specified group call is invalid.
- 400 · GROUPCALL_SSRC_DUPLICATE_MUCH — The app needs to retry joining the group call with a new SSRC value.
- 400 · JOIN_AS_PEER_INVALID — The specified peer cannot be used to join a group call.
- 400 · PUBLIC_KEY_INVALID — The specified e2e public key is invalid.