From 7d3d17f807be6ad4683389187656d7d472dfd0fb Mon Sep 17 00:00:00 2001 From: eleksir Date: Tue, 22 Dec 2020 01:30:15 +0300 Subject: [PATCH] Add small_file_unique_id and big_file_unique_id fields to ChatPhoto object --- lib/Teapot/Bot/Object/ChatPhoto.pm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/Teapot/Bot/Object/ChatPhoto.pm b/lib/Teapot/Bot/Object/ChatPhoto.pm index c0ea607..1e6be0c 100644 --- a/lib/Teapot/Bot/Object/ChatPhoto.pm +++ b/lib/Teapot/Bot/Object/ChatPhoto.pm @@ -6,11 +6,13 @@ use Mojo::Base 'Teapot::Bot::Object::Base'; $Teapot::Bot::Object::ChatPhoto::VERSION = '0.022'; has 'small_file_id'; +has 'small_file_unique_id'; has 'big_file_id'; +has 'big_file_unique_id'; sub fields { return { - 'scalar' => [qw/small_file_id big_file_id/], + 'scalar' => [qw/small_file_id small_file_unique_id big_file_id big_file_unique_id/], }; }