Channel.BlackBox.Get<Channel.BlackBox.Message.Question>().Subscribe(question =>
{
// create response from first one available
var response = question.CreateResponse(question.AvailableResponses.First());
Channel.BlackBox.Publish(response);
});
Channel.BlackBox.Get<Channel.BlackBox.Message.Notification>().Subscribe(message =>
{
// just send OK response.
var response = message.CreateResponse(BlackBoxMessageButtons.Ok);
Channel.BlackBox.Publish(response);
});
C#