asContentOrNull

Casts this MessageTemplateBodyContentProvider as a Content and retrieves its kotlin.String value. Returns null if the MessageTemplateBodyContentProvider is not a Content.