public static Message get ( final BandwidthClient client , final String id ) throws Exception { final String messagesUri = client . getUserResourceInstanceUri ( BandwidthConstants . MESSAGES_URI_PATH , id ) ; final JSONObject jsonObject = toJSONObject ( client . get ( messagesUri , null ) ) ; return new Message ( client , jsonObject ) ; }
Gets information about a previously sent or received message .