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); }
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); }