public static class TdApi.CreateNewBasicGroupChat extends TdApi.Function<TdApi.CreatedBasicGroupChat>
Returns CreatedBasicGroupChat
| Modifier and Type | Field and Description |
|---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
int |
messageAutoDeleteTime
Message auto-delete time value, in seconds; must be from 0 up to 365 * 86400 and be divisible by 86400.
|
java.lang.String |
title
Title of the new basic group; 1-128 characters.
|
long[] |
userIds
Identifiers of users to be added to the basic group; may be empty to create a basic group without other members.
|
| Constructor and Description |
|---|
CreateNewBasicGroupChat()
Default constructor for a function, which creates a new basic group and sends a corresponding messageBasicGroupChatCreate.
|
CreateNewBasicGroupChat(long[] userIds,
java.lang.String title,
int messageAutoDeleteTime)
Creates a function, which creates a new basic group and sends a corresponding messageBasicGroupChatCreate.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic long[] userIds
public java.lang.String title
public int messageAutoDeleteTime
public static final int CONSTRUCTOR
public CreateNewBasicGroupChat()
Returns CreatedBasicGroupChat
public CreateNewBasicGroupChat(long[] userIds,
java.lang.String title,
int messageAutoDeleteTime)
Returns CreatedBasicGroupChat
userIds - Identifiers of users to be added to the basic group; may be empty to create a basic group without other members.title - Title of the new basic group; 1-128 characters.messageAutoDeleteTime - Message auto-delete time value, in seconds; must be from 0 up to 365 * 86400 and be divisible by 86400. If 0, then messages aren't deleted automatically.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object