I have to send notifications to agents about some logic rules, like notifications, and not-interactives messages
The Omnichannel channel is a personalized message using Directline
I have tried sending an event type activity, but it doesbn´t work
var activityOpen = new Activity
{
Action = "notification",
From = new ChannelAccount(activity.ReplyToId, "Mensagem de sistema."),
ChannelId = "directline",
ServiceUrl = directLineServiceURL,
Text = activity.Text,
Type = ActivityTypes.Message,
Name = "notification",
Id = (activityId
};
Please, if someone have a example !