1
0
mirror of https://github.com/InsanusMokrassar/TelegramBotAPI.git synced 2024-11-26 20:18:45 +00:00
tgbotapi/docs/dev.inmo.tgbotapi.extensions.api.stickers/index.md
2021-03-17 15:18:37 +00:00

26 KiB

//docs/dev.inmo.tgbotapi.extensions.api.stickers

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

Functions

Name Summary
addAnimatedStickerToSet [common]
Content
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 [common]
Content
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 [common]
Content
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 [common]
Content
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 [common]
Content
suspend fun TelegramBot.deleteStickerFromSet(sticker: FileId): Boolean
suspend fun TelegramBot.deleteStickerFromSet(sticker: Sticker): Boolean


setStickerPositionInSet [common]
Content
suspend fun TelegramBot.setStickerPositionInSet(sticker: FileId, position: Int): Boolean
suspend fun TelegramBot.setStickerPositionInSet(sticker: Sticker, position: Int): Boolean


uploadStickerFile [common]
Content
suspend fun TelegramBot.uploadStickerFile(userId: UserId, sticker: MultipartFile): File
suspend fun TelegramBot.uploadStickerFile(user: CommonUser, sticker: MultipartFile): File