diff options
Diffstat (limited to 'protocols/Telegram/tdlib/td/td/telegram/WebPageBlock.h')
-rw-r--r-- | protocols/Telegram/tdlib/td/td/telegram/WebPageBlock.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/protocols/Telegram/tdlib/td/td/telegram/WebPageBlock.h b/protocols/Telegram/tdlib/td/td/telegram/WebPageBlock.h index dbc010e033..061670aca5 100644 --- a/protocols/Telegram/tdlib/td/td/telegram/WebPageBlock.h +++ b/protocols/Telegram/tdlib/td/td/telegram/WebPageBlock.h @@ -1,5 +1,5 @@ // -// Copyright Aliaksei Levin (levlam@telegram.org), Arseny Smirnov (arseny30@gmail.com) 2014-2023 +// Copyright Aliaksei Levin (levlam@telegram.org), Arseny Smirnov (arseny30@gmail.com) 2014-2024 // // Distributed under the Boost Software License, Version 1.0. (See accompanying // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) @@ -87,6 +87,8 @@ class WebPageBlock { virtual void append_file_ids(const Td *td, vector<FileId> &file_ids) const = 0; virtual td_api::object_ptr<td_api::PageBlock> get_page_block_object(Context *context) const = 0; + + static bool are_allowed_album_block_types(const vector<unique_ptr<WebPageBlock>> &page_blocks); }; void store(const unique_ptr<WebPageBlock> &block, LogEventStorerCalcLength &storer); |