Language

BotRequestOptions Class

Definition

Options for configuring a bot HTTP request.

public class BotRequestOptions : IEquatable<Microsoft.Teams.Core.Http.BotRequestOptions>
type BotRequestOptions = class
    interface IEquatable<BotRequestOptions>
Public Class BotRequestOptions
Implements IEquatable(Of BotRequestOptions)
Inheritance
BotRequestOptions
Implements

Constructors

Name Description
BotRequestOptions()
BotRequestOptions(BotRequestOptions)

Properties

Name Description
CustomHeaders

Gets the custom headers to include in the request.

EqualityContract
OperationDescription

Gets a description of the operation for logging and error messages.

RequestContext

Gets the per-request properties to stamp onto the outbound request's options, where a DelegatingHandler can read them. See BotRequestContext for well-known keys (agentic identity, bot app id) and helpers.

ReturnNullOnNotFound

Gets a value indicating whether to return null instead of throwing on 404 responses.

Methods

Name Description
<Clone>$()
Equals(BotRequestOptions)
Equals(Object)
GetHashCode()
PrintMembers(StringBuilder)
ToString()

Operators

Name Description
Equality(BotRequestOptions, BotRequestOptions)
Inequality(BotRequestOptions, BotRequestOptions)

Applies to