Method: messages.getUnreadMentions
Back to methods index
Get unread messages where we were mentioned
Parameters:
Can bots use this method:
NO
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
();
$messages_Messages
=
$MadelineProto
->
messages
->
getUnreadMentions
(
peer
:
$InputPeer
,
top_msg_id
:
$int
,
offset_id
:
$int
,
add_offset
:
$int
,
limit
:
$int
,
max_id
:
$int
,
min_id
:
$int
,
);