ChatMemberOwner class

Represents a chat member that owns the chat and has all administrator privileges.

Implemented types

Constructors

ChatMemberOwner({required User user, required bool isAnonymous, String? customTitle})
Creates a new ChatMemberOwner object.
const
ChatMemberOwner.fromJson(Map<String, dynamic> json)
Creates a new ChatMemberOwner object from json.
factory

Properties

customTitle String?
Custom title for this user
final
from User
Information about the user
no setteroverride
hashCode int
The hash code for this object.
no setterinherited
isAnonymous bool
True, if the user's presence in the chat is hidden
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
status ChatMemberStatus
The member's status in the chat, always “creator”
final
user User
Information about the user
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Converts a ChatMemberOwner to a Map for JSON encoding.
override
toString() String
A string representation of this object.
inherited

Operators

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