Package org.drinkless.tdlib
Class TdApi.InviteGroupCallParticipant
java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.Function<TdApi.InviteGroupCallParticipantResult>
org.drinkless.tdlib.TdApi.InviteGroupCallParticipant
- Enclosing class:
- TdApi
public static class TdApi.InviteGroupCallParticipant
extends TdApi.Function<TdApi.InviteGroupCallParticipantResult>
Invites a user to an active group call; for group calls not bound to a chat only. Sends a service message of the type messageGroupCall. The group call can have at most getOption("group_call_participant_count_max") participants.
Returns InviteGroupCallParticipantResult
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
Identifier uniquely determining type of the object.int
Group call identifier.boolean
Pass true if the group call is a video call.long
User identifier. -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor for a function, which invites a user to an active group call; for group calls not bound to a chat only.InviteGroupCallParticipant
(int groupCallId, long userId, boolean isVideo) Creates a function, which invites a user to an active group call; for group calls not bound to a chat only. -
Method Summary
Modifier and TypeMethodDescriptionint
Returns an identifier uniquely determining type of the object.Methods inherited from class org.drinkless.tdlib.TdApi.Function
toString
-
Field Details
-
groupCallId
public int groupCallIdGroup call identifier. -
userId
public long userIdUser identifier. -
isVideo
public boolean isVideoPass true if the group call is a video call. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
InviteGroupCallParticipant
public InviteGroupCallParticipant()Default constructor for a function, which invites a user to an active group call; for group calls not bound to a chat only. Sends a service message of the type messageGroupCall. The group call can have at most getOption("group_call_participant_count_max") participants.Returns
InviteGroupCallParticipantResult
-
InviteGroupCallParticipant
public InviteGroupCallParticipant(int groupCallId, long userId, boolean isVideo) Creates a function, which invites a user to an active group call; for group calls not bound to a chat only. Sends a service message of the type messageGroupCall. The group call can have at most getOption("group_call_participant_count_max") participants.Returns
InviteGroupCallParticipantResult
- Parameters:
groupCallId
- Group call identifier.userId
- User identifier.isVideo
- Pass true if the group call is a video call.
-
-
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
-