|
| 1 | +/* |
| 2 | + * Copyright (c) 2025. ForteScarlet. |
| 3 | + * |
| 4 | + * This file is part of simbot-component-onebot. |
| 5 | + * |
| 6 | + * simbot-component-onebot is free software: you can redistribute it and/or modify it under the terms |
| 7 | + * of the GNU Lesser General Public License as published by the Free Software Foundation, |
| 8 | + * either version 3 of the License, or (at your option) any later version. |
| 9 | + * |
| 10 | + * simbot-component-onebot is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; |
| 11 | + * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
| 12 | + * See the GNU Lesser General Public License for more details. |
| 13 | + * |
| 14 | + * You should have received a copy of the GNU Lesser General Public License along with simbot-component-onebot. |
| 15 | + * If not, see <https://www.gnu.org/licenses/>. |
| 16 | + */ |
| 17 | + |
| 18 | +package love.forte.simbot.component.onebot.v11.core.event.messageinteraction |
| 19 | + |
| 20 | +import love.forte.simbot.ability.ReplySupport |
| 21 | +import love.forte.simbot.component.onebot.v11.core.bot.OneBotBot |
| 22 | +import love.forte.simbot.event.FuzzyEventTypeImplementation |
| 23 | +import love.forte.simbot.event.MessageEvent |
| 24 | +import love.forte.simbot.event.MessageEventInteractionEvent |
| 25 | + |
| 26 | + |
| 27 | +/** |
| 28 | + * OneBot组件中针对 [ReplySupport](通常是 [MessageEvent])的拦截或通知事件。 |
| 29 | + * |
| 30 | + * @see love.forte.simbot.component.onebot.v11.core.event.message.OneBotMessageEvent |
| 31 | + * |
| 32 | + * @since 1.6.0 |
| 33 | + * |
| 34 | + * @author ForteScarlet |
| 35 | + */ |
| 36 | +@SubclassOptInRequired(FuzzyEventTypeImplementation::class) |
| 37 | +public interface OneBotMessageEventInteractionEvent : |
| 38 | + MessageEventInteractionEvent, |
| 39 | + OneBotInternalMessageInteractionEvent { |
| 40 | + override val bot: OneBotBot |
| 41 | + override val content: MessageEvent |
| 42 | +} |
| 43 | + |
| 44 | +// TODO |
0 commit comments