BotFrameworkHttpAdapterBase Klasse
Konstruktor
BotFrameworkHttpAdapterBase(settings: BotFrameworkAdapterSettings)
Parameter
| Name | Beschreibung |
|---|---|
|
settings
Erforderlich
|
|
Methoden
| can_process_outgoing_activity | |
| process_outgoing_activity | |
| process_streaming_activity | |
| send_streaming_activity |
can_process_outgoing_activity
can_process_outgoing_activity(activity: Activity) -> bool
Parameter
| Name | Beschreibung |
|---|---|
|
activity
Erforderlich
|
|
process_outgoing_activity
async process_outgoing_activity(_turn_context: TurnContext, activity: Activity) -> ResourceResponse
Parameter
| Name | Beschreibung |
|---|---|
|
_turn_context
Erforderlich
|
|
|
activity
Erforderlich
|
|
process_streaming_activity
async process_streaming_activity(activity: Activity, bot_callback_handler: Callable[[TurnContext], Awaitable]) -> InvokeResponse
Parameter
| Name | Beschreibung |
|---|---|
|
activity
Erforderlich
|
|
|
bot_callback_handler
Erforderlich
|
|
send_streaming_activity
async send_streaming_activity(activity: Activity) -> ResourceResponse
Parameter
| Name | Beschreibung |
|---|---|
|
activity
Erforderlich
|
|