TDLib v0.0.2 TDLib.Method.DeleteMessages View Source

Deletes messages. Returns object_ptr.

NameTypeDescription
chat_idstringChat identifier.
message_idsstring[]Identifiers of the messages to be deleted.
revokeboolPass true to try to delete outgoing messages for all chat members (may fail if messages are too old). Always true for supergroups, channels and secret chats.

More details on telegram’s documentation.