Interface ClientUser
- All Superinterfaces:
AttrOptionDynamic
- All Known Implementing Classes:
DefaultClientUser
- Author:
- 渔民小镇
- date:
- 2023-07-15
-
Method Summary
Modifier and TypeMethodDescriptionvoidgetJwt()longbooleanisActive()是否活跃voidsetInputCommandRegions(List<InputCommandRegion> inputCommandRegions) voidvoidsetNickname(String nickname) voidsetUserId(long userId) Methods inherited from interface AttrOptionDynamic
getOptions, ifNull, ifPresent, option, option, optionValue
-
Method Details
-
getClientUserChannel
ClientUserChannel getClientUserChannel() -
getClientUserInputCommands
ClientUserInputCommands getClientUserInputCommands() -
setInputCommandRegions
-
getUserId
long getUserId() -
setUserId
void setUserId(long userId) -
getNickname
String getNickname() -
setNickname
-
getJwt
String getJwt() -
setJwt
-
isActive
boolean isActive()是否活跃- Returns:
- true 表示用户活跃
-
callbackInputCommandRegion
void callbackInputCommandRegion()
-