public Conversation updateConversation ( final String id , final ConversationStatus status ) throws UnauthorizedException , GeneralException { if ( id == null ) { throw new IllegalArgumentException ( "Id must be specified." ) ; } String url = String . format ( "%s%s/%s" , CONVERSATIONS_BASE_URL , CONVERSATION_PATH , id ) ; return messageBirdService . sendPayLoad ( "PATCH" , url , status , Conversation . class ) ; }
Updates a conversation .