public void notifications_send ( Collection < Integer > recipientIds , CharSequence notification ) throws FacebookException , IOException { assert ( null != notification ) ; ArrayList < Pair < String , CharSequence > > args = new ArrayList < Pair < String , CharSequence > > ( 3 ) ; if ( null != recipientIds && ! recipientIds . isEmpty ( ) ) { args . add ( new Pair < String , CharSequence > ( "to_ids" , delimit ( recipientIds ) ) ) ; } args . add ( new Pair < String , CharSequence > ( "notification" , notification ) ) ; this . callMethod ( FacebookMethod . NOTIFICATIONS_SEND , args ) ; }
Send a notification message to the specified users on behalf of the logged - in user .