mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI.git
synced 2024-12-23 00:57:13 +00:00
add ContentMessage#hasProtectedContent
This commit is contained in:
parent
dc89e914a1
commit
1e5ce6bb5c
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user