mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI.git
synced 2024-11-21 15:53:47 +00:00
refactoring of dependencies in content abstracts
This commit is contained in:
parent
5d8170e7e4
commit
9f8db42981
@ -2,6 +2,6 @@ package com.github.insanusmokrassar.TelegramBotAPI.types.message.content.abstrac
|
||||
|
||||
import com.github.insanusmokrassar.TelegramBotAPI.types.files.abstracts.TelegramMediaFile
|
||||
|
||||
interface MediaCollectionContent<T: TelegramMediaFile>: MessageContent, ResendableContent {
|
||||
interface MediaCollectionContent<T: TelegramMediaFile>: MessageContent {
|
||||
val media: List<T>
|
||||
}
|
||||
|
@ -2,6 +2,6 @@ package com.github.insanusmokrassar.TelegramBotAPI.types.message.content.abstrac
|
||||
|
||||
import com.github.insanusmokrassar.TelegramBotAPI.types.files.abstracts.TelegramMediaFile
|
||||
|
||||
interface MediaContent<T: TelegramMediaFile>: MessageContent, ResendableContent {
|
||||
interface MediaContent<T: TelegramMediaFile>: MessageContent {
|
||||
val media: T
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user