MesiboProfile class

Inheritance
Implementers

Constructors

MesiboProfile({String? address, required int groupId, required int uid, required int hash_id, String? name, required bool selfProfile})

Properties

address String?
getter/setter pairinherited
groupId int
getter/setter pairinherited
hash_id int
getter/setter pairinherited
hashCode int
The hash code for this object.
no setterinherited
locationProfile MesiboProfileLocation?
getter/setter pair
name String?
getter/setter pairinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
selfProfile bool
getter/setter pairinherited
uid int
getter/setter pairinherited

Methods

block(bool enable) → void
blockCalls(bool enable) → void
blockGroupMessages(bool enable) → void
blockMessages(bool enable) → void
blockProfile(bool enable) → void
blockProfileSubscription(bool enable) → void
blockVideoCalls(bool enable) → void
clearMessages([int ts = 0]) → void
createReadSession(MesiboMessageListener listener) MesiboReadSession
deleteMessages([int ts = 0]) → void
deleteMessagesOlderThan(int seconds) → void
encode() Object
inherited
getAddress() String?
getBoolean(String name, bool defValue) Future<bool>
getDouble(String name, double defValue) Future<double>
getFailedMessageCount() Future<int>
getGroupProfile() MesiboGroupProfile?
getImage([int index = -1]) Future<MesiboProfileImage>
getInt(String name, int defValue) Future<int>
getLastSeen() Future<MesiboDateTime?>
getLong(String name, int defValue) Future<int>
getMessageCount(int threadId, int status) Future<int>
getNameOrAddress() String?
getReceivedMessageCount() Future<int>
getSentMessageCount() Future<int>
getString(String name, String? defValue) Future<String>?
getTotalMessageCount() Future<int>
getUnreadMessageCount() Future<int>
getValues() Future<Map<String?, Object?>>?
hasValue(String name) Future<bool>
isChatting([int gid = 0]) Future<bool>
isGroup() bool
isOnline() Future<bool>
isTyping([int gid = 0]) Future<bool>
location() MesiboProfileLocation
markRead(bool sendReadReceipt) Future<int>
markUnread() Future<int>
newMessage() MesiboMessage
newPresence() MesiboPresence
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
reset() → void
save() → void
sendJoined() → void
sendLeft() → void
sendTyping() → void
setBoolean(String name, bool value, [int level = 0]) → void
setDouble(String name, double value, [int level = 0]) → void
setImageFromFile(String path, [int index = 0, int level = 0]) → void
setImageUrl(String? url, [int index = 0, int level = 0]) → void
setInt(String name, int value, [int level = 0]) → void
setLong(String name, int value, [int level = 0]) → void
setProfileAccessLevels(List<int>? levels) → void
setSearchable(bool enable) → void
setString(String name, String? value, [int level = 0]) → void
setVisibility(int visibility) → void
subscribe(bool enable) → void
toggleBlock() Future<bool>
toString() String
A string representation of this object.
inherited
unread() Future<int>

Operators

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