/// <summary> /// Destroys the direct message specified in the required ID parameter. /// </summary> /// <param name="oAuth"></param> /// <param name="directMessageId"></param> /// <returns></returns> public JArray PostDirect_Messages_Destroy_ById(oAuthTwitter oAuth, string directMessageId) { DirectMessage objDM = new DirectMessage(); JArray jobjDMS = new JArray(); jobjDMS = objDM.Post_Direct_Messages_Destroy_ById(oAuth, directMessageId); return jobjDMS; }
/// <summary> /// Sends a new direct message to the specified user from the authenticating user. /// </summary> /// <param name="oAuth"></param> /// <param name="textMessage"></param> /// <returns></returns> public JArray PostDirect_Messages_New(oAuthTwitter oAuth, string textMessage) { DirectMessage objDM = new DirectMessage(); JArray jobjDMN = new JArray(); jobjDMN = objDM.Post_Direct_Messages_Destroy_ById(oAuth, textMessage); return jobjDMN; }