Skip to content

Is it possible to retrieve a message from a channel by the message ID? #1196

Answered by recoverjp
recoverjp asked this question in Q&A
Discussion options

You must be logged in to vote

$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!

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by recoverjp
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants