Can mattermost buttons be created via the API v4?

I am developing a game and I would like to use the buttons to make it a lot easier for my users to play.

The documentation for message buttons includes lots of information that might be helpful to you