BusinessMessagesDeleted class abstract

Represents an object received when messages are deleted from a connected business account.

Implemented types
Annotations
  • @freezed

Constructors

BusinessMessagesDeleted.new({@JsonKey(name: 'business_connection_id') required String businessConnectionId, @JsonKey(name: 'chat') required Chat chat, @JsonKey(name: 'message_ids') required List<int> messageIds})
Creates a BusinessMessagesDeleted object.
const
factory
BusinessMessagesDeleted.fromJson(Map<String, dynamic> json)
Creates a BusinessMessagesDeleted object from a JSON map.
factory

Properties

businessConnectionId String
Unique identifier of the business connection.
no setterinherited
chat Chat
Information about a chat in the business account. The bot may not have access to the chat or the corresponding user.
no setterinherited
copyWith → $BusinessMessagesDeletedCopyWith<BusinessMessagesDeleted>
Create a copy of BusinessMessagesDeleted with the given fields replaced by the non-null parameter values.
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
messageIds List<int>
A JSON-serialized list of identifiers of deleted messages in the chat of the business account.
no setterinherited
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<String, dynamic>
Serializes this BusinessMessagesDeleted to a JSON map.
inherited
toString() String
A string representation of this object.
inherited

Operators

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