Package-level declarations

Functions

Link copied to clipboard
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