MessageGetQueryBuilder class

Constructors

MessageGetQueryBuilder(MessageQueryUseCase useCase, String channelId)
MessageGetQueryBuilder

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

build({int? pageSize = 20}) → MessageQueryRequest
Build request
excludingTags(List<String> tags) MessageGetQueryBuilder
excludingTags
filterByParent(bool filrerByParent) MessageGetQueryBuilder
Parent ID
getLiveCollection({int? pageSize = 20}) MessageLiveCollection
Get Live collection for the messages
getPagingData({String? token, int? limit = 20}) Future<PageListData<List<AmityMessage>, String>>
getPagingData
includeDeleted(bool includeDeleted) MessageGetQueryBuilder
includeDeleted
includingTags(List<String> tags) MessageGetQueryBuilder
includingTags
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
parentId(String id) MessageGetQueryBuilder
Parent ID
query({String? token, int? limit = 20}) Future<List<AmityMessage>>
Query
stackFromEnd(bool stackFromEnd) MessageGetQueryBuilder
Stack From End
toString() String
A string representation of this object.
inherited
type(AmityMessageDataType? type) MessageGetQueryBuilder

Operators

operator ==(Object other) bool
The equality operator.
inherited