Buttons in MS Teams

I just found a solution. Added type: "postBack" to the button and it’s working. Is there anything about type of button in the docs?