public static string GetBodyAsText(this Bundle.BundleEntryResponseComponent interaction) { var body = interaction.GetBody(); if (body != null) { return(DecodeBody(body, Encoding.UTF8)); } else { return(null); } }