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 CreateNewAnimatedStickerSet : StandardStickerSetAction
Link copied to clipboard
data class CreateNewStaticStickerSet : StandardStickerSetAction
Link copied to clipboard
data class DeleteStickerFromSet(sticker: FileId) : SimpleRequest<Boolean>
Link copied to clipboard
data class SetStickerPositionInSet(sticker: FileId, position: Int) : SimpleRequest<Boolean>
Link copied to clipboard
data class SetStickerSetThumb(userId: UserId, name: StickerSetName, thumb: FileId?) : StickerSetAction
Link copied to clipboard
data class UploadStickerFile(userId: UserId, sticker: MultipartFile) : 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 CreateNewAnimatedStickerSet(userId: UserId, name: String, sticker: InputFile, emojis: String, containsMasks: Boolean? = null, maskPosition: MaskPosition? = null): Request<Boolean>
Link copied to clipboard
fun CreateNewStaticStickerSet(userId: UserId, name: String, sticker: InputFile, emojis: String, containsMasks: Boolean? = null, maskPosition: MaskPosition? = null): Request<Boolean>
Link copied to clipboard
fun CreateNewStickerSet(userId: UserId, name: 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>