public MessageResponse sendFlashMessage ( final String originator , final String body , final List < BigInteger > recipients ) throws UnauthorizedException , GeneralException { final Message message = new Message ( originator , body , recipients ) ; message . setType ( MsgType . flash ) ; return messageBirdService . sendPayLoad ( MESSAGESPATH , message , MessageResponse . class ) ; }
Convenient function to send a simple flash message to a list of recipients