Skip to content

deleteChat

Function · TDLib 1.8.67 · d1085f9c

Deletes a chat along with all messages in the corresponding chat for all chat members. For group chats this will release the usernames and remove all members. Use the field chat.can_be_deleted_for_all_users to find whether the method can be applied to the chat

deleteChat(
  chat_id: int53
) → Ok

chat_id

int53

Chat identifier