Package dev.inmo.tgbotapi.extensions.utils.extensions

Functions

download
Link copied to clipboard
common
suspend fun PathedFile.download(telegramAPIUrlsKeeper: TelegramAPIUrlsKeeper, client: HttpClient = HttpClient()): ByteArray
loadFile
Link copied to clipboard
common
suspend fun HttpClient.loadFile(telegramAPIUrlsKeeper: TelegramAPIUrlsKeeper, pathedFile: PathedFile): ByteArray
suspend fun HttpClient.loadFile(telegramAPIUrlsKeeper: TelegramAPIUrlsKeeper, filePath: String): ByteArray
sourceChat
Link copied to clipboard
common
fun Update.sourceChat(): Chat?

Properties

allSentMediaGroupsFlow
Link copied to clipboard
common
val FlowsUpdatesFilter.allSentMediaGroupsFlow: Flow<SentMediaGroupUpdate>
allSentMessagesFlow
Link copied to clipboard
common
val FlowsUpdatesFilter.allSentMessagesFlow: Flow<BaseSentMessageUpdate>