ThreadMessageClient class
Constructors
- ThreadMessageClient({required ThreadsClient threadClient, required String apiKey})
Properties
- apiKey ↔ String
-
getter/setter pair
- files → ThreadMessagesFileClient
-
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- threadClient → ThreadsClient
-
final
Methods
-
create(
CreateThreadMessageModel message) → Future< ThreadMessageModel?> - CREATE MESSAGE WITHIN A THREAD
-
list(
dynamic threadID, String order, {String? after, String? before, int? limit = 20}) → Future< ThreadMessagesListModel?> - LIST A THREAD
-
modify(
ThreadMessageModifyDataModel modifyData) → Future< ThreadMessageModel?> - MODIFY A MESSAGE WITHIN A THREAD
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
retrieve(
dynamic threadID, dynamic messageID) → Future< ThreadMessageModel?> - RETRIEVE A MESSAGE BY ID
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited