Delete reference messages given the chatId where msgId is one of msgIds
chatId
msgId
msgIds
Get the reference message for the given peerId.
peerId
If more than one reference message is stored for the given peerId, the one with the highest msgId should be returned, but this is not really important.
Store a reference message
Delete reference messages given the
chatId
wheremsgId
is one ofmsgIds