MadelineProtoDocs/docs/API_docs/methods/messages.getMessageReadParticipants.md
2024-05-01 14:53:46 +02:00

2.2 KiB

title description grand_parent parent image redirect_from
messages.getMessageReadParticipants Get which users read a specific message: only available for groups and supergroups with less than [`chat_read_mark_size_threshold` members](https://core.telegram.org/api/config#chat-read-mark-size-threshold), read receipts will be stored for [`chat_read_mark_expire_period` seconds after the message was sent](https://core.telegram.org/api/config#chat-read-mark-expire-period), see [client configuration for more info »](https://core.telegram.org/api/config#client-configuration). Telegram RPC API Methods https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png /API_docs/methods/messages_getMessageReadParticipants.html

Method: messages.getMessageReadParticipants

Back to methods index

Get which users read a specific message: only available for groups and supergroups with less than chat_read_mark_size_threshold members, read receipts will be stored for chat_read_mark_expire_period seconds after the message was sent, see client configuration for more info ».

Parameters:

Name Type Description Required
peer Username, chat ID, Update, Message or InputPeer Dialog Optional
msg_id int Message ID Optional

Return type: Vector_of_ReadParticipantDate

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();

$Vector_of_ReadParticipantDate = $MadelineProto->messages->getMessageReadParticipants(peer: $InputPeer, msg_id: $int, );