QMultichannel class

Constructors

QMultichannel(WidgetRef ref)
const

Properties

account AsyncValue<QAccount>
no setter
avatarUrl String?
no setter
hashCode int
The hash code for this object.
no setterinherited
isResolved bool
no setter
messages List<QMessage>
no setter
qiscus AsyncValue<QiscusSDK>
no setter
ref WidgetRef
final
room AsyncValue<QChatRoom>
no setter
roomId int?
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
theme QAppTheme
no setter
title String
no setter

Methods

clearUser() Future<void>
deleteMessage(String messageUniqueId) Future<QMessage>
enableDebugMode(bool enable) → void
generateFileAttachmentMessage({required String url, required String caption}) Future<QMessage>
generateFileAttachmentMessageFromFile({required File file, required String caption}) Future<QMessage>
generateMessage({required String text, Map<String, dynamic>? extras}) Future<QMessage>
generateReplyMessage({required String text, required QMessage repliedMessage, Map<String, dynamic>? extras}) Future<QMessage>
initiateChat() Future<QChatRoom>
loadMoreMessages(int lastMessageId) Future<List<QMessage>>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
sendMessage(QMessage message) Future<QMessage>
setAvatar(QAvatarConfig config) → void
setChannelId(String channelId) → void
setDeviceId(String deviceId, {bool isDevelopment = false}) → void
setHideUIEvent() → void
setRoomSubTitle(QSubtitleConfig config) → void
setRoomTitle(String title) → void
setUser({required String userId, required String displayName, String? avatarUrl, Map<String, dynamic>? userProperties}) → void
toString() String
A string representation of this object.
inherited

Operators

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