public static class TdApi.SetDefaultMessageAutoDeleteTime extends TdApi.Function<TdApi.Ok>
Returns Ok
| Modifier and Type | Field and Description |
|---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
TdApi.MessageAutoDeleteTime |
messageAutoDeleteTime
New default message auto-delete time; must be from 0 up to 365 * 86400 and be divisible by 86400.
|
| Constructor and Description |
|---|
SetDefaultMessageAutoDeleteTime()
Default constructor for a function, which changes the default message auto-delete time for new chats.
|
SetDefaultMessageAutoDeleteTime(TdApi.MessageAutoDeleteTime messageAutoDeleteTime)
Creates a function, which changes the default message auto-delete time for new chats.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic TdApi.MessageAutoDeleteTime messageAutoDeleteTime
public static final int CONSTRUCTOR
public SetDefaultMessageAutoDeleteTime()
Returns Ok
public SetDefaultMessageAutoDeleteTime(TdApi.MessageAutoDeleteTime messageAutoDeleteTime)
Returns Ok
messageAutoDeleteTime - New default message auto-delete time; 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