sameMessage

inline fun Message.sameMessage(chatId: ChatIdentifier, messageId: MessageId): Boolean

Return

true in case if this message is from the same chat (with id == chatId) and this equal messageId identifier


inline fun Message.sameMessage(chat: Chat, messageId: MessageId): Boolean

Return

true in case if this message is from the same chat and this equal messageId identifier


inline fun Message.sameMessage(other: Message): Boolean

Return

true in case if this message is the same as other. The same here means that these messages from one chat and have equal Message.messageId identifier