Class InlineKeyboard
-
- All Implemented Interfaces:
-
net.mamoe.mirai.message.data.Message,net.mamoe.mirai.message.data.MessageContent,net.mamoe.mirai.message.data.SingleMessage
@Serializable() public final class InlineKeyboard implements MessageContent内联键盘消息. 常见于 Markdown 消息下方
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classInlineKeyboard.Key
-
Field Summary
Fields Modifier and Type Field Description public final static StringSERIAL_NAMEprivate final LongbotAppIdprivate final List<InlineKeyboardRow>rowspublic final static InlineKeyboard.KeyKey
-
Constructor Summary
Constructors Constructor Description InlineKeyboard(Long botAppId, List<InlineKeyboardRow> rows)
-
Method Summary
Modifier and Type Method Description final LonggetBotAppId()官方机器人 appId final List<InlineKeyboardRow>getRows()按键行列表 StringtoString()StringcontentToString()-
Methods inherited from class net.mamoe.mirai.message.data.MessageContent
accept -
Methods inherited from class net.mamoe.mirai.message.data.Message
acceptChildren, contentEquals, contentEquals, contentEquals, followedBy, plus, plus, plus, plus, plus, plus, plus, plus, plusIterableString -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
InlineKeyboard
InlineKeyboard(Long botAppId, List<InlineKeyboardRow> rows)
-
-
Method Detail
-
getBotAppId
final Long getBotAppId()
官方机器人 appId
-
getRows
final List<InlineKeyboardRow> getRows()
按键行列表
-
contentToString
String contentToString()
-
-
-
-