コード例 #1
0
        public static string SendTextMessageWithButtons(string receiver, string text, params ViberButton[] buttons)
        {
            var message  = new ViberMessage(receiver, text, buttons);
            var response = Utils.SendRequest <ViberMessage>(Utils.send_message, message);

            return(response);
        }
コード例 #2
0
        public static string SendTextMessage(string receiver, string text)
        {
            var message  = new ViberMessage(receiver, text);
            var response = Utils.SendRequest <ViberMessage>(Utils.send_message, message);

            return(response);
        }