sameMessage

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

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(source)

Return

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


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