public RequestFuture < ? > send ( String content ) { Checks . notBlank ( content , "Content" ) ; Checks . check ( content . length ( ) <= 2000 , "Content may not exceed 2000 characters!" ) ; return execute ( newBody ( new JSONObject ( ) . put ( "content" , content ) . toString ( ) ) ) ; }
Sends the provided text message to this webhook .