Exemple #1
0
        private async Task PostWelcomeMessageAsync(WechatMessage incomingMessage)
        {
            var wechatMessage = incomingMessage.CreateReply();

            wechatMessage.MessageType = WechatMessageTypes.TEXT;
            wechatMessage.Content     = "Thank you for subscribing! I am the Dim Sum Master! Please ask me about some different types of dim sum. I learn about new dim sum everyday, so check again later if I don't recognize one!";
            await _connector.PostMessage(wechatMessage);
        }
Exemple #2
0
        private async Task PostWelcomeMessageAsync(WechatMessage incomingMessage)
        {
            var wechatMessage = incomingMessage.CreateReply();

            wechatMessage.MessageType = WechatMessageTypes.TEXT;
            wechatMessage.Content     = "Thank you for subscribing! I am the geffzhang ! ";
            await _connector.PostMessage(wechatMessage);
        }