Office 365 Connector does not show the branch name after a message sent from Jenkins to MS Teams

When the Office 365 Connector triggers a build it sends from Jenkins to MS teams a new message which has the following default view (see the screenshot below).

Is there any way to add a git branch name here? Or even better to trigger that a branch is changed?

Jenkins message in MS Teams


You can customize using factDefinitions and message.
Refer Documentation & Examples.