GetChatInviteLinks class
Returns invite links for a chat created by specified administrator. Requires administrator privileges and can_invite_users right in the chat to get own links and owner privileges to get other links.
Returns ChatInviteLinks.
- Inheritance
- Available Extensions
Constructors
- GetChatInviteLinks({required int chat_id, required int creator_user_id, required bool is_revoked, required int offset_date, required String offset_invite_link, required int limit, int? extra, int? clientId})
- Returns invite links for a chat created by specified administrator. Requires administrator privileges and can_invite_users right in the chat to get own links and owner privileges to get other links
Properties
- chat_id ↔ int
-
Chat identifier.
read / write
- clientId ↔ int?
-
TDLib client instance identifier, for which the response was received.
read / writeoverride
- creator_user_id ↔ int
-
User identifier of a chat administrator. Must be an identifier of the current user for non-owner.
read / write
- extra ↔ int?
-
Request identifier. Must be non-zero.
read / writeoverride
- hashCode → int
-
The hash code for this object.
read-onlyinherited
- is_revoked ↔ bool
-
Pass true if revoked links needs to be returned instead of active or expired.
read / write
- limit ↔ int
-
The maximum number of invite links to return; up to 100.
read / write
- offset_date ↔ int
-
Creation date of an invite link starting after which to return invite links; use 0 to get results from the beginning.
read / write
- offset_invite_link ↔ String
-
Invite link starting after which to return invite links; use empty string to get results from the beginning.
read / write
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
Object to Map serializer
override
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
fromMap(
Map< String, dynamic> ? _map) → GetChatInviteLinks? -
Construct from Map.
override
Constants
- CONSTRUCTOR → const String
-
@type
"getChatInviteLinks"