Package dev.inmo.tgbotapi.extensions.api.stickers

Functions

addAnimatedStickerToSet
Link copied to clipboard
common
suspend fun TelegramBot.addAnimatedStickerToSet(userId: UserId, stickerSet: StickerSet, sticker: FileId, emojis: String, maskPosition: MaskPosition? = null): Boolean
suspend fun TelegramBot.addAnimatedStickerToSet(userId: UserId, stickerSet: StickerSet, sticker: MultipartFile, emojis: String, maskPosition: MaskPosition? = null): Boolean
suspend fun TelegramBot.addAnimatedStickerToSet(userId: UserId, stickerSetName: String, sticker: FileId, emojis: String, maskPosition: MaskPosition? = null): Boolean
suspend fun TelegramBot.addAnimatedStickerToSet(userId: UserId, stickerSetName: String, sticker: MultipartFile, emojis: String, maskPosition: MaskPosition? = null): Boolean
suspend fun TelegramBot.addAnimatedStickerToSet(user: CommonUser, stickerSet: StickerSet, sticker: FileId, emojis: String, maskPosition: MaskPosition? = null): Boolean
suspend fun TelegramBot.addAnimatedStickerToSet(user: CommonUser, stickerSet: StickerSet, sticker: MultipartFile, emojis: String, maskPosition: MaskPosition? = null): Boolean
suspend fun TelegramBot.addAnimatedStickerToSet(user: CommonUser, stickerSetName: String, sticker: FileId, emojis: String, maskPosition: MaskPosition? = null): Boolean
suspend fun TelegramBot.addAnimatedStickerToSet(user: CommonUser, stickerSetName: String, sticker: MultipartFile, emojis: String, maskPosition: MaskPosition? = null): Boolean
addStaticStickerToSet
Link copied to clipboard
common
suspend fun TelegramBot.addStaticStickerToSet(userId: UserId, stickerSet: StickerSet, sticker: FileId, emojis: String, maskPosition: MaskPosition? = null): Boolean
suspend fun TelegramBot.addStaticStickerToSet(userId: UserId, stickerSet: StickerSet, sticker: MultipartFile, emojis: String, maskPosition: MaskPosition? = null): Boolean
suspend fun TelegramBot.addStaticStickerToSet(userId: UserId, stickerSetName: String, sticker: FileId, emojis: String, maskPosition: MaskPosition? = null): Boolean
suspend fun TelegramBot.addStaticStickerToSet(userId: UserId, stickerSetName: String, sticker: MultipartFile, emojis: String, maskPosition: MaskPosition? = null): Boolean
suspend fun TelegramBot.addStaticStickerToSet(user: CommonUser, stickerSet: StickerSet, sticker: FileId, emojis: String, maskPosition: MaskPosition? = null): Boolean
suspend fun TelegramBot.addStaticStickerToSet(user: CommonUser, stickerSet: StickerSet, sticker: MultipartFile, emojis: String, maskPosition: MaskPosition? = null): Boolean
suspend fun TelegramBot.addStaticStickerToSet(user: CommonUser, stickerSetName: String, sticker: FileId, emojis: String, maskPosition: MaskPosition? = null): Boolean
suspend fun TelegramBot.addStaticStickerToSet(user: CommonUser, stickerSetName: String, sticker: MultipartFile, emojis: String, maskPosition: MaskPosition? = null): Boolean
createNewAnimatedStickerSet
Link copied to clipboard
common
suspend fun TelegramBot.createNewAnimatedStickerSet(userId: UserId, name: String, sticker: FileId, emojis: String, containsMasks: Boolean? = null, maskPosition: MaskPosition? = null): Boolean
suspend fun TelegramBot.createNewAnimatedStickerSet(userId: UserId, name: String, sticker: MultipartFile, emojis: String, containsMasks: Boolean? = null, maskPosition: MaskPosition? = null): Boolean
suspend fun TelegramBot.createNewAnimatedStickerSet(user: CommonUser, name: String, sticker: FileId, emojis: String, containsMasks: Boolean? = null, maskPosition: MaskPosition? = null): Boolean
suspend fun TelegramBot.createNewAnimatedStickerSet(user: CommonUser, name: String, sticker: MultipartFile, emojis: String, containsMasks: Boolean? = null, maskPosition: MaskPosition? = null): Boolean
createNewStaticStickerSet
Link copied to clipboard
common
suspend fun TelegramBot.createNewStaticStickerSet(userId: UserId, name: String, sticker: FileId, emojis: String, containsMasks: Boolean? = null, maskPosition: MaskPosition? = null): Boolean
suspend fun TelegramBot.createNewStaticStickerSet(userId: UserId, name: String, sticker: MultipartFile, emojis: String, containsMasks: Boolean? = null, maskPosition: MaskPosition? = null): Boolean
suspend fun TelegramBot.createNewStaticStickerSet(user: CommonUser, name: String, sticker: FileId, emojis: String, containsMasks: Boolean? = null, maskPosition: MaskPosition? = null): Boolean
suspend fun TelegramBot.createNewStaticStickerSet(user: CommonUser, name: String, sticker: MultipartFile, emojis: String, containsMasks: Boolean? = null, maskPosition: MaskPosition? = null): Boolean
deleteStickerFromSet
Link copied to clipboard
common
suspend fun TelegramBot.deleteStickerFromSet(sticker: FileId): Boolean
suspend fun TelegramBot.deleteStickerFromSet(sticker: Sticker): Boolean
setStickerPositionInSet
Link copied to clipboard
common
suspend fun TelegramBot.setStickerPositionInSet(sticker: FileId, position: Int): Boolean
suspend fun TelegramBot.setStickerPositionInSet(sticker: Sticker, position: Int): Boolean
uploadStickerFile
Link copied to clipboard
common
suspend fun TelegramBot.uploadStickerFile(userId: UserId, sticker: MultipartFile): File
suspend fun TelegramBot.uploadStickerFile(user: CommonUser, sticker: MultipartFile): File