1
0
mirror of https://github.com/InsanusMokrassar/TelegramBotAPI.git synced 2024-11-22 08:13:47 +00:00

add ContentMessage#hasProtectedContent

This commit is contained in:
InsanusMokrassar 2021-12-18 23:12:12 +06:00
parent dc89e914a1
commit 1e5ce6bb5c

View File

@ -5,4 +5,7 @@ import dev.inmo.tgbotapi.types.message.content.abstracts.MessageContent
interface ContentMessage<T: MessageContent>: Message {
val forwardable: Boolean
val content: T
val hasProtectedContent: Boolean
get() = forwardable
}