Exemple #1
0
 public async Task <WelcomeMessage> CreateWelcomeMessageAsync(string text, QuickReply quickReply)
 {
     return((await welcomeMessageClient.CreateWelcomeMessageAsync(null, text, quickReply)).ToWelcomeMessage());
 }
Exemple #2
0
        public async Task <Message> SendMessageAsync(long userId, string text, QuickReply quickReply)
        {
            var messageEvent = await directMessagesClient.SendMessageAsync(userId, text, quickReply);

            return(messageEvent.ToMessage());
        }