Package-level declarations

Types

Link copied to clipboard
interface BaseTestEvent : Event

用于测试的 Event 基类

Link copied to clipboard
open class TestBotEvent(val id: ID, val bot: Bot) : BotEvent, BaseTestEvent

用于测试的 BotEvent 实现

Link copied to clipboard
open class TestEvent(val id: ID = UUID.random()) : Event, BaseTestEvent

用于测试的 Event 实现

Link copied to clipboard
open class TestMessageEvent(var id: ID = UUID.random(), var bot: Bot = TestBot(), var authorId: ID = UUID.random(), var messageContent: MessageContent = TestMessageContent(), var onReplyText: (String) -> TestMessageReceipt = { TestMessageReceipt() }, var onReplyMessage: (Message) -> TestMessageReceipt = { TestMessageReceipt() }, var onReplyMessageContent: (MessageContent) -> TestMessageReceipt = { TestMessageReceipt() }) : MessageEvent, BaseTestEvent

用于测试的 MessageEvent 实现

Link copied to clipboard
open class TestMessageReceipt(var onDelete: (Array<out DeleteOption>) -> Unit = {}) : MessageReceipt