Package-level declarations
Types
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
object InputStickerSerializer
Link copied to clipboard
Link copied to clipboard
data class SetCustomEmojiStickerSetThumbnail(val name: StickerSetName, val customEmojiId: CustomEmojiId) : StickerSetAction
Link copied to clipboard
Link copied to clipboard
data class SetStickerKeywords(val sticker: FileId, val keywords: List<String>) : StickerAction<Unit>
Link copied to clipboard
data class SetStickerMaskPosition(val sticker: FileId, val maskPosition: MaskPosition) : StickerAction<Unit>
Link copied to clipboard
Link copied to clipboard
data class SetStickerSetThumbnail(val userId: UserId, val name: StickerSetName, val format: StickerFormat, val thumbnail: FileId? = null) : OwnerStickerSetAction
Link 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"), val stickerFormat: StickerFormat) : MultipartRequest<File>
Functions
Link copied to clipboard
fun AddStickerToSet(userId: UserId, stickerSetName: StickerSetName, inputSticker: InputSticker): Request<Unit>
fun AddStickerToSet(userId: UserId, stickerSetName: String, inputSticker: InputSticker): Request<Unit>
Link copied to clipboard
fun CreateNewStickerSet(userId: UserId, name: StickerSetName, title: String, stickers: List<InputSticker>, needsRepainting: Boolean? = null): Request<Unit>
fun CreateNewStickerSet(userId: UserId, name: String, title: String, stickers: List<InputSticker>, needsRepainting: Boolean? = null): Request<Unit>
Will create one of CreateNewStickerSet types based on the first element of stickers
Link copied to clipboard
fun ReplaceStickerInSet(userId: UserId, stickerSetName: StickerSetName, oldSticker: FileId, newSticker: InputSticker): Request<Unit>
fun ReplaceStickerInSet(userId: UserId, stickerSetName: String, oldSticker: FileId, newSticker: InputSticker): Request<Unit>
Link copied to clipboard
fun SetStickerSetThumbnail(userId: UserId, stickerSetName: StickerSetName, format: StickerFormat, thumbnail: MultipartFile): Request<Unit>
fun SetStickerSetThumbnail(userId: UserId, stickerSetName: String, format: StickerFormat, thumbnail: MultipartFile): Request<Unit>