public static class TdApi.DeleteChatBackground extends TdApi.Function<TdApi.Ok>
Returns Ok
| Modifier and Type | Field and Description |
|---|---|
long |
chatId
Chat identifier.
|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
boolean |
restorePrevious
Pass true to restore previously set background.
|
| Constructor and Description |
|---|
DeleteChatBackground()
Default constructor for a function, which deletes background in a specific chat.
|
DeleteChatBackground(long chatId,
boolean restorePrevious)
Creates a function, which deletes background in a specific chat.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic long chatId
public boolean restorePrevious
public static final int CONSTRUCTOR
public DeleteChatBackground()
Returns Ok
public DeleteChatBackground(long chatId,
boolean restorePrevious)
Returns Ok
chatId - Chat identifier.restorePrevious - Pass true to restore previously set background. Can be used only in private and secret chats with non-deleted users if userFullInfo.setChatBackground == true. Supposed to be used from messageChatSetBackground messages with the currently set background that was set for both sides by the other user.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object