Minor improvements.

This commit is contained in:
levlam 2024-04-24 01:00:43 +03:00
parent 98a24f41aa
commit 275cf20362
7 changed files with 4 additions and 8 deletions

View File

@ -22,8 +22,8 @@ BusinessChatLink::BusinessChatLink(const UserManager *user_manager,
}
td_api::object_ptr<td_api::businessChatLink> BusinessChatLink::get_business_chat_link_object() const {
return td_api::make_object<td_api::businessChatLink>(
link_, get_formatted_text_object(text_, true, -1), title_, view_count_);
return td_api::make_object<td_api::businessChatLink>(link_, get_formatted_text_object(text_, true, -1), title_,
view_count_);
}
StringBuilder &operator<<(StringBuilder &string_builder, const BusinessChatLink &link) {

View File

@ -13,7 +13,6 @@
#include "td/telegram/MessageEntity.h"
#include "td/telegram/MessageSelfDestructType.h"
#include "td/telegram/MessagesManager.h"
#include "td/telegram/misc.h"
#include "td/telegram/Td.h"
#include "td/telegram/telegram_api.h"
#include "td/telegram/UpdatesManager.h"

View File

@ -11,7 +11,6 @@
#include "td/telegram/DialogId.h"
#include "td/telegram/DialogManager.h"
#include "td/telegram/InputDialogId.h"
#include "td/telegram/misc.h"
#include "td/telegram/ServerMessageId.h"
#include "td/telegram/StoryId.h"
#include "td/telegram/Td.h"

View File

@ -18,7 +18,6 @@
#include "td/telegram/MessageId.h"
#include "td/telegram/MessageSender.h"
#include "td/telegram/MessagesManager.h"
#include "td/telegram/misc.h"
#include "td/telegram/PollId.hpp"
#include "td/telegram/PollManager.hpp"
#include "td/telegram/StateManager.h"

View File

@ -13,7 +13,6 @@
#include "td/telegram/MessageCopyOptions.h"
#include "td/telegram/MessageFullId.h"
#include "td/telegram/MessagesManager.h"
#include "td/telegram/misc.h"
#include "td/telegram/OptionManager.h"
#include "td/telegram/ScheduledServerMessageId.h"
#include "td/telegram/ServerMessageId.h"

View File

@ -7,7 +7,6 @@
#include "td/telegram/TermsOfService.h"
#include "td/telegram/Global.h"
#include "td/telegram/misc.h"
#include "td/telegram/net/NetQueryCreator.h"
#include "td/telegram/Td.h"
#include "td/telegram/telegram_api.h"

View File

@ -12,8 +12,9 @@
#if TD_PORT_POSIX
#include <fcntl.h>
#include <unistd.h>
#include <sys/socket.h>
#include <sys/types.h>
#include <unistd.h>
#endif
#if TD_FD_DEBUG