diff options
| -rw-r--r-- | SplitSource.php | 2 | ||||
| -rw-r--r-- | td/generate/DotnetTlDocumentationGenerator.php | 1 | ||||
| -rw-r--r-- | td/generate/scheme/td_api.tl | 10 | ||||
| -rw-r--r-- | td/telegram/CurrencyAmount.cpp | 2 | ||||
| -rw-r--r-- | td/telegram/CurrencyAmount.h | 1 | ||||
| -rw-r--r-- | td/telegram/MessageImportManager.cpp | 1 | ||||
| -rw-r--r-- | td/telegram/MessageImportManager.h | 1 | ||||
| -rw-r--r-- | td/telegram/MessageQueryManager.cpp | 1 | ||||
| -rw-r--r-- | td/telegram/TonAmount.h | 1 | ||||
| -rw-r--r-- | td/telegram/UpdatesManager.cpp | 1 |
10 files changed, 9 insertions, 12 deletions
diff --git a/SplitSource.php b/SplitSource.php index 08c2c8c1d..627af478b 100644 --- a/SplitSource.php +++ b/SplitSource.php @@ -447,7 +447,7 @@ function split_file($file, $chunks, $undo) { 'story_manager[_(-](?![.]get[(][)])|StoryManager' => 'StoryManager', 'SuggestedAction|[a-z_]*_suggested_action' => 'SuggestedAction', 'suggested_action_manager[_(-](?![.]get[(][)])|SuggestedActionManager' => 'SuggestedActionManager', - 'SuggestedPost[^P]' => 'SuggestedPost', + 'SuggestedPost[^A-Z]' => 'SuggestedPost', 'SuggestedPostPrice' => 'SuggestedPostPrice', 'SynchronousRequests' => 'SynchronousRequests', 'TargetDialogTypes' => 'TargetDialogTypes', diff --git a/td/generate/DotnetTlDocumentationGenerator.php b/td/generate/DotnetTlDocumentationGenerator.php index 4a631a65f..44c842154 100644 --- a/td/generate/DotnetTlDocumentationGenerator.php +++ b/td/generate/DotnetTlDocumentationGenerator.php @@ -264,7 +264,6 @@ $documentation </member> EOT ); - } protected function getFunctionReturnTypeDescription($return_type, $for_constructor) diff --git a/td/generate/scheme/td_api.tl b/td/generate/scheme/td_api.tl index 99d29363c..a89d203d8 100644 --- a/td/generate/scheme/td_api.tl +++ b/td/generate/scheme/td_api.tl @@ -1987,7 +1987,7 @@ basicGroupFullInfo photo:chatPhoto description:string creator_user_id:int53 memb //@has_location True, if the supergroup is connected to a location, i.e. the supergroup is a location-based supergroup //@sign_messages True, if messages sent to the channel contains name of the sender. This field is only applicable to channels //@show_message_sender True, if messages sent to the channel have information about the sender user. This field is only applicable to channels -//@join_to_send_messages True, if users need to join the supergroup before they can send messages. Can be false only for discussion supergroups and channel direct messages groups +//@join_to_send_messages True, if users need to join the supergroup before they can send messages. May be false only for discussion supergroups and channel direct messages groups //@join_by_request True, if all users directly joining the supergroup need to be approved by supergroup administrators. Always false for channels and supergroups without username, location, or a linked chat //@is_slow_mode_enabled True, if the slow mode is enabled in the supergroup //@is_channel True, if the supergroup is a channel @@ -4433,7 +4433,7 @@ messageGiftedStars gifter_user_id:int53 receiver_user_id:int53 currency:string a //@ton_amount The received amount of Toncoins, in the smallest units of the cryptocurrency //@transaction_id Identifier of the transaction for Toncoin credit; for receiver only //@sticker A sticker to be shown in the message; may be null if unknown -messageGiftedTon gifter_user_id:int53 receiver_user_id:int53 ton_amount:int64 transaction_id:string sticker:sticker = MessageContent; +messageGiftedTon gifter_user_id:int53 receiver_user_id:int53 ton_amount:int53 transaction_id:string sticker:sticker = MessageContent; //@description A Telegram Stars were received by the current user from a giveaway //@star_count Number of Telegram Stars that were received @@ -4526,7 +4526,7 @@ messageSuggestedPostDeclined suggested_post_message_id:int53 comment:string = Me //@suggested_post_message_id Identifier of the message with the suggested post; can be 0 if the message was deleted //@star_amount The amount of received Telegram Stars //@ton_amount The amount of received Toncoins; in the smallest units of the cryptocurrency -messageSuggestedPostPaid suggested_post_message_id:int53 star_amount:starAmount ton_amount:int64 = MessageContent; +messageSuggestedPostPaid suggested_post_message_id:int53 star_amount:starAmount ton_amount:int53 = MessageContent; //@description A suggested post was refunded //@suggested_post_message_id Identifier of the message with the suggested post; can be 0 if the message was deleted @@ -11774,8 +11774,8 @@ declineSuggestedPost chat_id:int53 message_id:int53 comment:string = Ok; //-Returns the sent message //@chat_id Identifier of the channel direct messages chat //@message_id Identifier of the message in the chat which will be sent as suggested post. Use messageProperties.can_add_offer to check whether an offer can be added -//-or messageProperties.can_change_suggested_post_info to check whether price or time of sending of the post can be changed -//@options Options to be used to send the message. New information about the suggested post must be always specified +//-or messageProperties.can_edit_suggested_post_info to check whether price or time of sending of the post can be changed +//@options Options to be used to send the message. New information about the suggested post must always be specified addOffer chat_id:int53 message_id:int53 options:messageSendOptions = Message; diff --git a/td/telegram/CurrencyAmount.cpp b/td/telegram/CurrencyAmount.cpp index adc9dadf0..c2cae5c85 100644 --- a/td/telegram/CurrencyAmount.cpp +++ b/td/telegram/CurrencyAmount.cpp @@ -6,8 +6,6 @@ // #include "td/telegram/CurrencyAmount.h" -#include "td/utils/logging.h" - namespace td { CurrencyAmount::CurrencyAmount(telegram_api::object_ptr<telegram_api::StarsAmount> &&amount_ptr, bool allow_negative) { diff --git a/td/telegram/CurrencyAmount.h b/td/telegram/CurrencyAmount.h index 907e0a934..1c26b1967 100644 --- a/td/telegram/CurrencyAmount.h +++ b/td/telegram/CurrencyAmount.h @@ -7,7 +7,6 @@ #pragma once #include "td/telegram/StarAmount.h" -#include "td/telegram/td_api.h" #include "td/telegram/telegram_api.h" #include "td/telegram/TonAmount.h" diff --git a/td/telegram/MessageImportManager.cpp b/td/telegram/MessageImportManager.cpp index 05f5a7d17..714551ac6 100644 --- a/td/telegram/MessageImportManager.cpp +++ b/td/telegram/MessageImportManager.cpp @@ -13,7 +13,6 @@ #include "td/telegram/files/FileManager.h" #include "td/telegram/files/FileType.h" #include "td/telegram/Global.h" -#include "td/telegram/MessageContent.h" #include "td/telegram/Td.h" #include "td/telegram/telegram_api.h" #include "td/telegram/UserManager.h" diff --git a/td/telegram/MessageImportManager.h b/td/telegram/MessageImportManager.h index 8f1415673..409637077 100644 --- a/td/telegram/MessageImportManager.h +++ b/td/telegram/MessageImportManager.h @@ -7,6 +7,7 @@ #pragma once #include "td/telegram/DialogId.h" +#include "td/telegram/files/FileId.h" #include "td/telegram/files/FileUploadId.h" #include "td/telegram/td_api.h" #include "td/telegram/telegram_api.h" diff --git a/td/telegram/MessageQueryManager.cpp b/td/telegram/MessageQueryManager.cpp index 6d3220213..ed8c63625 100644 --- a/td/telegram/MessageQueryManager.cpp +++ b/td/telegram/MessageQueryManager.cpp @@ -23,6 +23,7 @@ #include "td/telegram/logevent/LogEvent.h" #include "td/telegram/logevent/LogEventHelper.h" #include "td/telegram/MessageContent.h" +#include "td/telegram/MessageContentType.h" #include "td/telegram/MessageEntity.h" #include "td/telegram/MessageReaction.h" #include "td/telegram/MessageSearchOffset.h" diff --git a/td/telegram/TonAmount.h b/td/telegram/TonAmount.h index fcc06667b..8113beacd 100644 --- a/td/telegram/TonAmount.h +++ b/td/telegram/TonAmount.h @@ -6,7 +6,6 @@ // #pragma once -#include "td/telegram/td_api.h" #include "td/telegram/telegram_api.h" #include "td/utils/common.h" diff --git a/td/telegram/UpdatesManager.cpp b/td/telegram/UpdatesManager.cpp index 9c844f734..22abd0dde 100644 --- a/td/telegram/UpdatesManager.cpp +++ b/td/telegram/UpdatesManager.cpp @@ -85,6 +85,7 @@ #include "td/telegram/telegram_api.hpp" #include "td/telegram/ThemeManager.h" #include "td/telegram/TimeZoneManager.h" +#include "td/telegram/TonAmount.h" #include "td/telegram/TranscriptionManager.h" #include "td/telegram/UserManager.h" #include "td/telegram/Usernames.h" |
