docs / com.github.insanusmokrassar.TelegramBotAPI.extensions.api.stickers

Package com.github.insanusmokrassar.TelegramBotAPI.extensions.api.stickers

Functions

(common)

addAnimatedStickerToSet

suspend fun RequestsExecutor.addAnimatedStickerToSet(userId: UserId, stickerSetName: String, sticker: FileId, emojis: String, maskPosition: MaskPosition? = null): Boolean
suspend fun RequestsExecutor.addAnimatedStickerToSet(userId: UserId, stickerSetName: String, sticker: MultipartFile, emojis: String, maskPosition: MaskPosition? = null): Boolean
suspend fun RequestsExecutor.addAnimatedStickerToSet(user: CommonUser, stickerSetName: String, sticker: FileId, emojis: String, maskPosition: MaskPosition? = null): Boolean
suspend fun RequestsExecutor.addAnimatedStickerToSet(user: CommonUser, stickerSetName: String, sticker: MultipartFile, emojis: String, maskPosition: MaskPosition? = null): Boolean
suspend fun RequestsExecutor.addAnimatedStickerToSet(userId: UserId, stickerSet: StickerSet, sticker: FileId, emojis: String, maskPosition: MaskPosition? = null): Boolean
suspend fun RequestsExecutor.addAnimatedStickerToSet(userId: UserId, stickerSet: StickerSet, sticker: MultipartFile, emojis: String, maskPosition: MaskPosition? = null): Boolean
suspend fun RequestsExecutor.addAnimatedStickerToSet(user: CommonUser, stickerSet: StickerSet, sticker: FileId, emojis: String, maskPosition: MaskPosition? = null): Boolean
suspend fun RequestsExecutor.addAnimatedStickerToSet(user: CommonUser, stickerSet: StickerSet, sticker: MultipartFile, emojis: String, maskPosition: MaskPosition? = null): Boolean
(common)

addStaticStickerToSet

suspend fun RequestsExecutor.addStaticStickerToSet(userId: UserId, stickerSetName: String, sticker: FileId, emojis: String, maskPosition: MaskPosition? = null): Boolean
suspend fun RequestsExecutor.addStaticStickerToSet(userId: UserId, stickerSetName: String, sticker: MultipartFile, emojis: String, maskPosition: MaskPosition? = null): Boolean
suspend fun RequestsExecutor.addStaticStickerToSet(user: CommonUser, stickerSetName: String, sticker: FileId, emojis: String, maskPosition: MaskPosition? = null): Boolean
suspend fun RequestsExecutor.addStaticStickerToSet(user: CommonUser, stickerSetName: String, sticker: MultipartFile, emojis: String, maskPosition: MaskPosition? = null): Boolean
suspend fun RequestsExecutor.addStaticStickerToSet(userId: UserId, stickerSet: StickerSet, sticker: FileId, emojis: String, maskPosition: MaskPosition? = null): Boolean
suspend fun RequestsExecutor.addStaticStickerToSet(userId: UserId, stickerSet: StickerSet, sticker: MultipartFile, emojis: String, maskPosition: MaskPosition? = null): Boolean
suspend fun RequestsExecutor.addStaticStickerToSet(user: CommonUser, stickerSet: StickerSet, sticker: FileId, emojis: String, maskPosition: MaskPosition? = null): Boolean
suspend fun RequestsExecutor.addStaticStickerToSet(user: CommonUser, stickerSet: StickerSet, sticker: MultipartFile, emojis: String, maskPosition: MaskPosition? = null): Boolean
(common)

createNewAnimatedStickerSet

suspend fun RequestsExecutor.createNewAnimatedStickerSet(userId: UserId, name: String, sticker: FileId, emojis: String, containsMasks: Boolean? = null, maskPosition: MaskPosition? = null): Boolean
suspend fun RequestsExecutor.createNewAnimatedStickerSet(userId: UserId, name: String, sticker: MultipartFile, emojis: String, containsMasks: Boolean? = null, maskPosition: MaskPosition? = null): Boolean
suspend fun RequestsExecutor.createNewAnimatedStickerSet(user: CommonUser, name: String, sticker: FileId, emojis: String, containsMasks: Boolean? = null, maskPosition: MaskPosition? = null): Boolean
suspend fun RequestsExecutor.createNewAnimatedStickerSet(user: CommonUser, name: String, sticker: MultipartFile, emojis: String, containsMasks: Boolean? = null, maskPosition: MaskPosition? = null): Boolean
(common)

createNewStaticStickerSet

suspend fun RequestsExecutor.createNewStaticStickerSet(userId: UserId, name: String, sticker: FileId, emojis: String, containsMasks: Boolean? = null, maskPosition: MaskPosition? = null): Boolean
suspend fun RequestsExecutor.createNewStaticStickerSet(userId: UserId, name: String, sticker: MultipartFile, emojis: String, containsMasks: Boolean? = null, maskPosition: MaskPosition? = null): Boolean
suspend fun RequestsExecutor.createNewStaticStickerSet(user: CommonUser, name: String, sticker: FileId, emojis: String, containsMasks: Boolean? = null, maskPosition: MaskPosition? = null): Boolean
suspend fun RequestsExecutor.createNewStaticStickerSet(user: CommonUser, name: String, sticker: MultipartFile, emojis: String, containsMasks: Boolean? = null, maskPosition: MaskPosition? = null): Boolean
(common)

deleteStickerFromSet

suspend fun RequestsExecutor.deleteStickerFromSet(sticker: FileId): Boolean
suspend fun RequestsExecutor.deleteStickerFromSet(sticker: Sticker): Boolean
(common)

setStickerPositionInSet

suspend fun RequestsExecutor.setStickerPositionInSet(sticker: FileId, position: Int): Boolean
suspend fun RequestsExecutor.setStickerPositionInSet(sticker: Sticker, position: Int): Boolean
(common)

uploadStickerFile

suspend fun RequestsExecutor.uploadStickerFile(userId: UserId, sticker: MultipartFile): File
suspend fun RequestsExecutor.uploadStickerFile(user: CommonUser, sticker: MultipartFile): File