delete_message

Delete a message

async with client.connect('TOKEN') as chat2:
    await chat2.delete_message('CHAT_ID', ['TURN_IDS'])

chat_id [str]

Unique ID for character history

turn_ids [list]

List of message IDs that you want to delete, you can delete 1 message, but the line must be in the list

token [str] (optional)

You can set a specific token for the function, it will be executed from the specified token

Last updated