role

abstract val role: OneBotMemberRole?(source)

此成员所属角色。 如果无法获取(例如是在群临时会话的私聊中)则得到 null

值有可能被 setAdmin 所影响。

See also