HangoutsChatApi class
Enables apps to fetch information and perform actions in Google Chat.
Authentication is a prerequisite for using the Google Chat REST API.
Constructors
- HangoutsChatApi.new(Client client, {String rootUrl = 'https://chat.googleapis.com/', String servicePath = ''})
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- media → MediaResource
-
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- spaces → SpacesResource
-
no setter
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- chatBotScope → const String
- Private Service: https://www.googleapis.com/auth/chat.bot
- chatDeleteScope → const String
- Delete conversations and spaces & remove access to associated files in Google Chat
- chatImportScope → const String
- Import spaces, messages, and memberships into Google Chat.
- chatMembershipsAppScope → const String
- Add and remove itself from conversations in Google Chat
- chatMembershipsReadonlyScope → const String
- View members in Google Chat conversations.
- chatMembershipsScope → const String
- View, add, and remove members from conversations in Google Chat
- chatMessagesCreateScope → const String
- Compose and send messages in Google Chat
- chatMessagesReactionsCreateScope → const String
- Add reactions to messages in Google Chat
- chatMessagesReactionsReadonlyScope → const String
- View reactions to messages in Google Chat
- chatMessagesReactionsScope → const String
- View, add, and delete reactions to messages in Google Chat
- chatMessagesReadonlyScope → const String
- View messages and reactions in Google Chat
- chatMessagesScope → const String
- View, compose, send, update, and delete messages, and add, view, and delete reactions to messages.
- chatSpacesCreateScope → const String
- Create new conversations in Google Chat
- chatSpacesReadonlyScope → const String
- View chat and spaces in Google Chat
- chatSpacesScope → const String
- Create conversations and spaces and view or update metadata (including history settings) in Google Chat