Package it.tdlight.jni
Class TdApi.CreateNewBasicGroupChat
java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.Function
it.tdlight.jni.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 int
CONSTRUCTOR
String
title
Title of the new basic group; 1-128 characters.int[]
userIds
Identifiers of users to be added to the basic group. -
Constructor Summary
Constructors Constructor Description CreateNewBasicGroupChat()
Creates a new basic group and sends a corresponding messageBasicGroupChatCreate.CreateNewBasicGroupChat(int[] userIds, String title)
Creates a new basic group and sends a corresponding messageBasicGroupChatCreate.CreateNewBasicGroupChat(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
-
userIds
public int[] userIdsIdentifiers of users to be added to the basic group. -
title
Title of the new basic group; 1-128 characters. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
- Constant Field Values
-
-
Constructor Details
-
CreateNewBasicGroupChat
public CreateNewBasicGroupChat()Creates a new basic group and sends a corresponding messageBasicGroupChatCreate. Returns the newly created chat.Returns
Chat
-
CreateNewBasicGroupChat
Creates a new basic group and sends a corresponding messageBasicGroupChatCreate. Returns the newly created chat.Returns
Chat
- Parameters:
userIds
- int[] Identifiers of users to be added to the basic group.title
- String Title of the new basic group; 1-128 characters.
-
CreateNewBasicGroupChat
- 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()
-