Example #1
0
        public void InteractionAssigned(long interactionId, IDictionary <string, string> interactionAttributes)
        {
            Console.WriteLine("[{0}] - InteractionAssigned ({1})", BotName, interactionId);

            _chatMessageService.SendChatMessage(interactionId,
                                                new TextChatMessage {
                Text = "Welcome to the google bot! Ask me anything!"
            });
        }
Example #2
0
        public void InteractionAssigned(long interactionId, IDictionary <string, string> interactionAttributes)
        {
            Console.WriteLine("[{0}] - InteractionAssigned ({1})", BotName, interactionId);

            _chatMessageService.SendChatMessage(interactionId,
                                                new TextChatMessage {
                Text = "Welcome to the translator bot! Say: \"/setlang <language>\" to set the translation language. Available languages: PigLatin, binary"
            });
        }
Example #3
0
        public void InteractionAssigned(long interactionId, IDictionary <string, string> interactionAttributes)
        {
            Console.WriteLine("[{0}] - InteractionAssigned ({1})", BotName, interactionId);

            _chatMessageService.SendChatMessage(interactionId,
                                                new TextChatMessage {
                Text = "Welcome to the time bot. Say anything and I will tell you the current time."
            });
        }
Example #4
0
        public void InteractionAssigned(long interactionId, IDictionary <string, string> interactionAttributes)
        {
            Console.WriteLine("[{0}] - InteractionAssigned ({1})", BotName, interactionId);

            _chatMessageService.SendChatMessage(interactionId,
                                                new TextChatMessage
            {
                Text = "Welcome to the attribute bot! " +
                       "Say an attribute name and I will return the value. Use a pipe seperated list for multiples!. " +
                       "You can also assign attributes by saying attr_name=value."
            });
        }