diff --git a/src/adaptors/auto_send.rs b/src/adaptors/auto_send.rs index 76a8cf57..8f445a86 100644 --- a/src/adaptors/auto_send.rs +++ b/src/adaptors/auto_send.rs @@ -83,30 +83,103 @@ where type Err = B::Err; requester_forward! { - get_me, log_out, close, get_updates, set_webhook, delete_webhook, get_webhook_info, - forward_message, copy_message, send_message, send_photo, send_audio, send_document, - send_video, send_animation, send_voice, send_video_note, send_media_group, send_location, - edit_message_live_location, edit_message_live_location_inline, - stop_message_live_location, stop_message_live_location_inline, send_venue, - send_contact, send_poll, send_dice, send_chat_action, get_user_profile_photos, - get_file, kick_chat_member, ban_chat_member, unban_chat_member, restrict_chat_member, - promote_chat_member, set_chat_administrator_custom_title, - ban_chat_sender_chat, unban_chat_sender_chat, set_chat_permissions, - export_chat_invite_link, create_chat_invite_link, edit_chat_invite_link, - revoke_chat_invite_link, set_chat_photo, delete_chat_photo, set_chat_title, - set_chat_description, pin_chat_message, unpin_chat_message, unpin_all_chat_messages, - leave_chat, get_chat, get_chat_administrators, get_chat_members_count, get_chat_member_count, get_chat_member, - set_chat_sticker_set, delete_chat_sticker_set, answer_callback_query, - set_my_commands, get_my_commands, set_chat_menu_button, get_chat_menu_button, set_my_default_administrator_rights, get_my_default_administrator_rights, delete_my_commands, answer_inline_query, answer_web_app_query, edit_message_text, - edit_message_text_inline, edit_message_caption, edit_message_caption_inline, - edit_message_media, edit_message_media_inline, edit_message_reply_markup, - edit_message_reply_markup_inline, stop_poll, delete_message, send_sticker, - get_sticker_set, upload_sticker_file, create_new_sticker_set, - add_sticker_to_set, set_sticker_position_in_set, delete_sticker_from_set, - set_sticker_set_thumb, send_invoice, answer_shipping_query, - answer_pre_checkout_query, set_passport_data_errors, send_game, - set_game_score, set_game_score_inline, get_game_high_scores, - approve_chat_join_request, decline_chat_join_request => f, fty + get_me, + log_out, + close, + get_updates, + set_webhook, + delete_webhook, + get_webhook_info, + forward_message, + copy_message, + send_message, + send_photo, + send_audio, + send_document, + send_video, + send_animation, + send_voice, + send_video_note, + send_media_group, + send_location, + edit_message_live_location, + edit_message_live_location_inline, + stop_message_live_location, + stop_message_live_location_inline, + send_venue, + send_contact, + send_poll, + send_dice, + send_chat_action, + get_user_profile_photos, + get_file, + kick_chat_member, + ban_chat_member, + unban_chat_member, + restrict_chat_member, + promote_chat_member, + set_chat_administrator_custom_title, + ban_chat_sender_chat, + unban_chat_sender_chat, + set_chat_permissions, + export_chat_invite_link, + create_chat_invite_link, + edit_chat_invite_link, + revoke_chat_invite_link, + set_chat_photo, + delete_chat_photo, + set_chat_title, + set_chat_description, + pin_chat_message, + unpin_chat_message, + unpin_all_chat_messages, + leave_chat, + get_chat, + get_chat_administrators, + get_chat_members_count, + get_chat_member_count, + get_chat_member, + set_chat_sticker_set, + delete_chat_sticker_set, + answer_callback_query, + set_my_commands, + get_my_commands, + set_chat_menu_button, + get_chat_menu_button, + set_my_default_administrator_rights, + get_my_default_administrator_rights, + delete_my_commands, + answer_inline_query, + answer_web_app_query, + edit_message_text, + edit_message_text_inline, + edit_message_caption, + edit_message_caption_inline, + edit_message_media, + edit_message_media_inline, + edit_message_reply_markup, + edit_message_reply_markup_inline, + stop_poll, + delete_message, + send_sticker, + get_sticker_set, + upload_sticker_file, + create_new_sticker_set, + add_sticker_to_set, + set_sticker_position_in_set, + delete_sticker_from_set, + set_sticker_set_thumb, + send_invoice, + answer_shipping_query, + answer_pre_checkout_query, + set_passport_data_errors, + send_game, + set_game_score, + set_game_score_inline, + get_game_high_scores, + approve_chat_join_request, + decline_chat_join_request + => f, fty } } diff --git a/src/adaptors/cache_me.rs b/src/adaptors/cache_me.rs index 66909f25..05798cda 100644 --- a/src/adaptors/cache_me.rs +++ b/src/adaptors/cache_me.rs @@ -90,30 +90,102 @@ where } requester_forward! { - log_out, close, get_updates, set_webhook, delete_webhook, get_webhook_info, - forward_message, copy_message, send_message, send_photo, send_audio, send_document, - send_video, send_animation, send_voice, send_video_note, send_media_group, send_location, - edit_message_live_location, edit_message_live_location_inline, - stop_message_live_location, stop_message_live_location_inline, send_venue, - send_contact, send_poll, send_dice, send_chat_action, get_user_profile_photos, - get_file, kick_chat_member, ban_chat_member, unban_chat_member, restrict_chat_member, - promote_chat_member, set_chat_administrator_custom_title, - ban_chat_sender_chat, unban_chat_sender_chat, set_chat_permissions, - export_chat_invite_link, create_chat_invite_link, edit_chat_invite_link, - revoke_chat_invite_link, set_chat_photo, delete_chat_photo, set_chat_title, - set_chat_description, pin_chat_message, unpin_chat_message, unpin_all_chat_messages, - leave_chat, get_chat, get_chat_administrators, get_chat_members_count, get_chat_member_count, get_chat_member, - set_chat_sticker_set, delete_chat_sticker_set, answer_callback_query, - set_my_commands, get_my_commands, set_chat_menu_button, get_chat_menu_button, set_my_default_administrator_rights, get_my_default_administrator_rights, delete_my_commands, answer_inline_query, answer_web_app_query, edit_message_text, - edit_message_text_inline, edit_message_caption, edit_message_caption_inline, - edit_message_media, edit_message_media_inline, edit_message_reply_markup, - edit_message_reply_markup_inline, stop_poll, delete_message, send_sticker, - get_sticker_set, upload_sticker_file, create_new_sticker_set, - add_sticker_to_set, set_sticker_position_in_set, delete_sticker_from_set, - set_sticker_set_thumb, send_invoice, answer_shipping_query, - answer_pre_checkout_query, set_passport_data_errors, send_game, - set_game_score, set_game_score_inline, get_game_high_scores, - approve_chat_join_request, decline_chat_join_request => f, fty + log_out, + close, + get_updates, + set_webhook, + delete_webhook, + get_webhook_info, + forward_message, + copy_message, + send_message, + send_photo, + send_audio, + send_document, + send_video, + send_animation, + send_voice, + send_video_note, + send_media_group, + send_location, + edit_message_live_location, + edit_message_live_location_inline, + stop_message_live_location, + stop_message_live_location_inline, + send_venue, + send_contact, + send_poll, + send_dice, + send_chat_action, + get_user_profile_photos, + get_file, + kick_chat_member, + ban_chat_member, + unban_chat_member, + restrict_chat_member, + promote_chat_member, + set_chat_administrator_custom_title, + ban_chat_sender_chat, + unban_chat_sender_chat, + set_chat_permissions, + export_chat_invite_link, + create_chat_invite_link, + edit_chat_invite_link, + revoke_chat_invite_link, + set_chat_photo, + delete_chat_photo, + set_chat_title, + set_chat_description, + pin_chat_message, + unpin_chat_message, + unpin_all_chat_messages, + leave_chat, + get_chat, + get_chat_administrators, + get_chat_members_count, + get_chat_member_count, + get_chat_member, + set_chat_sticker_set, + delete_chat_sticker_set, + answer_callback_query, + set_my_commands, + get_my_commands, + set_chat_menu_button, + get_chat_menu_button, + set_my_default_administrator_rights, + get_my_default_administrator_rights, + delete_my_commands, + answer_inline_query, + answer_web_app_query, + edit_message_text, + edit_message_text_inline, + edit_message_caption, + edit_message_caption_inline, + edit_message_media, + edit_message_media_inline, + edit_message_reply_markup, + edit_message_reply_markup_inline, + stop_poll, + delete_message, + send_sticker, + get_sticker_set, + upload_sticker_file, + create_new_sticker_set, + add_sticker_to_set, + set_sticker_position_in_set, + delete_sticker_from_set, + set_sticker_set_thumb, + send_invoice, + answer_shipping_query, + answer_pre_checkout_query, + set_passport_data_errors, + send_game, + set_game_score, + set_game_score_inline, + get_game_high_scores, + approve_chat_join_request, + decline_chat_join_request + => f, fty } } diff --git a/src/adaptors/erased.rs b/src/adaptors/erased.rs index 1eb57243..6c98cbd0 100644 --- a/src/adaptors/erased.rs +++ b/src/adaptors/erased.rs @@ -156,30 +156,103 @@ where type Err = Err; requester_forward! { - get_me, log_out, close, get_updates, set_webhook, delete_webhook, get_webhook_info, - forward_message, copy_message, send_message, send_photo, send_audio, send_document, - send_video, send_animation, send_voice, send_video_note, send_media_group, send_location, - edit_message_live_location, edit_message_live_location_inline, - stop_message_live_location, stop_message_live_location_inline, send_venue, - send_contact, send_poll, send_dice, send_chat_action, get_user_profile_photos, - get_file, kick_chat_member, ban_chat_member, unban_chat_member, restrict_chat_member, - promote_chat_member, set_chat_administrator_custom_title, - ban_chat_sender_chat, unban_chat_sender_chat, set_chat_permissions, - export_chat_invite_link, create_chat_invite_link, edit_chat_invite_link, - revoke_chat_invite_link, set_chat_photo, delete_chat_photo, set_chat_title, - set_chat_description, pin_chat_message, unpin_chat_message, unpin_all_chat_messages, - leave_chat, get_chat, get_chat_administrators, get_chat_members_count, get_chat_member_count, get_chat_member, - set_chat_sticker_set, delete_chat_sticker_set, answer_callback_query, - set_my_commands, get_my_commands, set_chat_menu_button, get_chat_menu_button, set_my_default_administrator_rights, get_my_default_administrator_rights, delete_my_commands, answer_inline_query, answer_web_app_query, edit_message_text, - edit_message_text_inline, edit_message_caption, edit_message_caption_inline, - edit_message_media, edit_message_media_inline, edit_message_reply_markup, - edit_message_reply_markup_inline, stop_poll, delete_message, send_sticker, - get_sticker_set, upload_sticker_file, create_new_sticker_set, - add_sticker_to_set, set_sticker_position_in_set, delete_sticker_from_set, - set_sticker_set_thumb, send_invoice, answer_shipping_query, - answer_pre_checkout_query, set_passport_data_errors, send_game, - set_game_score, set_game_score_inline, get_game_high_scores, - approve_chat_join_request, decline_chat_join_request => fwd_erased, fty + get_me, + log_out, + close, + get_updates, + set_webhook, + delete_webhook, + get_webhook_info, + forward_message, + copy_message, + send_message, + send_photo, + send_audio, + send_document, + send_video, + send_animation, + send_voice, + send_video_note, + send_media_group, + send_location, + edit_message_live_location, + edit_message_live_location_inline, + stop_message_live_location, + stop_message_live_location_inline, + send_venue, + send_contact, + send_poll, + send_dice, + send_chat_action, + get_user_profile_photos, + get_file, + kick_chat_member, + ban_chat_member, + unban_chat_member, + restrict_chat_member, + promote_chat_member, + set_chat_administrator_custom_title, + ban_chat_sender_chat, + unban_chat_sender_chat, + set_chat_permissions, + export_chat_invite_link, + create_chat_invite_link, + edit_chat_invite_link, + revoke_chat_invite_link, + set_chat_photo, + delete_chat_photo, + set_chat_title, + set_chat_description, + pin_chat_message, + unpin_chat_message, + unpin_all_chat_messages, + leave_chat, + get_chat, + get_chat_administrators, + get_chat_members_count, + get_chat_member_count, + get_chat_member, + set_chat_sticker_set, + delete_chat_sticker_set, + answer_callback_query, + set_my_commands, + get_my_commands, + set_chat_menu_button, + get_chat_menu_button, + set_my_default_administrator_rights, + get_my_default_administrator_rights, + delete_my_commands, + answer_inline_query, + answer_web_app_query, + edit_message_text, + edit_message_text_inline, + edit_message_caption, + edit_message_caption_inline, + edit_message_media, + edit_message_media_inline, + edit_message_reply_markup, + edit_message_reply_markup_inline, + stop_poll, + delete_message, + send_sticker, + get_sticker_set, + upload_sticker_file, + create_new_sticker_set, + add_sticker_to_set, + set_sticker_position_in_set, + delete_sticker_from_set, + set_sticker_set_thumb, + send_invoice, + answer_shipping_query, + answer_pre_checkout_query, + set_passport_data_errors, + send_game, + set_game_score, + set_game_score_inline, + get_game_high_scores, + approve_chat_join_request, + decline_chat_join_request + => fwd_erased, fty } } diff --git a/src/adaptors/parse_mode.rs b/src/adaptors/parse_mode.rs index d896a411..d5b749dc 100644 --- a/src/adaptors/parse_mode.rs +++ b/src/adaptors/parse_mode.rs @@ -96,28 +96,91 @@ impl<B: Requester> Requester for DefaultParseMode<B> { } requester_forward! { - get_me, log_out, close, get_updates, set_webhook, delete_webhook, get_webhook_info, - forward_message, copy_message, send_video_note, send_media_group, send_location, - edit_message_live_location, edit_message_live_location_inline, - stop_message_live_location, stop_message_live_location_inline, send_venue, - send_contact, send_dice, send_chat_action, get_user_profile_photos, - get_file, kick_chat_member, ban_chat_member, unban_chat_member, restrict_chat_member, - promote_chat_member, set_chat_administrator_custom_title, - ban_chat_sender_chat, unban_chat_sender_chat, set_chat_permissions, - export_chat_invite_link, create_chat_invite_link, edit_chat_invite_link, - revoke_chat_invite_link, set_chat_photo, delete_chat_photo, set_chat_title, - set_chat_description, pin_chat_message, unpin_chat_message, unpin_all_chat_messages, - leave_chat, get_chat, get_chat_administrators, get_chat_members_count, get_chat_member_count, get_chat_member, - set_chat_sticker_set, delete_chat_sticker_set, answer_callback_query, - set_my_commands, get_my_commands, set_chat_menu_button, get_chat_menu_button, set_my_default_administrator_rights, get_my_default_administrator_rights, delete_my_commands, answer_inline_query, answer_web_app_query, - edit_message_media, edit_message_media_inline, edit_message_reply_markup, - edit_message_reply_markup_inline, stop_poll, delete_message, send_sticker, - get_sticker_set, upload_sticker_file, create_new_sticker_set, - add_sticker_to_set, set_sticker_position_in_set, delete_sticker_from_set, - set_sticker_set_thumb, send_invoice, answer_shipping_query, - answer_pre_checkout_query, set_passport_data_errors, send_game, - set_game_score, set_game_score_inline, get_game_high_scores, - approve_chat_join_request, decline_chat_join_request => fid, fty + get_me, + log_out, + close, + get_updates, + set_webhook, + delete_webhook, + get_webhook_info, + forward_message, + copy_message, + send_video_note, + send_media_group, + send_location, + edit_message_live_location, + edit_message_live_location_inline, + stop_message_live_location, + stop_message_live_location_inline, + send_venue, + send_contact, + send_dice, + send_chat_action, + get_user_profile_photos, + get_file, + kick_chat_member, + ban_chat_member, + unban_chat_member, + restrict_chat_member, + promote_chat_member, + set_chat_administrator_custom_title, + ban_chat_sender_chat, + unban_chat_sender_chat, + set_chat_permissions, + export_chat_invite_link, + create_chat_invite_link, + edit_chat_invite_link, + revoke_chat_invite_link, + set_chat_photo, + delete_chat_photo, + set_chat_title, + set_chat_description, + pin_chat_message, + unpin_chat_message, + unpin_all_chat_messages, + leave_chat, + get_chat, + get_chat_administrators, + get_chat_members_count, + get_chat_member_count, + get_chat_member, + set_chat_sticker_set, + delete_chat_sticker_set, + answer_callback_query, + set_my_commands, + get_my_commands, + set_chat_menu_button, + get_chat_menu_button, + set_my_default_administrator_rights, + get_my_default_administrator_rights, + delete_my_commands, + answer_inline_query, + answer_web_app_query, + edit_message_media, + edit_message_media_inline, + edit_message_reply_markup, + edit_message_reply_markup_inline, + stop_poll, + delete_message, + send_sticker, + get_sticker_set, + upload_sticker_file, + create_new_sticker_set, + add_sticker_to_set, + set_sticker_position_in_set, + delete_sticker_from_set, + set_sticker_set_thumb, + send_invoice, + answer_shipping_query, + answer_pre_checkout_query, + set_passport_data_errors, + send_game, + set_game_score, + set_game_score_inline, + get_game_high_scores, + approve_chat_join_request, + decline_chat_join_request + => fid, fty } } diff --git a/src/adaptors/throttle/requester_impl.rs b/src/adaptors/throttle/requester_impl.rs index a2661eed..c7764172 100644 --- a/src/adaptors/throttle/requester_impl.rs +++ b/src/adaptors/throttle/requester_impl.rs @@ -63,35 +63,107 @@ where type Err = B::Err; requester_forward! { - send_message, forward_message, copy_message, send_photo, send_audio, - send_document, send_video, send_animation, send_voice, send_video_note, - send_media_group, send_location, send_venue, send_contact, send_poll, - send_dice, send_sticker, send_invoice => f, fty + send_message, + forward_message, + copy_message, + send_photo, + send_audio, + send_document, + send_video, + send_animation, + send_voice, + send_video_note, + send_media_group, + send_location, + send_venue, + send_contact, + send_poll, + send_dice, + send_sticker, + send_invoice + => f, fty } requester_forward! { - get_me, log_out, close, get_updates, set_webhook, delete_webhook, get_webhook_info, - edit_message_live_location, edit_message_live_location_inline, - stop_message_live_location, stop_message_live_location_inline, - send_chat_action, get_user_profile_photos, get_file, kick_chat_member, ban_chat_member, - unban_chat_member, restrict_chat_member, promote_chat_member, + get_me, + log_out, + close, + get_updates, + set_webhook, + delete_webhook, + get_webhook_info, + edit_message_live_location, + edit_message_live_location_inline, + stop_message_live_location, + stop_message_live_location_inline, + send_chat_action, + get_user_profile_photos, + get_file, + kick_chat_member, + ban_chat_member, + unban_chat_member, + restrict_chat_member, + promote_chat_member, set_chat_administrator_custom_title, - ban_chat_sender_chat, unban_chat_sender_chat, set_chat_permissions, - export_chat_invite_link, create_chat_invite_link, edit_chat_invite_link, - revoke_chat_invite_link, set_chat_photo, delete_chat_photo, set_chat_title, - set_chat_description, pin_chat_message, unpin_chat_message, unpin_all_chat_messages, - leave_chat, get_chat, get_chat_administrators, get_chat_members_count, get_chat_member_count, - get_chat_member, set_chat_sticker_set, delete_chat_sticker_set, - answer_callback_query, set_my_commands, get_my_commands, set_chat_menu_button, get_chat_menu_button, set_my_default_administrator_rights, get_my_default_administrator_rights, delete_my_commands, answer_inline_query, answer_web_app_query, - edit_message_text, edit_message_text_inline, edit_message_caption, - edit_message_caption_inline, edit_message_media, edit_message_media_inline, - edit_message_reply_markup, edit_message_reply_markup_inline, stop_poll, - delete_message, get_sticker_set, upload_sticker_file, create_new_sticker_set, - add_sticker_to_set, set_sticker_position_in_set, delete_sticker_from_set, - set_sticker_set_thumb, answer_shipping_query, answer_pre_checkout_query, - set_passport_data_errors, send_game, set_game_score, set_game_score_inline, - approve_chat_join_request, decline_chat_join_request, - get_game_high_scores => fid, ftyid + ban_chat_sender_chat, + unban_chat_sender_chat, + set_chat_permissions, + export_chat_invite_link, + create_chat_invite_link, + edit_chat_invite_link, + revoke_chat_invite_link, + set_chat_photo, + delete_chat_photo, + set_chat_title, + set_chat_description, + pin_chat_message, + unpin_chat_message, + unpin_all_chat_messages, + leave_chat, + get_chat, + get_chat_administrators, + get_chat_members_count, + get_chat_member_count, + get_chat_member, + set_chat_sticker_set, + delete_chat_sticker_set, + answer_callback_query, + set_my_commands, + get_my_commands, + set_chat_menu_button, + get_chat_menu_button, + set_my_default_administrator_rights, + get_my_default_administrator_rights, + delete_my_commands, + answer_inline_query, + answer_web_app_query, + edit_message_text, + edit_message_text_inline, + edit_message_caption, + edit_message_caption_inline, + edit_message_media, + edit_message_media_inline, + edit_message_reply_markup, + edit_message_reply_markup_inline, + stop_poll, + delete_message, + get_sticker_set, + upload_sticker_file, + create_new_sticker_set, + add_sticker_to_set, + set_sticker_position_in_set, + delete_sticker_from_set, + set_sticker_set_thumb, + answer_shipping_query, + answer_pre_checkout_query, + set_passport_data_errors, + send_game, + set_game_score, + set_game_score_inline, + approve_chat_join_request, + decline_chat_join_request, + get_game_high_scores + => fid, ftyid } } diff --git a/src/adaptors/trace.rs b/src/adaptors/trace.rs index 33c2d616..46b9db15 100644 --- a/src/adaptors/trace.rs +++ b/src/adaptors/trace.rs @@ -115,30 +115,103 @@ where type Err = B::Err; requester_forward! { - get_me, log_out, close, get_updates, set_webhook, delete_webhook, get_webhook_info, - forward_message, copy_message, send_message, send_photo, send_audio, send_document, - send_video, send_animation, send_voice, send_video_note, send_media_group, send_location, - edit_message_live_location, edit_message_live_location_inline, - stop_message_live_location, stop_message_live_location_inline, send_venue, - send_contact, send_poll, send_dice, send_chat_action, get_user_profile_photos, - get_file, kick_chat_member, ban_chat_member, unban_chat_member, restrict_chat_member, - promote_chat_member, set_chat_administrator_custom_title, - ban_chat_sender_chat, unban_chat_sender_chat, set_chat_permissions, - export_chat_invite_link, create_chat_invite_link, edit_chat_invite_link, - revoke_chat_invite_link, set_chat_photo, delete_chat_photo, set_chat_title, - set_chat_description, pin_chat_message, unpin_chat_message, unpin_all_chat_messages, - leave_chat, get_chat, get_chat_administrators, get_chat_members_count, get_chat_member_count, get_chat_member, - set_chat_sticker_set, delete_chat_sticker_set, answer_callback_query, - set_my_commands, get_my_commands, set_chat_menu_button, get_chat_menu_button, set_my_default_administrator_rights, get_my_default_administrator_rights, delete_my_commands, answer_inline_query, answer_web_app_query, edit_message_text, - edit_message_text_inline, edit_message_caption, edit_message_caption_inline, - edit_message_media, edit_message_media_inline, edit_message_reply_markup, - edit_message_reply_markup_inline, stop_poll, delete_message, send_sticker, - get_sticker_set, upload_sticker_file, create_new_sticker_set, - add_sticker_to_set, set_sticker_position_in_set, delete_sticker_from_set, - set_sticker_set_thumb, send_invoice, answer_shipping_query, - answer_pre_checkout_query, set_passport_data_errors, send_game, - set_game_score, set_game_score_inline, get_game_high_scores, - approve_chat_join_request, decline_chat_join_request => fwd_inner, fty + get_me, + log_out, + close, + get_updates, + set_webhook, + delete_webhook, + get_webhook_info, + forward_message, + copy_message, + send_message, + send_photo, + send_audio, + send_document, + send_video, + send_animation, + send_voice, + send_video_note, + send_media_group, + send_location, + edit_message_live_location, + edit_message_live_location_inline, + stop_message_live_location, + stop_message_live_location_inline, + send_venue, + send_contact, + send_poll, + send_dice, + send_chat_action, + get_user_profile_photos, + get_file, + kick_chat_member, + ban_chat_member, + unban_chat_member, + restrict_chat_member, + promote_chat_member, + set_chat_administrator_custom_title, + ban_chat_sender_chat, + unban_chat_sender_chat, + set_chat_permissions, + export_chat_invite_link, + create_chat_invite_link, + edit_chat_invite_link, + revoke_chat_invite_link, + set_chat_photo, + delete_chat_photo, + set_chat_title, + set_chat_description, + pin_chat_message, + unpin_chat_message, + unpin_all_chat_messages, + leave_chat, + get_chat, + get_chat_administrators, + get_chat_members_count, + get_chat_member_count, + get_chat_member, + set_chat_sticker_set, + delete_chat_sticker_set, + answer_callback_query, + set_my_commands, + get_my_commands, + set_chat_menu_button, + get_chat_menu_button, + set_my_default_administrator_rights, + get_my_default_administrator_rights, + delete_my_commands, + answer_inline_query, + answer_web_app_query, + edit_message_text, + edit_message_text_inline, + edit_message_caption, + edit_message_caption_inline, + edit_message_media, + edit_message_media_inline, + edit_message_reply_markup, + edit_message_reply_markup_inline, + stop_poll, + delete_message, + send_sticker, + get_sticker_set, + upload_sticker_file, + create_new_sticker_set, + add_sticker_to_set, + set_sticker_position_in_set, + delete_sticker_from_set, + set_sticker_set_thumb, + send_invoice, + answer_shipping_query, + answer_pre_checkout_query, + set_passport_data_errors, + send_game, + set_game_score, + set_game_score_inline, + get_game_high_scores, + approve_chat_join_request, + decline_chat_join_request + => fwd_inner, fty } } diff --git a/src/requests/requester.rs b/src/requests/requester.rs index fe474610..b15aee7b 100644 --- a/src/requests/requester.rs +++ b/src/requests/requester.rs @@ -925,30 +925,103 @@ macro_rules! fwd_deref { macro_rules! forward_all { () => { requester_forward! { - get_me, log_out, close, get_updates, set_webhook, delete_webhook, get_webhook_info, - forward_message, copy_message, send_message, send_photo, send_audio, send_document, - send_video, send_animation, send_voice, send_video_note, send_media_group, send_location, - edit_message_live_location, edit_message_live_location_inline, - stop_message_live_location, stop_message_live_location_inline, send_venue, - send_contact, send_poll, send_dice, send_chat_action, get_user_profile_photos, - get_file, kick_chat_member, ban_chat_member, unban_chat_member, restrict_chat_member, - promote_chat_member, set_chat_administrator_custom_title, - ban_chat_sender_chat, unban_chat_sender_chat, set_chat_permissions, - export_chat_invite_link, create_chat_invite_link, edit_chat_invite_link, - revoke_chat_invite_link, set_chat_photo, delete_chat_photo, set_chat_title, - set_chat_description, pin_chat_message, unpin_chat_message, unpin_all_chat_messages, - leave_chat, get_chat, get_chat_administrators, get_chat_members_count, get_chat_member_count, get_chat_member, - set_chat_sticker_set, delete_chat_sticker_set, answer_callback_query, - set_my_commands, get_my_commands, set_chat_menu_button, get_chat_menu_button, set_my_default_administrator_rights, get_my_default_administrator_rights, delete_my_commands, answer_inline_query, answer_web_app_query, edit_message_text, - edit_message_text_inline, edit_message_caption, edit_message_caption_inline, - edit_message_media, edit_message_media_inline, edit_message_reply_markup, - edit_message_reply_markup_inline, stop_poll, delete_message, send_sticker, - get_sticker_set, upload_sticker_file, create_new_sticker_set, - add_sticker_to_set, set_sticker_position_in_set, delete_sticker_from_set, - set_sticker_set_thumb, send_invoice, answer_shipping_query, - answer_pre_checkout_query, set_passport_data_errors, send_game, - set_game_score, set_game_score_inline, get_game_high_scores, - approve_chat_join_request, decline_chat_join_request => fwd_deref, fty + get_me, + log_out, + close, + get_updates, + set_webhook, + delete_webhook, + get_webhook_info, + forward_message, + copy_message, + send_message, + send_photo, + send_audio, + send_document, + send_video, + send_animation, + send_voice, + send_video_note, + send_media_group, + send_location, + edit_message_live_location, + edit_message_live_location_inline, + stop_message_live_location, + stop_message_live_location_inline, + send_venue, + send_contact, + send_poll, + send_dice, + send_chat_action, + get_user_profile_photos, + get_file, + kick_chat_member, + ban_chat_member, + unban_chat_member, + restrict_chat_member, + promote_chat_member, + set_chat_administrator_custom_title, + ban_chat_sender_chat, + unban_chat_sender_chat, + set_chat_permissions, + export_chat_invite_link, + create_chat_invite_link, + edit_chat_invite_link, + revoke_chat_invite_link, + set_chat_photo, + delete_chat_photo, + set_chat_title, + set_chat_description, + pin_chat_message, + unpin_chat_message, + unpin_all_chat_messages, + leave_chat, + get_chat, + get_chat_administrators, + get_chat_members_count, + get_chat_member_count, + get_chat_member, + set_chat_sticker_set, + delete_chat_sticker_set, + answer_callback_query, + set_my_commands, + get_my_commands, + set_chat_menu_button, + get_chat_menu_button, + set_my_default_administrator_rights, + get_my_default_administrator_rights, + delete_my_commands, + answer_inline_query, + answer_web_app_query, + edit_message_text, + edit_message_text_inline, + edit_message_caption, + edit_message_caption_inline, + edit_message_media, + edit_message_media_inline, + edit_message_reply_markup, + edit_message_reply_markup_inline, + stop_poll, + delete_message, + send_sticker, + get_sticker_set, + upload_sticker_file, + create_new_sticker_set, + add_sticker_to_set, + set_sticker_position_in_set, + delete_sticker_from_set, + set_sticker_set_thumb, + send_invoice, + answer_shipping_query, + answer_pre_checkout_query, + set_passport_data_errors, + send_game, + set_game_score, + set_game_score_inline, + get_game_high_scores, + approve_chat_join_request, + decline_chat_join_request + => fwd_deref, fty } }; }