public static class TdApi.ToggleChatIsMarkedAsUnread extends TdApi.Function
Returns Ok
TdApi.Function.Constructors
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() |
toString
public 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()
getConstructor
in class TdApi.Function