diff options
| author | levlam <levlam@telegram.org> | 2023-06-12 15:30:07 +0300 |
|---|---|---|
| committer | levlam <levlam@telegram.org> | 2023-06-12 15:30:07 +0300 |
| commit | c62c84665a18a2ef85ec5cacace2c3fd68d3eb29 (patch) | |
| tree | cc7a915d218d6d945c07588b8c0297b35e33d64e /test/online.cpp | |
| parent | 289df57852d52c1f1105038157927d6260c103b1 (diff) | |
Update sendMessage usages in tests and examples.
Diffstat (limited to 'test/online.cpp')
| -rw-r--r-- | test/online.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/online.cpp b/test/online.cpp index de7afa8a6..f34c8e778 100644 --- a/test/online.cpp +++ b/test/online.cpp @@ -333,7 +333,7 @@ class UploadFile : public Task { write_file(content_path_, content_).ensure(); send_query(td::make_tl_object<td::td_api::sendMessage>( - chat_id_, 0, 0, nullptr, nullptr, + chat_id_, 0, nullptr, nullptr, nullptr, td::make_tl_object<td::td_api::inputMessageDocument>( td::make_tl_object<td::td_api::inputFileLocal>(content_path_), nullptr, true, td::make_tl_object<td::td_api::formattedText>("tag", td::Auto()))), |
