@@ -171,10 +171,9 @@ def get_title_list(s: str) -> list:
171171 delete_messages
172172 get_messages
173173 get_media_group
174- get_history
175- get_history_count
176- read_history
177- iter_history
174+ get_chat_history
175+ get_chat_history_count
176+ read_chat_history
178177 send_poll
179178 vote_poll
180179 stop_poll
@@ -185,7 +184,10 @@ def get_title_list(s: str) -> list:
185184 search_global
186185 search_global_count
187186 download_media
187+ stream_media
188188 get_discussion_message
189+ get_discussion_replies
190+ get_discussion_replies_count
189191 """ ,
190192 chats = """
191193 Chats
@@ -208,11 +210,9 @@ def get_title_list(s: str) -> list:
208210 get_chat_member
209211 get_chat_members
210212 get_chat_members_count
211- iter_chat_members
212213 get_dialogs
213- iter_dialogs
214214 get_dialogs_count
215- update_chat_username
215+ set_chat_username
216216 get_nearby_chats
217217 archive_chats
218218 unarchive_chats
@@ -235,12 +235,11 @@ def get_title_list(s: str) -> list:
235235 Users
236236 get_me
237237 get_users
238- get_profile_photos
239- get_profile_photos_count
240- iter_profile_photos
238+ get_chat_photos
239+ get_chat_photos_count
241240 set_profile_photo
242241 delete_profile_photos
243- update_username
242+ set_username
244243 update_profile
245244 block_user
246245 unblock_user
@@ -254,14 +253,17 @@ def get_title_list(s: str) -> list:
254253 edit_chat_invite_link
255254 revoke_chat_invite_link
256255 delete_chat_invite_link
257- get_chat_invite_link_members
258- get_chat_invite_link_members_count
256+ get_chat_invite_link_joiners
257+ get_chat_invite_link_joiners_count
259258 get_chat_admin_invite_links
260259 get_chat_admin_invite_links_count
261260 get_chat_admins_with_invite_links
261+ get_chat_join_requests
262262 delete_chat_admin_invite_links
263263 approve_chat_join_request
264+ approve_all_chat_join_requests
264265 decline_chat_join_request
266+ decline_all_chat_join_requests
265267 """ ,
266268 contacts = """
267269 Contacts
@@ -290,6 +292,11 @@ def get_title_list(s: str) -> list:
290292 set_bot_commands
291293 get_bot_commands
292294 delete_bot_commands
295+ set_bot_default_privileges
296+ get_bot_default_privileges
297+ set_chat_menu_button
298+ get_chat_menu_button
299+ answer_web_app_query
293300 """ ,
294301 authorization = """
295302 Authorization
@@ -311,7 +318,7 @@ def get_title_list(s: str) -> list:
311318 """ ,
312319 advanced = """
313320 Advanced
314- send
321+ invoke
315322 resolve_peer
316323 save_file
317324 """
@@ -339,7 +346,7 @@ def get_title_list(s: str) -> list:
339346 f2 .write (title + "\n " + "=" * len (title ) + "\n \n " )
340347 f2 .write (".. automethod:: pyrogram.Client.{}()" .format (method ))
341348
342- functions = ["idle" ]
349+ functions = ["idle" , "compose" ]
343350
344351 for func in functions :
345352 with open (root + "/{}.rst" .format (func ), "w" ) as f2 :
@@ -361,12 +368,14 @@ def get_title_list(s: str) -> list:
361368 ChatPhoto
362369 ChatMember
363370 ChatPermissions
371+ ChatPrivileges
364372 ChatInviteLink
365373 ChatAdminWithInviteLinks
366374 ChatEvent
367375 ChatEventFilter
368376 ChatMemberUpdated
369377 ChatJoinRequest
378+ ChatJoiner
370379 Dialog
371380 Restriction
372381 """ ,
@@ -392,10 +401,11 @@ def get_title_list(s: str) -> list:
392401 PollOption
393402 Dice
394403 Reaction
395- VoiceChatScheduled
396- VoiceChatStarted
397- VoiceChatEnded
398- VoiceChatMembersInvited
404+ VideoChatScheduled
405+ VideoChatStarted
406+ VideoChatEnded
407+ VideoChatMembersInvited
408+ WebAppData
399409 """ ,
400410 bot_keyboards = """
401411 Bot keyboards
@@ -409,6 +419,12 @@ def get_title_list(s: str) -> list:
409419 CallbackQuery
410420 GameHighScore
411421 CallbackGame
422+ WebAppInfo
423+ MenuButton
424+ MenuButtonCommands
425+ MenuButtonWebApp
426+ MenuButtonDefault
427+ SentWebAppMessage
412428 """ ,
413429 bot_commands = """
414430 Bot commands
@@ -436,11 +452,23 @@ def get_title_list(s: str) -> list:
436452 Inline Mode
437453 InlineQuery
438454 InlineQueryResult
455+ InlineQueryResultCachedAudio
456+ InlineQueryResultCachedDocument
457+ InlineQueryResultCachedAnimation
458+ InlineQueryResultCachedPhoto
459+ InlineQueryResultCachedSticker
460+ InlineQueryResultCachedVideo
461+ InlineQueryResultCachedVoice
439462 InlineQueryResultArticle
440- InlineQueryResultPhoto
441- InlineQueryResultAnimation
442463 InlineQueryResultAudio
464+ InlineQueryResultContact
465+ InlineQueryResultDocument
466+ InlineQueryResultAnimation
467+ InlineQueryResultLocation
468+ InlineQueryResultPhoto
469+ InlineQueryResultVenue
443470 InlineQueryResultVideo
471+ InlineQueryResultVoice
444472 ChosenInlineResult
445473 """ ,
446474 input_message_content = """
@@ -533,12 +561,12 @@ def get_title_list(s: str) -> list:
533561 Chat.promote_member
534562 Chat.get_member
535563 Chat.get_members
536- Chat.iter_members
537564 Chat.add_members
538565 Chat.join
539566 Chat.leave
540567 Chat.mark_unread
541568 Chat.set_protected_content
569+ Chat.unpin_all_messages
542570 """ ,
543571 user = """
544572 User
0 commit comments