public static class TdApi.ToggleChatIsMarkedAsUnread 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 |
isMarkedAsUnread
New value of isMarkedAsUnread.
|
| Constructor and Description |
|---|
ToggleChatIsMarkedAsUnread()
Default constructor for a function, which changes the marked as unread state of a chat.
|
ToggleChatIsMarkedAsUnread(long chatId,
boolean isMarkedAsUnread)
Creates a function, which changes the marked as unread state of a chat.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic long chatId
public boolean isMarkedAsUnread
public static final int CONSTRUCTOR
public ToggleChatIsMarkedAsUnread()
Returns Ok
public ToggleChatIsMarkedAsUnread(long chatId,
boolean isMarkedAsUnread)
Returns Ok
chatId - Chat identifier.isMarkedAsUnread - New value of isMarkedAsUnread.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object