Hello! There is a task where we need to send messages to an omnichannel chat on behalf of an operator using a code. internal async Task PostToOmnichannelAsync( DirectLineClient client, string message, string omnichannelId, string fromUser) { var userMessage = new Activity { From = new ChannelAccount(fromUser), Text = message, Type = ActivityTypes.Message };
The current code is capable of sending messages to the chat but only from the client side. The goal is to make it appear as if the messages are being sent from the operator's side. Does anybody know how to do it?
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.