Skip to content

setMessageFactCheck

Function · TDLib 1.8.67 · d1085f9c

Changes the fact-check of a message. Can be only used if messageProperties.can_set_fact_check == true

setMessageFactCheck(
  chat_id: int53,
  message_id: int53,
  text: FormattedText
) → Ok

chat_id

int53

The channel chat the message belongs to

message_id

int53

Identifier of the message

text

FormattedText

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