Table of Contents

Constructor ChannelMessage

Namespace
Oscova.Agents.Channels
Assembly
Oscova.Agents.dll

ChannelMessage(string, string, string, string, string?, IReadOnlyList<ChannelAttachment>, Func<string, CancellationToken, Task>, Func<IDisposable>?, bool)

Carries vendor-neutral message data and reply operations for host admission.

public ChannelMessage(string Text, string SenderId, string SenderDisplayName, string ConversationId, string? ThreadId, IReadOnlyList<ChannelAttachment> Attachments, Func<string, CancellationToken, Task> ReplyAsync, Func<IDisposable>? BeginTyping = null, bool IsBot = false)

Parameters

Text string
SenderId string
SenderDisplayName string
ConversationId string
ThreadId string?
Attachments IReadOnlyList<ChannelAttachment>
ReplyAsync Func<string, CancellationToken, Task>
BeginTyping Func<IDisposable>?
IsBot bool