ChatApiService class

Constructors

ChatApiService()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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

Static Methods

sendMessage({required String message, String chatId = 'my_chatId', String responseChatItemId = 'my_responseChatItemId', Map<String, String>? variables, String? imageUrl, String? fileName}) Future<ChatResponse>
sendStreamMessage({required String message, String chatId = 'my_chatId', String responseChatItemId = 'my_responseChatItemId', Map<String, String>? variables, String? imageUrl, String? fileName, bool detail = true}) Stream<StreamEvent>

Constants

apiKey → const String
baseUrl → const String