public static class TdApi.MessageChatSetBackground extends TdApi.MessageContent
| Modifier and Type | Field and Description |
|---|---|
TdApi.ChatBackground |
background
The new background.
|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
long |
oldBackgroundMessageId
Identifier of the message with a previously set same background; 0 if none.
|
boolean |
onlyForSelf
True, if the background was set only for self.
|
| Constructor and Description |
|---|
MessageChatSetBackground()
A new background was set in the chat.
|
MessageChatSetBackground(long oldBackgroundMessageId,
TdApi.ChatBackground background,
boolean onlyForSelf)
A new background was set in the chat.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic long oldBackgroundMessageId
public TdApi.ChatBackground background
public boolean onlyForSelf
public static final int CONSTRUCTOR
public MessageChatSetBackground()
public MessageChatSetBackground(long oldBackgroundMessageId,
TdApi.ChatBackground background,
boolean onlyForSelf)
oldBackgroundMessageId - Identifier of the message with a previously set same background; 0 if none. Can be an identifier of a deleted message.background - The new background.onlyForSelf - True, if the background was set only for self.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object