Package dev.inmo.tgbotapi.requests.stickers

Types

Link copied to clipboard
data class AddAnimatedStickerToSet : StandardStickerSetAction
Link copied to clipboard
data class AddStaticStickerToSet : StandardStickerSetAction
Link copied to clipboard
data class AddVideoStickerToSet : StandardStickerSetAction
Link copied to clipboard
data class CreateNewStickerSet : CreateStickerSetAction
Link copied to clipboard
data class DeleteStickerFromSet(val sticker: FileId) : SimpleRequest<Boolean>
Link copied to clipboard
data class SetStickerPositionInSet(val sticker: FileId, val position: Int) : SimpleRequest<Boolean>
Link copied to clipboard
data class SetStickerSetThumb(    val userId: UserId,     val name: StickerSetName,     val thumb: FileId? = null) : StickerSetAction
Link copied to clipboard
data class UploadStickerFile(val userId: UserId, val sticker: MultipartFile = throw IllegalStateException("Detected autocreating try: this class can't be deserialized")) : MultipartRequest<File>

Functions

Link copied to clipboard
fun AddAnimatedStickerToSet(    userId: UserId,     stickerSetName: String,     sticker: InputFile,     emojis: String,     maskPosition: MaskPosition? = null): Request<Boolean>
Link copied to clipboard
fun AddStaticStickerToSet(    userId: UserId,     stickerSetName: String,     sticker: InputFile,     emojis: String,     maskPosition: MaskPosition? = null): Request<Boolean>
Link copied to clipboard
fun AddVideoStickerToSet(    userId: UserId,     stickerSetName: String,     sticker: InputFile,     emojis: String,     maskPosition: MaskPosition? = null): Request<Boolean>
Link copied to clipboard
fun CreateNewAnimatedStickerSet(    userId: UserId,     name: String,     title: String,     sticker: InputFile,     emojis: String,     containsMasks: Boolean? = null,     maskPosition: MaskPosition? = null): Request<Boolean>
Link copied to clipboard
fun CreateNewMaskAnimatedStickerSet(    userId: UserId,     name: String,     title: String,     sticker: InputFile,     emojis: String,     maskPosition: MaskPosition): Request<Boolean>
Link copied to clipboard
fun CreateNewMaskStickerSet(    userId: UserId,     name: String,     title: String,     sticker: InputFile,     emojis: String,     maskPosition: MaskPosition): Request<Boolean>
Link copied to clipboard
fun CreateNewMaskVideoStickerSet(    userId: UserId,     name: String,     title: String,     sticker: InputFile,     emojis: String,     maskPosition: MaskPosition): Request<Boolean>
Link copied to clipboard
fun CreateNewRegularAnimatedStickerSet(    userId: UserId,     name: String,     title: String,     sticker: InputFile,     emojis: String): Request<Boolean>
Link copied to clipboard
fun CreateNewRegularStickerSet(    userId: UserId,     name: String,     title: String,     sticker: InputFile,     emojis: String): Request<Boolean>
Link copied to clipboard
fun CreateNewRegularVideoStickerSet(    userId: UserId,     name: String,     title: String,     sticker: InputFile,     emojis: String): Request<Boolean>
Link copied to clipboard
fun CreateNewStaticStickerSet(    userId: UserId,     name: String,     title: String,     sticker: InputFile,     emojis: String,     containsMasks: Boolean? = null,     maskPosition: MaskPosition? = null): Request<Boolean>
Link copied to clipboard
fun CreateNewStickerSet(    userId: UserId,     name: String,     title: String,     sticker: InputFile,     emojis: String,     containsMasks: Boolean? = null,     maskPosition: MaskPosition? = null): Request<Boolean>
Link copied to clipboard
fun CreateNewVideoStickerSet(    userId: UserId,     linkName: String,     title: String,     sticker: InputFile,     emojis: String,     containsMasks: Boolean? = null,     maskPosition: MaskPosition? = null): Request<Boolean>
Link copied to clipboard
fun SetStickerSetThumb(    userId: UserId,     stickerSetName: String,     thumb: MultipartFile): Request<Boolean>