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

13 KiB

//docs/dev.inmo.tgbotapi.requests.stickers

Package dev.inmo.tgbotapi.requests.stickers

Types

Name Summary
AddAnimatedStickerToSet [common]
Content
data class AddAnimatedStickerToSet : StandardStickerSetAction


AddStaticStickerToSet [common]
Content
data class AddStaticStickerToSet : StandardStickerSetAction


CreateNewAnimatedStickerSet [common]
Content
data class CreateNewAnimatedStickerSet : StandardStickerSetAction


CreateNewStaticStickerSet [common]
Content
data class CreateNewStaticStickerSet : StandardStickerSetAction


DeleteStickerFromSet [common]
Content
data class DeleteStickerFromSet(sticker: FileId) : SimpleRequest<Boolean>


SetStickerPositionInSet [common]
Content
data class SetStickerPositionInSet(sticker: FileId, position: Int) : SimpleRequest<Boolean>


SetStickerSetThumb [common]
Content
data class SetStickerSetThumb(userId: UserId, name: StickerSetName, thumb: FileId?) : StickerSetAction


UploadStickerFile [common]
Content
data class UploadStickerFile(userId: UserId, sticker: MultipartFile) : MultipartRequest<File>


Functions

Name Summary
AddAnimatedStickerToSet [common]
Content
fun AddAnimatedStickerToSet(userId: UserId, stickerSetName: String, sticker: InputFile, emojis: String, maskPosition: MaskPosition? = null): Request<Boolean>


AddStaticStickerToSet [common]
Content
fun AddStaticStickerToSet(userId: UserId, stickerSetName: String, sticker: InputFile, emojis: String, maskPosition: MaskPosition? = null): Request<Boolean>


CreateNewAnimatedStickerSet [common]
Content
fun CreateNewAnimatedStickerSet(userId: UserId, name: String, sticker: InputFile, emojis: String, containsMasks: Boolean? = null, maskPosition: MaskPosition? = null): Request<Boolean>


CreateNewStaticStickerSet [common]
Content
fun CreateNewStaticStickerSet(userId: UserId, name: String, sticker: InputFile, emojis: String, containsMasks: Boolean? = null, maskPosition: MaskPosition? = null): Request<Boolean>


CreateNewStickerSet [common]
Content
fun CreateNewStickerSet(userId: UserId, name: String, sticker: InputFile, emojis: String, containsMasks: Boolean? = null, maskPosition: MaskPosition? = null): Request<Boolean>


SetStickerSetThumb [common]
Content
fun SetStickerSetThumb(userId: UserId, stickerSetName: String, thumb: MultipartFile): Request<Boolean>