BusinessMessagesDeleted constructor
const
BusinessMessagesDeleted({})
Creates a BusinessMessagesDeleted object.
Implementation
const factory BusinessMessagesDeleted({
/// Unique identifier of the business connection.
@JsonKey(name: 'business_connection_id')
required String businessConnectionId,
/// Information about a chat in the business account. The bot may not have
/// access to the chat or the corresponding user.
@JsonKey(name: 'chat') required Chat chat,
/// A JSON-serialized list of identifiers of deleted messages in the chat of
/// the business account.
@JsonKey(name: 'message_ids') required List<int> messageIds,
}) = _BusinessMessagesDeleted;