Method: stories.getStoryReactionsList
Get the reaction and interaction list of a story posted to a channel, along with the sender of each reaction.
Can only be used by channel admins.
Parameters:
Name | Type | Description | Required |
---|---|---|---|
forwards_first | Bool | If set, returns forwards and reposts first, then reactions, then other views; otherwise returns interactions sorted just by interaction date. | Optional |
peer | Username, chat ID, Update, Message or InputPeer | Channel | Optional |
id | int | Story ID | Optional |
reaction | Reaction | Get only reactions of this type | Optional |
offset | string | Offset for pagination (taken from the next_offset field of the returned stories.StoryReactionsList); empty in the first request. | Optional |
limit | int | Maximum number of results to return, see pagination | Optional |
Return type: stories.StoryReactionsList
Can bots use this method: NO
MadelineProto Example (now async for huge speed and parallelism!):
if (!file_exists('madeline.php')) {
copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php');
}
include 'madeline.php';
$MadelineProto = new \danog\MadelineProto\API('session.madeline');
$MadelineProto->start();
$stories_StoryReactionsList = $MadelineProto->stories->getStoryReactionsList(forwards_first: $Bool, peer: $InputPeer, id: $int, reaction: $Reaction, offset: 'string', limit: $int, );