Class TdApi.JoinGroupCall
java.lang.Object
dev.voroby.springframework.telegram.client.TdApi.Object
dev.voroby.springframework.telegram.client.TdApi.Function<TdApi.Text>
dev.voroby.springframework.telegram.client.TdApi.JoinGroupCall
- Enclosing class:
- TdApi
Joins an active group call. Returns join response payload for tgcalls.
Returns Text
-
Field Summary
Modifier and TypeFieldDescriptionint
Caller audio channel synchronization source identifier; received from tgcalls.static final int
Identifier uniquely determining type of the object.int
Group call identifier.If non-empty, invite hash to be used to join the group call without being muted by administrators.boolean
Pass true to join the call with muted microphone.boolean
Pass true if the user's video is enabled.Identifier of a group call participant, which will be used to join the call; pass null to join as self; video chats only.Group call join payload; received from tgcalls. -
Constructor Summary
ConstructorDescriptionDefault constructor for a function, which joins an active group call.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. -
Method Summary
Modifier and TypeMethodDescriptionint
Returns an identifier uniquely determining type of the object.Methods inherited from class dev.voroby.springframework.telegram.client.TdApi.Function
toString
-
Field Details
-
groupCallId
public int groupCallIdGroup 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
public int audioSourceIdCaller audio channel synchronization source identifier; received from tgcalls. -
payload
Group call join payload; received from tgcalls. -
isMuted
public boolean isMutedPass true to join the call with muted microphone. -
isMyVideoEnabled
public boolean isMyVideoEnabledPass 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. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
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
- Pass true to join the call with muted microphone.isMyVideoEnabled
- Pass 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.
-
-
Method Details
-
getConstructor
public int getConstructor()Description copied from class:TdApi.Object
Returns an identifier uniquely determining type of the object.- Specified by:
getConstructor
in classTdApi.Object
- Returns:
- this.CONSTRUCTOR
-