Chat class

Constructors

Chat({required int id, required String type, String? title, String? username, String? firstName, String? lastName, ChatPhoto? photo, String? bio, String? description, String? inviteLink, Message? pinnedMessage, ChatPermissions? permissions, int? slowModeDelay, String? stickerSetName, bool? canSetStickerSet, int? linkedChatId, int? messageAutoDeleteTime, ChatLocation? location})

Properties

bio String?
getter/setter pair
canSetStickerSet bool?
getter/setter pair
description String?
getter/setter pair
firstName String?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
id int
getter/setter pair
getter/setter pair
lastName String?
getter/setter pair
linkedChatId int?
getter/setter pair
location ChatLocation?
getter/setter pair
messageAutoDeleteTime int?
getter/setter pair
permissions ChatPermissions?
getter/setter pair
photo ChatPhoto?
getter/setter pair
pinnedMessage Message?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
slowModeDelay int?
getter/setter pair
stickerSetName String?
getter/setter pair
title String?
getter/setter pair
type String
getter/setter pair
username String?
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map
toString() String
A string representation of this object.
override

Operators

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

Static Methods

fromJson(Map<String, dynamic> json) Chat