diff options
| author | levlam <levlam@telegram.org> | 2024-05-15 17:19:41 +0300 |
|---|---|---|
| committer | levlam <levlam@telegram.org> | 2024-05-15 17:19:41 +0300 |
| commit | f9d3431401bcf351e1210400269dae87cf723984 (patch) | |
| tree | 0b25e4f0df3da88e199f01ca80eafdbf808c1471 /benchmark | |
| parent | aa09223b9cc280e9be62416f06932f699d57e228 (diff) | |
Add flag show_caption_above_media to relevant message content types.
Diffstat (limited to 'benchmark')
| -rw-r--r-- | benchmark/bench_misc.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/benchmark/bench_misc.cpp b/benchmark/bench_misc.cpp index d6ddb6206..bfde3ab7f 100644 --- a/benchmark/bench_misc.cpp +++ b/benchmark/bench_misc.cpp @@ -117,7 +117,7 @@ BENCH(TlToStringMessage, "TL to_string message") { td::vector<td::int32>{10000, 20000, 30000, 50000, 70000, 90000, 120000, 150000, 180000, 220000})); } x->content_ = td::td_api::make_object<td::td_api::messagePhoto>( - std::move(photo), td::td_api::make_object<td::td_api::formattedText>(), false, false); + std::move(photo), td::td_api::make_object<td::td_api::formattedText>(), false, false, false); std::size_t res = 0; for (int i = 0; i < n; i++) { |
