|
I have the message ID saved in my database and I want to retrieve it from the channel. |
Answered by
recoverjp
Aug 10, 2022
Replies: 2 comments
|
I got it that way! |
0 replies
Answer selected by
recoverjp
|
Or you could use https://docs.madelineproto.xyz/API_docs/methods/channels.getMessages.html |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
$MadelineProto->messages->getHistory([ 'peer' => 'channel', 'offset_id' => $id, 'offset_date' => 0, 'add_offset' => -1, 'limit' => 1, 'max_id' => 0, 'min_id' => 0, 'hash' => 0 ]);I got it that way!