Package it.tdlight.jni
Class TdApi.JoinGroupCall
java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.Function
it.tdlight.jni.TdApi.JoinGroupCall
- Enclosing class:
- TdApi
public static class TdApi.JoinGroupCall extends TdApi.Function
Joins an active group call.
Returns GroupCallJoinResponse
-
Field Summary
Fields Modifier and Type Field Description static int
CONSTRUCTOR
int
groupCallId
Group call identifier.String
inviteHash
If non-empty, invite hash to be used to join the group call without being muted by administrators.boolean
isMuted
True, if the user's microphone is muted.TdApi.MessageSender
participantId
Identifier of a group call participant, which will be used to join the call; voice chats only.TdApi.GroupCallPayload
payload
Group join payload; received from tgcalls.int
source
Caller synchronization source identifier; received from tgcalls. -
Constructor Summary
Constructors Constructor Description JoinGroupCall()
Joins an active group call.JoinGroupCall(int groupCallId, TdApi.MessageSender participantId, TdApi.GroupCallPayload payload, int source, boolean isMuted, String inviteHash)
Joins an active group call.JoinGroupCall(DataInput input)
-
Method Summary
Modifier and Type Method Description boolean
equals(Object o)
int
getConstructor()
int
hashCode()
void
serialize(DataOutput output)
Methods inherited from class it.tdlight.jni.TdApi.Function
toString
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize
-
Field Details
-
groupCallId
public int groupCallIdGroup call identifier. -
participantId
Identifier of a group call participant, which will be used to join the call; voice chats only. -
payload
Group join payload; received from tgcalls. -
source
public int sourceCaller synchronization source identifier; received from tgcalls. -
isMuted
public boolean isMutedTrue, if the user's microphone is muted. -
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- See Also:
- Constant Field Values
-
-
Constructor Details
-
JoinGroupCall
public JoinGroupCall()Joins an active group call.Returns
GroupCallJoinResponse
-
JoinGroupCall
public JoinGroupCall(int groupCallId, TdApi.MessageSender participantId, TdApi.GroupCallPayload payload, int source, boolean isMuted, String inviteHash)Joins an active group call.Returns
GroupCallJoinResponse
- Parameters:
groupCallId
- int Group call identifier.participantId
- MessageSender Identifier of a group call participant, which will be used to join the call; voice chats only.payload
- GroupCallPayload Group join payload; received from tgcalls.source
- int Caller synchronization source identifier; received from tgcalls.isMuted
- boolean True, if the user's microphone is muted.inviteHash
- String If non-empty, invite hash to be used to join the group call without being muted by administrators.
-
JoinGroupCall
- Throws:
IOException
-
-
Method Details
-
getConstructor
public int getConstructor()- Specified by:
getConstructor
in classTdApi.Object
-
serialize
- Specified by:
serialize
in classTdApi.Object
- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-