At the bottom of this page, covers the Authentication scopes for chat.
In order to login and read/send to chat as a bot, you generate a token with chat:read and chat:edit and receive whispers you need whispers:read also on your token
At the bottom of this page, covers the Authentication scopes for chat.
In order to login and read/send to chat as a bot, you generate a token with chat:read and chat:edit and receive whispers you need whispers:read also on your token