protected String safeGetQuickReplyPayload ( MessageEnvelope envelope ) { if ( envelope != null && envelope . getMessage ( ) != null && envelope . getMessage ( ) . getQuickReply ( ) != null && envelope . getMessage ( ) . getQuickReply ( ) . getPayload ( ) != null ) { return envelope . getMessage ( ) . getQuickReply ( ) . getPayload ( ) ; } return "" ; }
Retrieves a quick reply payload from an envelope . It never returns null .