Modmail class
Provides modmail functions for a Subreddit.
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
-
bulkRead(
{List< SubredditRef> ? otherSubreddits, ModmailState state = ModmailState.all}) → Future<List< ModmailConversationRef> > - Mark the conversations for provided subreddits as read.
-
call(
String id, {bool markRead = false}) → ModmailConversationRef -
conversations(
{String? after, int? limit, List< SubredditRef> ? otherSubreddits, ModmailSort sort = ModmailSort.recent, ModmailState state = ModmailState.all}) → Stream<ModmailConversation> -
A Stream of
ModmailConversation
instances for the specified subreddits. -
create(
String subject, String body, dynamic recipient, {dynamic authorHidden = false}) → Future< ModmailConversation> - Create a new conversation.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
subreddits(
) → Stream< SubredditRef> - A Stream of subreddits which use the new modmail that the authenticated user moderates.
-
toString(
) → String -
A string representation of this object.
inherited
-
unreadCount(
) → Future< ModmailUnreadStatistics> - Return number of unread conversations by conversation state.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited