public static class TdApi.SetMessageFactCheck extends TdApi.Function<TdApi.Ok>
Returns Ok
| Modifier and Type | Field and Description |
|---|---|
long |
chatId
The channel chat the message belongs to.
|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
long |
messageId
Identifier of the message.
|
TdApi.FormattedText |
text
New text of the fact-check; 0-getOption("fact_check_length_max") characters; pass null to remove it.
|
| Constructor and Description |
|---|
SetMessageFactCheck()
Default constructor for a function, which changes the fact-check of a message.
|
SetMessageFactCheck(long chatId,
long messageId,
TdApi.FormattedText text)
Creates a function, which changes the fact-check of a message.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic long chatId
public long messageId
public TdApi.FormattedText text
public static final int CONSTRUCTOR
public SetMessageFactCheck()
Returns Ok
public SetMessageFactCheck(long chatId,
long messageId,
TdApi.FormattedText text)
Returns Ok
chatId - The channel chat the message belongs to.messageId - Identifier of the message.text - New text of the fact-check; 0-getOption("fact_check_length_max") characters; pass null to remove it. Only Bold, Italic, and TextUrl entities with https://t.me/ links are supported.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object