golang
If you have already tried to develop a bot in golang for mattermost, you have probably already found the documentation page for the API.