messages.getUnreadMentions
Get unread messages where we were mentioned
Example
TL schema
Parameters
Name | Type | Description |
peer | Peer where to look for mentions | |
offset_id | ||
add_offset | ||
limit | Maximum number of results to return, see pagination | |
max_id | Maximum message ID to return, see pagination | |
min_id | Minimum message ID to return, see pagination |
Result
Possible errors
Code | Type | Description |
400 | CHANNEL_INVALID | The provided channel is invalid |
400 | CHANNEL_PRIVATE | You haven't joined this channel/supergroup |
400 | PEER_ID_INVALID | The provided peer id is invalid |
Can bots use this methd ?
yes
Related pages
How to fetch results from large lists of objects.
Last updated