Simple Robot Component Mirai
3.0.0.0-M3
simbot-component-mirai-core
/
love.forte.simbot.component.mirai
/
MiraiFriendCategory
Mirai
Friend
Category
interface
MiraiFriendCategory
:
Category
,
DeleteSupport
(
source
)
mirai中的好友分组信息
Functions
Properties
Functions
delete
Link copied to clipboard
open
suspend override
fun
delete
(
)
:
Boolean
删除本分组.
delete
Async
Link copied to clipboard
open
fun
deleteAsync
(
)
:
CompletableFuture
<
out
Boolean
>
delete
Blocking
Link copied to clipboard
open
fun
deleteBlocking
(
)
:
Boolean
move
In
Link copied to clipboard
open
suspend
fun
moveIn
(
friend
:
MiraiFriend
)
:
Boolean
open
suspend
fun
moveIn
(
friend
:
Friend
)
:
Boolean
把一名好友移动至本分组内.
rename
To
Link copied to clipboard
open
suspend
fun
renameTo
(
newName
:
String
)
:
Boolean
修改分组名称。
Properties
count
Link copied to clipboard
open
val
count
:
Int
分组内好友数量
friends
Link copied to clipboard
@
ExperimentalSimbotApi
abstract
val
friends
:
Collection
<
MiraiFriend
>
属于本分组的好友集合。
id
Link copied to clipboard
abstract
override
val
id
:
IntID
分组ID
name
Link copied to clipboard
open
override
val
name
:
String
分组名
original
Friend
Group
Link copied to clipboard
abstract
val
originalFriendGroup
:
FriendGroup
获取mirai原生的
好友分组
。