MessageSetting

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

是否允许发主动消息

Functions

Link copied to clipboard
operator fun component1(): String
Link copied to clipboard
operator fun component2(): String
Link copied to clipboard
operator fun component3(): List<String>
Link copied to clipboard
operator fun component4(): Int
Link copied to clipboard
fun copy(disableCreateDm: String = this.disableCreateDm, disablePushMsg: String = this.disablePushMsg, channelIds: List<String> = this.channelIds, channelPushMaxNum: Int = this.channelPushMaxNum): MessageSetting
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String