Minor fixes.

This commit is contained in:
levlam 2024-02-15 17:19:19 +03:00
parent 78f3363486
commit da5ba34850
5 changed files with 3 additions and 4 deletions

View File

@ -8326,7 +8326,7 @@ addChatMember chat_id:int53 user_id:int53 forward_limit:int32 = Ok;
addChatMembers chat_id:int53 user_ids:vector<int53> = Ok;
//@description Changes the status of a chat member; requires can_invite_users member right to add a chat member, can_promote_members administrator right to change administrator rights of the member,
//-and can_restrict_members administrator right to change restirctions of a user. This function is currently not suitable for transferring chat ownership; use transferChatOwnership instead.
//-and can_restrict_members administrator right to change restrictions of a user. This function is currently not suitable for transferring chat ownership; use transferChatOwnership instead.
//-Use addChatMember or banChatMember if some additional parameters needs to be passed
//@chat_id Chat identifier
//@member_id Member identifier. Chats can be only banned and unbanned in supergroups and channels

View File

@ -7,7 +7,6 @@
#include "td/telegram/MessageInputReplyTo.h"
#include "td/telegram/AccessRights.h"
#include "td/telegram/ContactsManager.h"
#include "td/telegram/Dependencies.h"
#include "td/telegram/DialogId.h"
#include "td/telegram/DialogManager.h"
@ -17,7 +16,6 @@
#include "td/telegram/StoryId.h"
#include "td/telegram/Td.h"
#include "td/telegram/telegram_api.h"
#include "td/telegram/UserId.h"
#include "td/utils/logging.h"

View File

@ -8,7 +8,6 @@
#include "td/telegram/ServerMessageId.h"
#include "td/telegram/StoryId.h"
#include "td/telegram/UserId.h"
#include "td/utils/logging.h"

View File

@ -32,6 +32,7 @@
#include "td/utils/algorithm.h"
#include "td/utils/buffer.h"
#include "td/utils/FlatHashSet.h"
#include "td/utils/JsonBuilder.h"
#include "td/utils/logging.h"
#include "td/utils/misc.h"

View File

@ -21,6 +21,7 @@
#include "td/utils/emoji.h"
#include "td/utils/JsonBuilder.h"
#include "td/utils/logging.h"
#include "td/utils/Slice.h"
#include "td/utils/tl_helpers.h"
namespace td {