
package top.r3944realms.ltdmanager.napcat.request.message.personal

import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable
import kotlinx.serialization.encodeToString
import kotlinx.serialization.json.Json
import top.r3944realms.ltdmanager.napcat.data.ID
import top.r3944realms.ltdmanager.napcat.request.message.AbstractMessageRequest

/**
 * FriendPoke请求
 */
@Serializable
data class FriendPokeRequest(
    /**
     * 戳一戳对象，可不填
     */
    @SerialName("target_id")
    val targetId: ID? = null,

    /**
     * 私聊对象
     */
    @SerialName("user_id")
    val userId: ID
) : AbstractMessageRequest() {
    override fun toJSON(): String = Json.encodeToString(this)

    override fun path(): String = "/friend_poke"
}
