Skip to content

editMessageChecklist

Function · TDLib 1.8.67 · d1085f9c

Edits the message content of a checklist. Returns the edited message after the edit is completed on the server side

editMessageChecklist(
  chat_id: int53,
  message_id: int53,
  reply_markup: ReplyMarkup,
  checklist: InputChecklist
) → Message

chat_id

int53

The chat the message belongs to

message_id

int53

Identifier of the message. Use messageProperties.can_be_edited to check whether the message can be edited

reply_markup

ReplyMarkup

The new message reply markup; pass null if none; for bots only

checklist

InputChecklist

The new checklist. If some tasks were completed, this information will be kept