public async Task ReplyMessages(string messageId, string reply) { var messagebody = new ChannelMessageBody { Content = reply, ContentType = BodyType.Html }; var postmessage = new PostChannelMessage { Body = messagebody }; await _data.ReplyChannelMessages(messageId, postmessage); }
public async Task <string> PostMessages(string message) { var messagebody = new ChannelMessageBody { Content = message, ContentType = BodyType.Html }; var postmessage = new PostChannelMessage { Body = messagebody }; PostMessageReturn retContent = await _data.PostChannelMessages(postmessage); return(retContent.Id); }