MemberPermission
群成员的权限.
可通过 compareTo 判断是否有更高的权限.
若要获得成员的权限, 使用 Member.permission. 若要获得 Bot 在某个群的权限, 使用 Group.botPermission, 或 Group.botAsMember 再获取其 Member.permission.
See also
Functions
Link copied to clipboard
判断权限是否为管理员
Link copied to clipboard
判断权限是否为管理员或群主
Link copied to clipboard
判断权限是否为群主
Link copied to clipboard
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
Link copied to clipboard
Returns an array containing the constants of this enum type, in the order they're declared.