Skip to content

deleteDirectMessagesChatTopicMessagesByDate

Function · TDLib 1.8.67 · d1085f9c

Deletes all messages between the specified dates in the topic in a channel direct messages chat administered by the current user. Messages sent in the last 30 seconds will not be deleted

deleteDirectMessagesChatTopicMessagesByDate(
  chat_id: int53,
  topic_id: int53,
  min_date: int32,
  max_date: int32
) → Ok

chat_id

int53

Chat identifier of the channel direct messages chat

topic_id

int53

Identifier of the topic which messages will be deleted

min_date

int32

The minimum date of the messages to delete

max_date

int32

The maximum date of the messages to delete