ScheduleRequestBody

data class ScheduleRequestBody(val name: String, val description: String, val startTimestamp: Long, val endTimestamp: Long, val jumpChannelId: String, val remindType: String)(source)

用于 CreateScheduleApiModifyScheduleApi 的请求体类型, 结构类似于 Schedule,但是没有 idcreator

See also

Constructors

Link copied to clipboard
constructor(name: String, description: String, startTimestamp: Long, endTimestamp: Long, jumpChannelId: String, remindType: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

日程描述

Link copied to clipboard
@SerialName(value = "end_timestamp")
val endTimestamp: Long

日程结束时间戳(ms)

Link copied to clipboard
@SerialName(value = "jump_channel_id")
val jumpChannelId: String

日程开始时跳转到的子频道 id

Link copied to clipboard

日程名称

Link copied to clipboard
@SerialName(value = "remind_type")
val remindType: String

日程提醒类型,取值参考 RemindTypes

Link copied to clipboard
@SerialName(value = "start_timestamp")
val startTimestamp: Long

日程开始时间戳(ms)