BotFrameworkHttpAdapterBase 类
构造函数
BotFrameworkHttpAdapterBase(settings: BotFrameworkAdapterSettings)
参数
| 名称 | 说明 |
|---|---|
|
settings
必需
|
|
方法
| can_process_outgoing_activity | |
| process_outgoing_activity | |
| process_streaming_activity | |
| send_streaming_activity |
can_process_outgoing_activity
can_process_outgoing_activity(activity: Activity) -> bool
参数
| 名称 | 说明 |
|---|---|
|
activity
必需
|
|
process_outgoing_activity
async process_outgoing_activity(_turn_context: TurnContext, activity: Activity) -> ResourceResponse
参数
| 名称 | 说明 |
|---|---|
|
_turn_context
必需
|
|
|
activity
必需
|
|
process_streaming_activity
async process_streaming_activity(activity: Activity, bot_callback_handler: Callable[[TurnContext], Awaitable]) -> InvokeResponse
参数
| 名称 | 说明 |
|---|---|
|
activity
必需
|
|
|
bot_callback_handler
必需
|
|
send_streaming_activity
async send_streaming_activity(activity: Activity) -> ResourceResponse
参数
| 名称 | 说明 |
|---|---|
|
activity
必需
|
|