Package-level declarations

Functions

Link copied to clipboard
Link copied to clipboard
suspend fun TelegramBot.getChatGifts(chatId: ChatIdentifier, excludeUnsaved: Boolean = false, excludeSaved: Boolean = false, excludeUnlimited: Boolean = false, excludeLimitedUpgradable: Boolean = false, excludeLimitedNonUpgradable: Boolean = false, excludeFromBlockchain: Boolean = false, excludeUnique: Boolean = false, sortByPrice: Boolean = false, offset: String? = null, limit: Int? = null): OwnedGifts<OwnedGift.Common>
Link copied to clipboard
fun TelegramBot.getChatGiftsFlow(chatId: ChatIdentifier, excludeUnsaved: Boolean = false, excludeSaved: Boolean = false, excludeUnlimited: Boolean = false, excludeLimitedUpgradable: Boolean = false, excludeLimitedNonUpgradable: Boolean = false, excludeFromBlockchain: Boolean = false, excludeUnique: Boolean = false, sortByPrice: Boolean = false, initialOffset: String? = null, limit: Int? = null, onErrorContinueChecker: suspend (Throwable?) -> Boolean = { false }): Flow<OwnedGifts<OwnedGift.Common>>
Link copied to clipboard
suspend fun TelegramBot.getUserGifts(userId: UserId, excludeUnlimited: Boolean = false, excludeLimitedUpgradable: Boolean = false, excludeLimitedNonUpgradable: Boolean = false, excludeFromBlockchain: Boolean = false, excludeUnique: Boolean = false, sortByPrice: Boolean = false, offset: String? = null, limit: Int? = null): OwnedGifts<OwnedGift.Common>
Link copied to clipboard
fun TelegramBot.getUserGiftsFlow(userId: UserId, excludeUnlimited: Boolean = false, excludeLimitedUpgradable: Boolean = false, excludeLimitedNonUpgradable: Boolean = false, excludeFromBlockchain: Boolean = false, excludeUnique: Boolean = false, sortByPrice: Boolean = false, initialOffset: String? = null, limit: Int? = null, onErrorContinueChecker: suspend (Throwable?) -> Boolean = { false }): Flow<OwnedGifts<OwnedGift.Common>>
Link copied to clipboard
suspend fun TelegramBot.giftPremiumSubscription(userId: UserId, monthCount: Int, starCount: Int, textSources: TextSourcesList? = null): Boolean
suspend fun TelegramBot.giftPremiumSubscription(userId: UserId, monthCount: Int, starCount: Int, separator: TextSource? = null, textBuilder: EntitiesBuilderBody): Boolean
suspend fun TelegramBot.giftPremiumSubscription(userId: UserId, monthCount: Int, starCount: Int, text: String, parseMode: ParseMode? = null): Boolean
Link copied to clipboard
suspend fun TelegramBot.sendGift(userId: UserId, giftId: GiftId, textSources: TextSourcesList, upgradableToUnique: Boolean = false): Boolean
suspend fun TelegramBot.sendGift(userId: UserId, gift: Gift.Regular, text: String, parseMode: ParseMode?): Boolean
suspend fun TelegramBot.sendGift(user: User, giftId: GiftId, text: String, parseMode: ParseMode?): Boolean
suspend fun TelegramBot.sendGift(user: User, gift: Gift.Regular, text: String, parseMode: ParseMode?): Boolean
suspend fun TelegramBot.sendGift(userId: UserId, giftId: GiftId, text: String, parseMode: ParseMode?, upgradableToUnique: Boolean = false): Boolean
suspend fun TelegramBot.sendGift(userId: UserId, gift: Gift.Regular, text: String, parseMode: ParseMode?, upgradableToUnique: Boolean): Boolean
suspend fun TelegramBot.sendGift(user: User, giftId: GiftId, text: String, parseMode: ParseMode?, upgradableToUnique: Boolean): Boolean
suspend fun TelegramBot.sendGift(user: User, gift: Gift.Regular, text: String, parseMode: ParseMode?, upgradableToUnique: Boolean): Boolean
Link copied to clipboard
suspend fun TelegramBot.sendGiftToChat(chatId: ChatIdentifier, giftId: GiftId, textSources: TextSourcesList, upgradableToUnique: Boolean = false): Boolean
suspend fun TelegramBot.sendGiftToChat(chatId: ChatIdentifier, gift: Gift.Regular, text: String, parseMode: ParseMode?): Boolean
suspend fun TelegramBot.sendGiftToChat(chat: PublicChat, giftId: GiftId, text: String, parseMode: ParseMode?): Boolean
suspend fun TelegramBot.sendGiftToChat(chat: PublicChat, gift: Gift.Regular, text: String, parseMode: ParseMode?): Boolean
suspend fun TelegramBot.sendGiftToChat(chatId: ChatIdentifier, giftId: GiftId, text: String, parseMode: ParseMode?, upgradableToUnique: Boolean = false): Boolean
suspend fun TelegramBot.sendGiftToChat(chatId: ChatIdentifier, gift: Gift.Regular, text: String, parseMode: ParseMode?, upgradableToUnique: Boolean): Boolean
suspend fun TelegramBot.sendGiftToChat(chat: PublicChat, giftId: GiftId, text: String, parseMode: ParseMode?, upgradableToUnique: Boolean): Boolean
suspend fun TelegramBot.sendGiftToChat(chat: PublicChat, gift: Gift.Regular, text: String, parseMode: ParseMode?, upgradableToUnique: Boolean): Boolean