toggle menu
Simple Robot 组件 | QQ Guild
4.1.2
common
switch theme
search in API
simbot-component-qq-guild-api
/
love.forte.simbot.qguild.api.channel
/
CreateChannelApi
/
Body
/
Builder
Builder
class
Builder
(
source
)
Builder for
Body
.
其中除了
applicationId
以外的属性都是必选的。
Members
Constructors
Builder
Link copied to clipboard
constructor
(
)
Properties
application
Id
Link copied to clipboard
var
applicationId
:
String
?
name
Link copied to clipboard
var
name
:
String
?
parent
Id
Link copied to clipboard
var
parentId
:
String
?
position
Link copied to clipboard
var
position
:
Int
?
private
Type
Link copied to clipboard
var
privateType
:
PrivateType
?
private
User
Ids
Link copied to clipboard
var
privateUserIds
:
List
<
String
>
?
speak
Permission
Link copied to clipboard
var
speakPermission
:
SpeakPermission
?
sub
Type
Link copied to clipboard
var
subType
:
ChannelSubType
?
type
Link copied to clipboard
var
type
:
ChannelType
?
Functions
application
Id
Link copied to clipboard
fun
applicationId
(
value
:
String
?
)
:
CreateChannelApi.Body.Builder
build
Link copied to clipboard
fun
build
(
)
:
CreateChannelApi.Body
name
Link copied to clipboard
fun
name
(
value
:
String
?
)
:
CreateChannelApi.Body.Builder
parent
Id
Link copied to clipboard
fun
parentId
(
value
:
String
?
)
:
CreateChannelApi.Body.Builder
position
Link copied to clipboard
fun
position
(
value
:
Int
?
)
:
CreateChannelApi.Body.Builder
private
Type
Link copied to clipboard
fun
privateType
(
value
:
PrivateType
?
)
:
CreateChannelApi.Body.Builder
private
User
Ids
Link copied to clipboard
fun
privateUserIds
(
value
:
List
<
String
>
?
)
:
CreateChannelApi.Body.Builder
speak
Permission
Link copied to clipboard
fun
speakPermission
(
value
:
SpeakPermission
?
)
:
CreateChannelApi.Body.Builder
sub
Type
Link copied to clipboard
fun
subType
(
value
:
ChannelSubType
?
)
:
CreateChannelApi.Body.Builder
type
Link copied to clipboard
fun
type
(
value
:
ChannelType
?
)
:
CreateChannelApi.Body.Builder