stories.GetStoryReactionsList
- class pyrogram.raw.functions.stories.GetStoryReactionsList
Get the reaction and interaction list of a story posted to a channel, along with the sender of each reaction.
- Details:
Layer:
223ID:
B9B2881F
- Parameters:
peer (
InputPeer) – Channelid (
int32-bit) – Story IDlimit (
int32-bit) – Maximum number of results to return, see paginationforwards_first (
bool, optional) – If set, returns forwards and reposts first, then reactions, then other views; otherwise returns interactions sorted just by interaction date.reaction (
Reaction, optional) – Get only reactions of this typeoffset (
str, optional) – Offset for pagination (taken from the next_offset field of the returned stories.StoryReactionsList); empty in the first request.
- Returns:
TL Schema
stories.getStoryReactionsList#b9b2881f
flags:#
forwards_first:flags.2?true
peer:InputPeer
id:int
reaction:flags.0?Reaction
offset:flags.1?string
limit:int
= stories.StoryReactionsList
Parameter Tree
GetStoryReactionsList
├── forwards_first →
true (optional)├── 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├── id →
int├── reaction →
Reaction (optional)│ ├──
ReactionEmpty│ ├──
ReactionEmoji│ │ └── emoticon →
string│ ├──
ReactionCustomEmoji│ │ └── document_id →
long│ └──
ReactionPaid├── offset →
string (optional)└── limit →
intExample
await app.invoke(
GetStoryReactionsList(
forwards_first=None,
peer=await app.resolve_peer(chat_id),
id=0,
reaction=ReactionEmpty(),
offset="text",
limit=0,
)
)