Package org.drinkless.tdlib
Class TdApi.CreateNewBasicGroupChat
- java.lang.Object
-
- org.drinkless.tdlib.TdApi.Object
-
- org.drinkless.tdlib.TdApi.Function
-
- org.drinkless.tdlib.TdApi.CreateNewBasicGroupChat
-
- Enclosing class:
- TdApi
public static class TdApi.CreateNewBasicGroupChat extends TdApi.Function
Creates a new basic group and sends a corresponding messageBasicGroupChatCreate. Returns the newly created chat.Returns
Chat
-
-
Field Summary
Fields Modifier and Type Field Description static intCONSTRUCTORIdentifier uniquely determining type of the object.StringtitleTitle of the new basic group; 1-128 characters.long[]userIdsIdentifiers of users to be added to the basic group.
-
Constructor Summary
Constructors Constructor Description CreateNewBasicGroupChat()Default constructor for a function, which creates a new basic group and sends a corresponding messageBasicGroupChatCreate.CreateNewBasicGroupChat(long[] userIds, String title)Creates a function, which creates a new basic group and sends a corresponding messageBasicGroupChatCreate.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetConstructor()-
Methods inherited from class org.drinkless.tdlib.TdApi.Function
toString
-
-
-
-
Field Detail
-
userIds
public long[] userIds
Identifiers of users to be added to the basic group.
-
title
public String title
Title of the new basic group; 1-128 characters.
-
CONSTRUCTOR
public static final int CONSTRUCTOR
Identifier uniquely determining type of the object.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
CreateNewBasicGroupChat
public CreateNewBasicGroupChat()
Default constructor for a function, which creates a new basic group and sends a corresponding messageBasicGroupChatCreate. Returns the newly created chat.Returns
Chat
-
CreateNewBasicGroupChat
public CreateNewBasicGroupChat(long[] userIds, String title)Creates a function, which creates a new basic group and sends a corresponding messageBasicGroupChatCreate. Returns the newly created chat.Returns
Chat- Parameters:
userIds- Identifiers of users to be added to the basic group.title- Title of the new basic group; 1-128 characters.
-
-
Method Detail
-
getConstructor
public int getConstructor()
- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-
-