ReorderChatFolders class final

ReorderChatFolders (reorderChatFolders) - TDLib function

Changes the order of chat folders.

  • chatFolderIds: Identifiers of chat folders in the new correct order.
  • mainChatListPosition: Position of the main chat list among chat folders, 0-based. Can be non-zero only for Premium users.

Ok is returned on completion.

Inheritance

Constructors

ReorderChatFolders({required List<int> chatFolderIds, required int mainChatListPosition})
ReorderChatFolders (reorderChatFolders) - TDLib function
const

Properties

chatFolderIds List<int>
Identifiers of chat folders in the new correct order
final
currentObjectId String
TDLib object type for current class instance
no setteroverride
hashCode int
The hash code for this object.
no setterinherited
mainChatListPosition int
Position of the main chat list among chat folders, 0-based. Can be non-zero only for Premium users
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

copyWith({List<int>? chatFolderIds, int? mainChatListPosition}) ReorderChatFolders
Copy model with modified properties.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson([dynamic extra]) Map<String, dynamic>
Convert model to TDLib JSON format
override
toString() String
Convert model to TDLib JSON format, encoded into String.
override

Operators

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

Constants

defaultObjectId → const String
TDLib object type