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

refactoring of dependencies in content abstracts

This commit is contained in:
InsanusMokrassar 2019-01-17 10:43:08 +08:00
parent 5d8170e7e4
commit 9f8db42981
2 changed files with 2 additions and 2 deletions

View File

@ -2,6 +2,6 @@ package com.github.insanusmokrassar.TelegramBotAPI.types.message.content.abstrac
import com.github.insanusmokrassar.TelegramBotAPI.types.files.abstracts.TelegramMediaFile import com.github.insanusmokrassar.TelegramBotAPI.types.files.abstracts.TelegramMediaFile
interface MediaCollectionContent<T: TelegramMediaFile>: MessageContent, ResendableContent { interface MediaCollectionContent<T: TelegramMediaFile>: MessageContent {
val media: List<T> val media: List<T>
} }

View File

@ -2,6 +2,6 @@ package com.github.insanusmokrassar.TelegramBotAPI.types.message.content.abstrac
import com.github.insanusmokrassar.TelegramBotAPI.types.files.abstracts.TelegramMediaFile import com.github.insanusmokrassar.TelegramBotAPI.types.files.abstracts.TelegramMediaFile
interface MediaContent<T: TelegramMediaFile>: MessageContent, ResendableContent { interface MediaContent<T: TelegramMediaFile>: MessageContent {
val media: T val media: T
} }