2018-12-26 08:07:24 +00:00
|
|
|
package com.github.insanusmokrassar.TelegramBotAPI.requests.stickers.abstracts
|
|
|
|
|
|
|
|
import com.github.insanusmokrassar.TelegramBotAPI.requests.abstracts.SimpleRequest
|
|
|
|
import com.github.insanusmokrassar.TelegramBotAPI.types.UserId
|
|
|
|
import com.github.insanusmokrassar.TelegramBotAPI.types.stickers.MaskPosition
|
|
|
|
import kotlinx.serialization.KSerializer
|
|
|
|
import kotlinx.serialization.internal.BooleanSerializer
|
|
|
|
|
|
|
|
interface StickerSetAction : SimpleRequest<Boolean> {
|
|
|
|
val userId: UserId
|
|
|
|
val name: String
|
|
|
|
val emojis: String // must be more than one
|
|
|
|
val maskPosition: MaskPosition?
|
|
|
|
|
2019-12-02 08:35:37 +00:00
|
|
|
override val resultDeserializer: KSerializer<Boolean>
|
|
|
|
get() = BooleanSerializer
|
2018-12-26 08:07:24 +00:00
|
|
|
}
|