MessagesRequestBuilder class

Builder class for MessagesRequest.

Allows step-by-step creation of an MessagesRequest object.

Constructors

MessagesRequestBuilder()
Default constructor for MessagesRequestBuilder.

Properties

categories List<String>?
Categories for filtering.
getter/setter pair
category String?
Category of the messages.
getter/setter pair
guid String?
Group ID for which the messages are to be fetched.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
hideDeleted bool?
Flag to hide deleted messages.
getter/setter pair
hideMessagesFromBlockedUsers bool?
Flag to hide messages from blocked users.
getter/setter pair
hideReplies bool?
Flag to hide replies.
getter/setter pair
interactionGoalCompletedOnly bool?
Flag to include messages with completed interaction goals.
getter/setter pair
limit int?
Number of results to limit the query.
getter/setter pair
messageId int?
Message ID from which the messages are to be fetched.
getter/setter pair
parentMessageId int?
Parent message ID for thread messages.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
searchKeyword String?
Keyword for searching.
getter/setter pair
tags List<String>?
Tags for filtering.
getter/setter pair
timestamp DateTime?
Timestamp from which the messages are to be fetched.
getter/setter pair
type String?
Type of the messages.
getter/setter pair
types List<String>?
Types for filtering.
getter/setter pair
uid String?
User ID for which the messages are to be fetched.
getter/setter pair
unread bool?
Flag to include only unread messages.
getter/setter pair
updatedAfter DateTime?
Time from which the messages are to be updated.
getter/setter pair
updatesOnly bool?
Flag to include only updates.
getter/setter pair
withTags bool?
Flag to include tags.
getter/setter pair

Methods

build() MessagesRequest
Builds and returns an MessagesRequest object.
mentionsWithBlockedInfo(bool mentionsWithBlockedInfo) MessagesRequestBuilder
Method to get messages with block information.
mentionsWithTagInfo(bool mentionsWithTagInfo) MessagesRequestBuilder
Method to get messages with tag information.
myMentionsOnly(bool myMentionsOnly) MessagesRequestBuilder
Method to get messages where user is mentioned.
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