DeleteChatMessagesByDate class
Deletes all messages between the specified dates in a chat. Supported only for private chats and basic groups. Messages sent in the last 30 seconds will not be deleted.
Returns Ok.
- Inheritance
- Available Extensions
Constructors
- DeleteChatMessagesByDate({required int chat_id, required int min_date, required int max_date, required bool revoke, int? extra, int? clientId})
- Deletes all messages between the specified dates in a chat. Supported only for private chats and basic groups. Messages sent in the last 30 seconds will not be deleted
Properties
- chat_id ↔ int
-
Chat identifier.
read / write
- clientId ↔ int?
-
TDLib client instance identifier, for which the response was received.
read / writeoverride
- extra ↔ int?
-
Request identifier. Must be non-zero.
read / writeoverride
- hashCode → int
-
The hash code for this object.
read-onlyinherited
- max_date ↔ int
-
The maximum date of the messages to delete.
read / write
- min_date ↔ int
-
The minimum date of the messages to delete.
read / write
- revoke ↔ bool
-
Pass true to delete chat messages for all users; private chats only.
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) → DeleteChatMessagesByDate? -
Construct from Map.
override
Constants
- CONSTRUCTOR → const String
-
@type
"deleteChatMessagesByDate"