ChatJoinRequest class

Represents a join request sent to a chat.

Constructors

ChatJoinRequest({required Chat chat, required User from, required int date, String? bio, ChatInviteLink? inviteLink})
Basic constructor

Properties

bio ↔ String?
Optional. Bio of the user.
getter/setter pair
chat ↔ Chat
Chat to which the request was sent
getter/setter pair
date ↔ int
Date the request was sent in Unix time
getter/setter pair
from ↔ User
User that sent the join request
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
Optional. Chat invite link that was used by the user to send the join request
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map
Creates a json from the object
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) → ChatJoinRequest
Creates a object from a json