Get messages from PM or legacy group by their IDs. For channels, use getMessages.
Unlike getMessages, this method does not check if the message belongs to some chat.
Fot messages that were not found, null will be returned at that position.
null
Messages IDs
Optional
Whether the reply to a given message should be fetched (i.e. getMessages(msg.chat.id, msg.id, true).id === msg.replyToMessageId)
getMessages(msg.chat.id, msg.id, true).id === msg.replyToMessageId
Get messages from PM or legacy group by their IDs. For channels, use getMessages.
Unlike getMessages, this method does not check if the message belongs to some chat.
Fot messages that were not found,
null
will be returned at that position.