Schedule

data class Schedule(val id: String, val name: String, val description: String, val startTimestamp: Long, val endTimestamp: Long, val creator: SimpleMember, val jumpChannelId: String, val remindType: String)(source)

日程对象

用于描述一个日程。

Author

ForteScarlet

Constructors

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

Types

Link copied to clipboard

Properties

Link copied to clipboard

创建者

Link copied to clipboard

日程描述

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

日程结束时间戳(ms)

Link copied to clipboard
val id: String

日程 id

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)

Inherited functions

Link copied to clipboard

将一个 Schedule 转化为请求用的 ScheduleRequestBody