Class TdApi.JoinGroupCall

  • Enclosing class:
    TdApi

    public static class TdApi.JoinGroupCall
    extends TdApi.Function
    Joins an active group call. Returns join response payload for tgcalls.

    Returns Text

    • Field Detail

      • groupCallId

        public int groupCallId
        Group call identifier.
      • participantId

        public TdApi.MessageSender participantId
        Identifier of a group call participant, which will be used to join the call; pass null to join as self; video chats only.
      • audioSourceId

        public int audioSourceId
        Caller audio channel synchronization source identifier; received from tgcalls.
      • payload

        public String payload
        Group call join payload; received from tgcalls.
      • isMuted

        public boolean isMuted
        True, if the user's microphone is muted.
      • isMyVideoEnabled

        public boolean isMyVideoEnabled
        True, if the user's video is enabled.
      • inviteHash

        public String inviteHash
        If non-empty, invite hash to be used to join the group call without being muted by administrators.
      • CONSTRUCTOR

        public static final int CONSTRUCTOR
        Identifier uniquely determining type of the object.
        See Also:
        Constant Field Values
    • Constructor Detail

      • JoinGroupCall

        public JoinGroupCall()
        Default constructor for a function, which joins an active group call. Returns join response payload for tgcalls.

        Returns Text

      • JoinGroupCall

        public JoinGroupCall​(int groupCallId,
                             TdApi.MessageSender participantId,
                             int audioSourceId,
                             String payload,
                             boolean isMuted,
                             boolean isMyVideoEnabled,
                             String inviteHash)
        Creates a function, which joins an active group call. Returns join response payload for tgcalls.

        Returns Text

        Parameters:
        groupCallId - Group call identifier.
        participantId - Identifier of a group call participant, which will be used to join the call; pass null to join as self; video chats only.
        audioSourceId - Caller audio channel synchronization source identifier; received from tgcalls.
        payload - Group call join payload; received from tgcalls.
        isMuted - True, if the user's microphone is muted.
        isMyVideoEnabled - True, if the user's video is enabled.
        inviteHash - If non-empty, invite hash to be used to join the group call without being muted by administrators.