Language

ActionPayload Class

Definition

public class ActionPayload : Microsoft.Agents.Extensions.Slack.Api.SlackModel
type ActionPayload = class
    inherit SlackModel
Public Class ActionPayload
Inherits SlackModel
Inheritance
ActionPayload

Constructors

Name Description
ActionPayload()

Properties

Name Description
actions
AdditionalProperties

Catch-all for any envelope fields not explicitly modelled above.

channel
message
type

Methods

Name Description
Get<T>(String)

Gets a value at the given dot-notation path. Supports dot-separated property access and bracket array indexing (e.g. "message.attachments[0].text"). Returns default when the path does not exist or the value cannot be converted to T.

(Inherited from SlackModel)
GetData()

Returns the JsonObject used for path navigation. The default implementation lazily serializes this instance via JsonSerializer.SerializeToNode, making every property and [JsonExtensionData] field addressable. Override when the subclass is already backed by a JsonObject to return it directly.

(Inherited from SlackModel)
NormalizePath(String)

Normalizes a caller-supplied path before it is passed to the navigator. Override to remap C# property-name aliases to their JSON field names. The default implementation returns the path unchanged.

(Inherited from SlackModel)
TryGet<T>(String, T)

Tries to get a value at the given dot-notation path. Returns false when the path does not exist or the value cannot be converted to T.

(Inherited from SlackModel)

Applies to