| 构造器和说明 |
|---|
Builder() |
| 限定符和类型 | 方法和说明 |
|---|---|
Bot.Builder |
botMenuDisplayStrategy(BotBotMenuDisplayStrategyEnum botMenuDisplayStrategy)
机器人菜单展示策略
示例值:1
|
Bot.Builder |
botMenuDisplayStrategy(Integer botMenuDisplayStrategy)
机器人菜单展示策略
示例值:1
|
Bot.Builder |
botMenuEnable(Boolean botMenuEnable)
是否启用机器人菜单
示例值:true
|
Bot.Builder |
botMenus(BotMenuNode[] botMenus)
机器人菜单列表
示例值:
|
Bot |
build() |
Bot.Builder |
cardRequestUrl(String cardRequestUrl)
消息卡片回调地址
示例值:https://www.example.com
|
public Bot.Builder cardRequestUrl(String cardRequestUrl)
示例值:https://www.example.com
cardRequestUrl - public Bot.Builder botMenuEnable(Boolean botMenuEnable)
示例值:true
botMenuEnable - public Bot.Builder botMenus(BotMenuNode[] botMenus)
示例值:
botMenus - public Bot.Builder botMenuDisplayStrategy(Integer botMenuDisplayStrategy)
示例值:1
botMenuDisplayStrategy - public Bot.Builder botMenuDisplayStrategy(BotBotMenuDisplayStrategyEnum botMenuDisplayStrategy)
示例值:1
botMenuDisplayStrategy - BotBotMenuDisplayStrategyEnumpublic Bot build()
Copyright © 2026. All rights reserved.