Package-level declarations

Functions

Link copied to clipboard
suspend fun TelegramBot.addStickerToSet(userId: UserId, stickerSetName: StickerSetName, inputSticker: InputSticker): Boolean
suspend fun TelegramBot.addStickerToSet(userId: UserId, stickerSet: StickerSet, sticker: InputSticker): Boolean
suspend fun TelegramBot.addStickerToSet(userId: UserId, stickerSetName: String, inputSticker: InputSticker): Boolean
suspend fun TelegramBot.addStickerToSet(user: CommonUser, stickerSet: StickerSet, sticker: InputSticker): Boolean
suspend fun TelegramBot.addStickerToSet(userId: UserId, stickerSet: StickerSet, sticker: InputFile, format: StickerFormat, emojis: List<String>, maskPosition: MaskPosition? = null): Boolean
suspend fun TelegramBot.addStickerToSet(userId: UserId, stickerSet: StickerSet, sticker: InputFile, format: StickerFormat, emojis: List<String>, keywords: List<String> = emptyList()): Boolean
suspend fun TelegramBot.addStickerToSet(user: CommonUser, stickerSet: StickerSet, sticker: InputFile, format: StickerFormat, emojis: List<String>, maskPosition: MaskPosition? = null): Boolean
suspend fun TelegramBot.addStickerToSet(user: CommonUser, stickerSet: StickerSet, sticker: InputFile, format: StickerFormat, emojis: List<String>, keywords: List<String> = emptyList()): Boolean
Link copied to clipboard
suspend fun TelegramBot.createNewStickerSet(userId: UserId, name: String, title: String, stickers: List<InputSticker>, needsRepainting: Boolean = false): Boolean
suspend fun TelegramBot.createNewStickerSet(user: CommonUser, name: String, title: String, stickers: List<InputSticker>, needsRepainting: Boolean = false): Boolean
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
suspend fun TelegramBot.replaceStickerInSet(userId: UserId, stickerSetName: StickerSetName, oldSticker: FileId, newSticker: InputSticker): Boolean
suspend fun TelegramBot.replaceStickerInSet(userId: UserId, stickerSet: StickerSet, oldSticker: FileId, newSticker: InputSticker): Boolean
suspend fun TelegramBot.replaceStickerInSet(userId: UserId, stickerSetName: String, oldSticker: FileId, newSticker: InputSticker): Boolean
suspend fun TelegramBot.replaceStickerInSet(user: CommonUser, stickerSet: StickerSet, oldSticker: FileId, newSticker: InputSticker): Boolean
suspend fun TelegramBot.replaceStickerInSet(userId: UserId, stickerSet: StickerSet, oldSticker: FileId, sticker: InputFile, format: StickerFormat, emojis: List<String>, maskPosition: MaskPosition? = null): Boolean
suspend fun TelegramBot.replaceStickerInSet(userId: UserId, stickerSet: StickerSet, oldSticker: FileId, sticker: InputFile, format: StickerFormat, emojis: List<String>, keywords: List<String> = emptyList()): Boolean
suspend fun TelegramBot.replaceStickerInSet(user: CommonUser, stickerSet: StickerSet, oldSticker: FileId, sticker: InputFile, format: StickerFormat, emojis: List<String>, maskPosition: MaskPosition? = null): Boolean
suspend fun TelegramBot.replaceStickerInSet(user: CommonUser, stickerSet: StickerSet, oldSticker: FileId, sticker: InputFile, format: StickerFormat, emojis: List<String>, keywords: List<String> = emptyList()): Boolean
Link copied to clipboard
suspend fun TelegramBot.setStickerEmojiList(sticker: FileId, emojis: List<String>): Boolean
suspend fun TelegramBot.setStickerEmojiList(sticker: Sticker, vararg emojis: String): Boolean
Link copied to clipboard
suspend fun TelegramBot.setStickerKeywords(sticker: FileId, keywords: List<String>): Boolean
suspend fun TelegramBot.setStickerKeywords(sticker: Sticker, vararg keywords: String): Boolean
Link copied to clipboard
suspend fun TelegramBot.setStickerMaskPosition(sticker: FileId, maskPosition: MaskPosition): Boolean
Link copied to clipboard
suspend fun TelegramBot.setStickerPositionInSet(sticker: FileId, position: Int): Boolean
suspend fun TelegramBot.setStickerPositionInSet(sticker: Sticker, position: Int): Boolean
Link copied to clipboard
suspend fun TelegramBot.setStickerSetTitle(sticker: Sticker, title: String): Boolean
suspend fun TelegramBot.setStickerSetTitle(stickerSet: StickerSet, title: String): Boolean
Link copied to clipboard
suspend fun TelegramBot.uploadStickerFile(userId: UserId, sticker: MultipartFile, stickerFormat: StickerFormat): File
suspend fun TelegramBot.uploadStickerFile(user: CommonUser, sticker: MultipartFile, stickerFormat: StickerFormat): File