From 4ab3f53f69b37ca22595dea7636795a2aa8aad03 Mon Sep 17 00:00:00 2001 From: DinoLeung Date: Sat, 30 Mar 2024 18:03:15 +1030 Subject: [PATCH] added new fields to wtire access allowed object --- lib/src/telegram/models/write_access_allowed.dart | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/src/telegram/models/write_access_allowed.dart b/lib/src/telegram/models/write_access_allowed.dart index 41e1638..206d46a 100644 --- a/lib/src/telegram/models/write_access_allowed.dart +++ b/lib/src/telegram/models/write_access_allowed.dart @@ -23,10 +23,14 @@ part of '../model.dart'; /// https://core.telegram.org/bots/api#writeaccessallowed @JsonSerializable(fieldRename: FieldRename.snake) class WriteAccessAllowed { + bool? fromRequest; String? webAppName; + bool? fromAttachmentMenu; WriteAccessAllowed({ + this.fromRequest, this.webAppName, + this.fromAttachmentMenu, }); factory WriteAccessAllowed.fromJson(Map json) => _$WriteAccessAllowedFromJson(json);