message
Ariadne 消息事件
ActiveFriendMessage 🔗
Bases: ActiveMessage
主动好友消息
Source code in src/graia/ariadne/event/message.py
183 184 185 186 187 188 189 190 191 192 |
|
ActiveGroupMessage 🔗
Bases: ActiveMessage
主动群组消息
Source code in src/graia/ariadne/event/message.py
195 196 197 198 199 200 201 202 203 204 |
|
ActiveMessage 🔗
Bases: MiraiEvent
主动消息:Bot 账号发送给他人的消息
Source code in src/graia/ariadne/event/message.py
150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 |
|
message_chain
class-attribute
instance-attribute
🔗
message_chain: MessageChain = Field(..., alias='messageChain')
消息链
ActiveStrangerMessage 🔗
Bases: ActiveMessage
主动陌生人消息
Source code in src/graia/ariadne/event/message.py
225 226 227 228 229 230 231 232 233 234 |
|
ActiveTempMessage 🔗
Bases: ActiveMessage
主动临时消息
Source code in src/graia/ariadne/event/message.py
207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 |
|
FriendMessage 🔗
Bases: MessageEvent
, FriendEvent
好友消息
Source code in src/graia/ariadne/event/message.py
78 79 80 81 82 83 84 85 86 87 |
|
FriendSyncMessage 🔗
Bases: SyncMessage
, ActiveFriendMessage
好友同步消息
Source code in src/graia/ariadne/event/message.py
243 244 245 246 |
|
GroupMessage 🔗
Bases: MessageEvent
, GroupEvent
群组消息
Source code in src/graia/ariadne/event/message.py
90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 |
|
GroupSyncMessage 🔗
Bases: SyncMessage
, ActiveGroupMessage
群组同步消息
Source code in src/graia/ariadne/event/message.py
249 250 251 252 |
|
MessageEvent 🔗
Bases: MiraiEvent
Ariadne 消息事件基类
Source code in src/graia/ariadne/event/message.py
48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 |
|
message_chain
class-attribute
instance-attribute
🔗
message_chain: MessageChain = Field(..., alias='messageChain')
消息链
OtherClientMessage 🔗
Bases: MessageEvent
其他客户端消息
Source code in src/graia/ariadne/event/message.py
126 127 128 129 130 131 132 133 134 135 |
|
StrangerMessage 🔗
Bases: MessageEvent
陌生人消息
Source code in src/graia/ariadne/event/message.py
138 139 140 141 142 143 144 145 146 147 |
|
StrangerSyncMessage 🔗
Bases: SyncMessage
, ActiveStrangerMessage
陌生人同步消息
Source code in src/graia/ariadne/event/message.py
261 262 263 264 |
|
SyncMessage 🔗
Bases: MiraiEvent
同步消息:从其他客户端同步的主动消息
Source code in src/graia/ariadne/event/message.py
237 238 239 240 |
|
TempMessage 🔗
Bases: MessageEvent
临时消息
Source code in src/graia/ariadne/event/message.py
108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 |
|
TempSyncMessage 🔗
Bases: SyncMessage
, ActiveTempMessage
临时会话同步消息
Source code in src/graia/ariadne/event/message.py
255 256 257 258 |
|