channels.deleteHistory
Delete the history of a supergroup
Example
TL schema
Parameters
Name | Type | Description |
channel | Supergroup whose history must be deleted | |
max_id | ID of message up to which the history must be deleted |
Result
Possible errors
Code | Type | Description |
400 | CHANNEL_INVALID | The provided channel is invalid |
400 | CHANNEL_PRIVATE | You haven't joined this channel/supergroup |
Can bots use this methd ?
yes
Related pages
How to handle channels, supergroups, groups, and what's the difference between them.
Last updated