Simple Robot
Toggle table of contents
5.0.0-Alpha2
common
Target filter
common
Switch theme
Search in API
Skip to content
Simple Robot
simbot-component-qq-api
/
love.forte.simbot.qguild.model
/
MessageSetting
Message
Setting
@
Serializable
class
MessageSetting
(
val
disableCreateDm
:
String
,
val
disablePushMsg
:
String
,
val
channelIds
:
List
<
String
>
,
val
channelPushMaxNum
:
Int
)
(
source
)
频道消息频率设置对象 (MessageSetting)
Author
ForteScarlet
Members
Constructors
Message
Setting
Link copied to clipboard
constructor
(
disableCreateDm
:
String
,
disablePushMsg
:
String
,
channelIds
:
List
<
String
>
,
channelPushMaxNum
:
Int
)
Properties
channel
Ids
Link copied to clipboard
@
SerialName
(
value
=
"channel_ids"
)
val
channelIds
:
List
<
String
>
子频道 id 数组
channel
Push
Max
Num
Link copied to clipboard
@
SerialName
(
value
=
"channel_push_max_num"
)
val
channelPushMaxNum
:
Int
每个子频道允许主动推送消息最大消息条数
disable
Create
Dm
Link copied to clipboard
@
SerialName
(
value
=
"disable_create_dm"
)
val
disableCreateDm
:
String
是否允许创建私信
disable
Push
Msg
Link copied to clipboard
@
SerialName
(
value
=
"disable_push_msg"
)
val
disablePushMsg
:
String
是否允许发主动消息
Functions
component1
Link copied to clipboard
operator
fun
component1
(
)
:
String
component2
Link copied to clipboard
operator
fun
component2
(
)
:
String
component3
Link copied to clipboard
operator
fun
component3
(
)
:
List
<
String
>
component4
Link copied to clipboard
operator
fun
component4
(
)
:
Int
copy
Link copied to clipboard
fun
copy
(
disableCreateDm
:
String
=
this.disableCreateDm
,
disablePushMsg
:
String
=
this.disablePushMsg
,
channelIds
:
List
<
String
>
=
this.channelIds
,
channelPushMaxNum
:
Int
=
this.channelPushMaxNum
)
:
MessageSetting
equals
Link copied to clipboard
open
operator override
fun
equals
(
other
:
Any
?
)
:
Boolean
hash
Code
Link copied to clipboard
open
override
fun
hashCode
(
)
:
Int
to
String
Link copied to clipboard
open
override
fun
toString
(
)
:
String