Package dev. inmo. tgbotapi. requests. stickers
Types
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
data class DeleteStickerFromSet(val sticker: FileId) : SimpleRequest<Boolean>
Content copied to clipboard
Link copied to clipboard
data class SetStickerPositionInSet(val sticker: FileId, val position: Int) : SimpleRequest<Boolean>
Content copied to clipboard
Link copied to clipboard
data class SetStickerSetThumb( val userId: UserId, val name: StickerSetName, val thumb: FileId? = null) : StickerSetAction
Content copied to clipboard
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>
Content copied to clipboard
Functions
Link copied to clipboard
fun AddAnimatedStickerToSet( userId: UserId, stickerSetName: String, sticker: InputFile, emojis: String, maskPosition: MaskPosition? = null): Request<Boolean>
Content copied to clipboard
Link copied to clipboard
fun AddStaticStickerToSet( userId: UserId, stickerSetName: String, sticker: InputFile, emojis: String, maskPosition: MaskPosition? = null): Request<Boolean>
Content copied to clipboard
Link copied to clipboard
fun AddVideoStickerToSet( userId: UserId, stickerSetName: String, sticker: InputFile, emojis: String, maskPosition: MaskPosition? = null): Request<Boolean>
Content copied to clipboard
Link copied to clipboard
fun CreateNewAnimatedStickerSet( userId: UserId, name: String, title: String, sticker: InputFile, emojis: String, containsMasks: Boolean? = null, maskPosition: MaskPosition? = null): Request<Boolean>
Content copied to clipboard
Link copied to clipboard
fun CreateNewMaskAnimatedStickerSet( userId: UserId, name: String, title: String, sticker: InputFile, emojis: String, maskPosition: MaskPosition): Request<Boolean>
Content copied to clipboard
Link copied to clipboard
fun CreateNewMaskStickerSet( userId: UserId, name: String, title: String, sticker: InputFile, emojis: String, maskPosition: MaskPosition): Request<Boolean>
Content copied to clipboard
Link copied to clipboard
fun CreateNewMaskVideoStickerSet( userId: UserId, name: String, title: String, sticker: InputFile, emojis: String, maskPosition: MaskPosition): Request<Boolean>
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun CreateNewStaticStickerSet( userId: UserId, name: String, title: String, sticker: InputFile, emojis: String, containsMasks: Boolean? = null, maskPosition: MaskPosition? = null): Request<Boolean>
Content copied to clipboard
Link copied to clipboard
fun CreateNewStickerSet( userId: UserId, name: String, title: String, sticker: InputFile, emojis: String, containsMasks: Boolean? = null, maskPosition: MaskPosition? = null): Request<Boolean>
Content copied to clipboard
Link copied to clipboard
fun CreateNewVideoStickerSet( userId: UserId, linkName: String, title: String, sticker: InputFile, emojis: String, containsMasks: Boolean? = null, maskPosition: MaskPosition? = null): Request<Boolean>
Content copied to clipboard
Link copied to clipboard
fun SetStickerSetThumb( userId: UserId, stickerSetName: String, thumb: MultipartFile): Request<Boolean>
Content copied to clipboard