messages.GetUnreadMentions
- class pyrogram.raw.functions.messages.GetUnreadMentions
Get unread messages where we were mentioned
- Details:
Layer:
223ID:
F107E790
- Parameters:
peer (
InputPeer) – Peer where to look for mentionsoffset_id (
int32-bit) – Offsets for pagination, for more info click hereadd_offset (
int32-bit) – Offsets for pagination, for more info click herelimit (
int32-bit) – Maximum number of results to return, see paginationmax_id (
int32-bit) – Maximum message ID to return, see paginationmin_id (
int32-bit) – Minimum message ID to return, see paginationtop_msg_id (
int32-bit, optional) – If set, considers only messages within the specified forum topic
- Returns:
TL Schema
messages.getUnreadMentions#f107e790
flags:#
peer:InputPeer
top_msg_id:flags.0?int
offset_id:int
add_offset:int
limit:int
max_id:int
min_id:int
= messages.Messages
Parameter Tree
GetUnreadMentions
├── peer →
InputPeer│ ├──
InputPeerEmpty│ ├──
InputPeerSelf│ ├──
InputPeerChat│ │ └── chat_id →
long│ ├──
InputPeerUser│ │ ├── user_id →
long│ │ └── access_hash →
long│ ├──
InputPeerChannel│ │ ├── channel_id →
long│ │ └── access_hash →
long│ ├──
InputPeerUserFromMessage│ │ ├── peer →
InputPeer│ │ │ ├──
InputPeerEmpty│ │ │ ├──
InputPeerSelf│ │ │ ├──
InputPeerChat│ │ │ ├──
InputPeerUser│ │ │ ├──
InputPeerChannel│ │ │ ├──
InputPeerUserFromMessage│ │ │ └──
InputPeerChannelFromMessage│ │ ├── msg_id →
int│ │ └── user_id →
long│ ├── peer →
InputPeer│ │ ├──
InputPeerEmpty│ │ ├──
InputPeerSelf│ │ ├──
InputPeerChat│ │ ├──
InputPeerUser│ │ ├──
InputPeerChannel│ │ ├──
InputPeerUserFromMessage│ │ └──
InputPeerChannelFromMessage│ ├── msg_id →
int│ └── channel_id →
long├── top_msg_id →
int (optional)├── offset_id →
int├── add_offset →
int├── limit →
int├── max_id →
int└── min_id →
intExample
await app.invoke(
GetUnreadMentions(
peer=await app.resolve_peer(chat_id),
top_msg_id=0,
offset_id=0,
add_offset=0,
limit=0,
max_id=0,
min_id=0,
)
)