public static byte[] GetBody(this Bundle.ResponseComponent interaction) { var body = interaction.Annotation <Body>(); return(body != null ? body.Data : null); }
public static byte[] GetBody(this Bundle.ResponseComponent interaction) => interaction.Annotation <Body>()?.Data;