ChatUIKitProfile.group constructor
ChatUIKitProfile.group({})
Create a group profile object.
id is the group id.
groupName is the group name.
avatarUrl is the group avatar address.
extension is the extension field.
timestamp is the timestamp.
Implementation
ChatUIKitProfile.group({
required String id,
String? groupName,
String? avatarUrl,
Map<String, String>? extension,
int timestamp = 0,
}) : this(
id: id,
showName: groupName,
avatarUrl: avatarUrl,
type: ChatUIKitProfileType.group,
extension: extension,
timestamp: timestamp,
);