MessageSetting

data class MessageSetting(val disableCreateDm: String, val disablePushMsg: String, val channelIds: List<String>, val channelPushMaxNum: Int)(source)

频道消息频率设置对象 (MessageSetting)

Author

ForteScarlet

Constructors

Link copied to clipboard
constructor(disableCreateDm: String, disablePushMsg: String, channelIds: List<String>, channelPushMaxNum: Int)

Properties

Link copied to clipboard
@SerialName(value = "channel_ids")
val channelIds: List<String>

子频道 id 数组

Link copied to clipboard
@SerialName(value = "channel_push_max_num")
val channelPushMaxNum: Int

每个子频道允许主动推送消息最大消息条数

Link copied to clipboard
@SerialName(value = "disable_create_dm")
val disableCreateDm: String

是否允许创建私信

Link copied to clipboard
@SerialName(value = "disable_push_msg")
val disablePushMsg: String

是否允许发主动消息