Class GroupMessageEvent
-
- All Implemented Interfaces:
public final class GroupMessageEvent extends MessageEvent
-
-
Field Summary
Fields Modifier and Type Field Description private IntegermessageIdprivate StringsubTypeprivate LonggroupIdprivate Anonymousanonymousprivate GroupSendersenderprivate StringmessageTypeprivate LonguserIdprivate BooleanisJsonMessageprivate Stringmessageprivate StringrawMessageprivate Integerfontprivate StringpostTypeprivate Longtimeprivate LongselfIdprivate final JsonElementjson
-
Constructor Summary
Constructors Constructor Description GroupMessageEvent()
-
Method Summary
Modifier and Type Method Description final IntegergetMessageId()final UnitsetMessageId(Integer messageId)final StringgetSubType()final UnitsetSubType(String subType)final LonggetGroupId()final UnitsetGroupId(Long groupId)final AnonymousgetAnonymous()final UnitsetAnonymous(Anonymous anonymous)final GroupSendergetSender()final UnitsetSender(GroupSender sender)-
Methods inherited from class cn.evolvefield.onebot.sdk.event.message.MessageEvent
getFont, getMessage, getMessageType, getRawMessage, getUserId, isJsonMessage, setFont, setJsonMessage, setMessage, setMessageType, setRawMessage, setUserId -
Methods inherited from class cn.evolvefield.onebot.sdk.event.Event
getPostType, getSelfId, getTime, setPostType, setSelfId, setTime, time, timeInSecond -
Methods inherited from class cn.evolvefield.onebot.sdk.action.JsonContainer
getJson -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getMessageId
final Integer getMessageId()
-
setMessageId
final Unit setMessageId(Integer messageId)
-
getSubType
final String getSubType()
-
setSubType
final Unit setSubType(String subType)
-
getGroupId
final Long getGroupId()
-
setGroupId
final Unit setGroupId(Long groupId)
-
getAnonymous
final Anonymous getAnonymous()
-
setAnonymous
final Unit setAnonymous(Anonymous anonymous)
-
getSender
final GroupSender getSender()
-
setSender
final Unit setSender(GroupSender sender)
-
-
-
-