TDLib.Client.send_custom_request – valagram-1 Reference Manual
Packages
valagram-1
TDLib
Client
client_id
timeout
version
Client
accept_call
accept_terms_of_service
activate_story_stealth_mode
add_bot_media_preview
add_chat_folder_by_invite_link
add_chat_member
add_chat_members
add_chat_to_list
add_contact
add_custom_server_language_pack
add_favorite_sticker
add_file_to_downloads
add_local_message
add_log_message
add_log_message_sync
add_message_reaction
add_network_statistics
add_pending_paid_message_reaction
add_proxy
add_quick_reply_shortcut_inline_query_result_message
add_quick_reply_shortcut_message
add_quick_reply_shortcut_message_album
add_recent_sticker
add_recently_found_chat
add_saved_animation
add_saved_notification_sound
add_sticker_to_set
allow_bot_to_send_messages
allow_unpaid_messages_from_user
answer_callback_query
answer_custom_query
answer_inline_query
answer_pre_checkout_query
answer_shipping_query
answer_web_app_query
apply_premium_gift_code
assign_store_transaction
ban_chat_member
ban_group_call_participants
block_message_sender_from_replies
boost_chat
can_bot_send_messages
can_post_story
can_purchase_from_store
can_send_message_to_user
can_transfer_ownership
cancel_download_file
cancel_password_reset
cancel_preliminary_upload_file
cancel_recovery_email_address_verification
change_imported_contacts
change_sticker_set
check_authentication_bot_token
check_authentication_code
check_authentication_email_code
check_authentication_password
check_authentication_password_recovery_code
check_authentication_premium_purchase
check_chat_folder_invite_link
check_chat_invite_link
check_chat_username
check_created_public_chats_limit
check_email_address_verification_code
check_login_email_address_code
check_password_recovery_code
check_phone_number_code
check_premium_gift_code
check_quick_reply_shortcut_name
check_quick_reply_shortcut_name_sync
check_recovery_email_address_code
check_sticker_set_name
check_web_app_file_download
clean_file_name
clean_file_name_sync
clear_all_draft_messages
clear_autosave_settings_exceptions
clear_imported_contacts
clear_recent_emoji_statuses
clear_recent_reactions
clear_recent_stickers
clear_recently_found_chats
clear_searched_for_tags
click_animated_emoji_message
click_chat_sponsored_message
click_premium_subscription_button
close
close_chat
close_secret_chat
close_story
close_web_app
commit_pending_paid_message_reactions
confirm_qr_code_authentication
confirm_session
connect_affiliate_program
create_basic_group_chat
create_business_chat_link
create_call
create_chat_folder
create_chat_folder_invite_link
create_chat_invite_link
create_chat_subscription_invite_link
create_forum_topic
create_group_call
create_invoice_link
create_new_basic_group_chat
create_new_secret_chat
create_new_sticker_set
create_new_supergroup_chat
create_private_chat
create_secret_chat
create_supergroup_chat
create_temporary_password
create_video_chat
decline_group_call_invitation
decrypt_group_call_data
delete_account
delete_all_call_messages
delete_all_revoked_chat_invite_links
delete_bot_media_previews
delete_business_chat_link
delete_business_connected_bot
delete_business_messages
delete_business_story
delete_chat
delete_chat_background
delete_chat_folder
delete_chat_folder_invite_link
delete_chat_history
delete_chat_messages_by_date
delete_chat_messages_by_sender
delete_chat_reply_markup
delete_commands
delete_default_background
delete_file
delete_forum_topic
delete_language_pack
delete_messages
delete_passport_element
delete_profile_photo
delete_quick_reply_shortcut
delete_quick_reply_shortcut_messages
delete_revoked_chat_invite_link
delete_saved_credentials
delete_saved_messages_topic_history
delete_saved_messages_topic_messages_by_date
delete_saved_order_info
delete_sticker_set
delete_story
destroy
disable_all_supergroup_usernames
disable_proxy
discard_call
disconnect_affiliate_program
disconnect_all_websites
disconnect_website
download_file
edit_bot_media_preview
edit_business_chat_link
edit_business_message_caption
edit_business_message_live_location
edit_business_message_media
edit_business_message_reply_markup
edit_business_message_text
edit_business_story
edit_chat_folder
edit_chat_folder_invite_link
edit_chat_invite_link
edit_chat_subscription_invite_link
edit_custom_language_pack_info
edit_forum_topic
edit_inline_message_caption
edit_inline_message_live_location
edit_inline_message_media
edit_inline_message_reply_markup
edit_inline_message_text
edit_message_caption
edit_message_live_location
edit_message_media
edit_message_reply_markup
edit_message_scheduling_state
edit_message_text
edit_proxy
edit_quick_reply_message
edit_star_subscription
edit_story
edit_story_cover
edit_user_star_subscription
enable_proxy
encrypt_group_call_data
end_group_call
end_group_call_recording
end_group_call_screen_sharing
finish_file_generation
forward_messages
get_account_ttl
get_active_sessions
get_all_passport_elements
get_all_sticker_emojis
get_animated_emoji
get_application_config
get_application_download_link
get_archive_chat_list_settings
get_archived_sticker_sets
get_attached_sticker_sets
get_attachment_menu_bot
get_authorization_state
get_auto_download_settings_presets
get_autosave_settings
get_available_chat_boost_slots
get_available_gifts
get_background_url
get_bank_card_info
get_basic_group
get_basic_group_full_info
get_blocked_message_senders
get_bot_info_description
get_bot_info_short_description
get_bot_media_preview_info
get_bot_media_previews
get_bot_name
get_bot_similar_bot_count
get_bot_similar_bots
get_business_account_star_amount
get_business_chat_link_info
get_business_chat_links
get_business_connected_bot
get_business_connection
get_business_features
get_callback_query_answer
get_callback_query_message
get_chat
get_chat_active_stories
get_chat_administrators
get_chat_archived_stories
get_chat_available_message_senders
get_chat_available_paid_message_reaction_senders
get_chat_boost_features
get_chat_boost_level_features
get_chat_boost_link
get_chat_boost_link_info
get_chat_boost_status
get_chat_boosts
get_chat_event_log
get_chat_folder
get_chat_folder_chat_count
get_chat_folder_chats_to_leave
get_chat_folder_default_icon_name
get_chat_folder_default_icon_name_sync
get_chat_folder_invite_links
get_chat_folder_new_chats
get_chat_history
get_chat_invite_link
get_chat_invite_link_counts
get_chat_invite_link_members
get_chat_invite_links
get_chat_join_requests
get_chat_lists_to_add_chat
get_chat_member
get_chat_message_by_date
get_chat_message_calendar
get_chat_message_count
get_chat_message_position
get_chat_notification_settings_exceptions
get_chat_pinned_message
get_chat_posted_to_chat_page_stories
get_chat_revenue_statistics
get_chat_revenue_transactions
get_chat_revenue_withdrawal_url
get_chat_scheduled_messages
get_chat_similar_chat_count
get_chat_similar_chats
get_chat_sparse_message_positions
get_chat_sponsored_messages
get_chat_statistics
get_chat_story_interactions
get_chats
get_chats_for_chat_folder_invite_link
get_chats_to_post_stories
get_close_friends
get_collectible_item_info
get_commands
get_connected_affiliate_program
get_connected_affiliate_programs
get_connected_websites
get_contacts
get_countries
get_country_code
get_country_flag_emoji
get_country_flag_emoji_sync
get_created_public_chats
get_current_state
get_current_weather
get_custom_emoji_reaction_animations
get_custom_emoji_stickers
get_database_statistics
get_deep_link_info
get_default_background_custom_emoji_stickers
get_default_chat_emoji_statuses
get_default_chat_photo_custom_emoji_stickers
get_default_emoji_statuses
get_default_message_auto_delete_time
get_default_profile_photo_custom_emoji_stickers
get_disallowed_chat_emoji_statuses
get_emoji_categories
get_emoji_reaction
get_emoji_suggestions_url
get_external_link
get_external_link_info
get_favorite_stickers
get_file
get_file_downloaded_prefix_size
get_file_extension
get_file_extension_sync
get_file_mime_type
get_file_mime_type_sync
get_forum_topic
get_forum_topic_default_icons
get_forum_topic_link
get_forum_topics
get_game_high_scores
get_gift_upgrade_preview
get_giveaway_info
get_greeting_stickers
get_grossing_web_app_bots
get_group_call
get_group_call_participants
get_groups_in_common
get_imported_contact_count
get_inactive_supergroup_chats
get_inline_game_high_scores
get_inline_query_results
get_installed_backgrounds
get_installed_sticker_sets
get_internal_link
get_internal_link_type
get_json_string
get_json_string_sync
get_json_value
get_json_value_sync
get_keyword_emojis
get_language_pack_info
get_language_pack_string
get_language_pack_string_sync
get_language_pack_strings
get_link_preview
get_localization_target_info
get_log_stream
get_log_stream_sync
get_log_tag_verbosity_level
get_log_tag_verbosity_level_sync
get_log_tags
get_log_tags_sync
get_log_verbosity_level
get_log_verbosity_level_sync
get_login_url
get_login_url_info
get_main_web_app
get_map_thumbnail_file
get_markdown_text
get_markdown_text_sync
get_me
get_menu_button
get_message
get_message_added_reactions
get_message_available_reactions
get_message_effect
get_message_embedding_code
get_message_file_type
get_message_import_confirmation_text
get_message_link
get_message_link_info
get_message_locally
get_message_properties
get_message_public_forwards
get_message_read_date
get_message_statistics
get_message_thread
get_message_thread_history
get_message_viewers
get_messages
get_network_statistics
get_new_chat_privacy_settings
get_option
get_option_sync
get_owned_bots
get_owned_sticker_sets
get_paid_message_revenue
get_passport_authorization_form
get_passport_authorization_form_available_elements
get_passport_element
get_password_state
get_payment_form
get_payment_receipt
get_phone_number_info
get_phone_number_info_sync
get_phone_number_info_sync_sync
get_poll_voters
get_preferred_country_language
get_premium_features
get_premium_gift_payment_options
get_premium_giveaway_payment_options
get_premium_info_sticker
get_premium_limit
get_premium_state
get_premium_sticker_examples
get_premium_stickers
get_prepared_inline_message
get_proxies
get_proxy_link
get_push_receiver_id
get_push_receiver_id_sync
get_read_date_privacy_settings
get_received_gift
get_received_gifts
get_recent_emoji_statuses
get_recent_inline_bots
get_recent_stickers
get_recently_opened_chats
get_recently_visited_t_me_urls
get_recommended_chat_folders
get_recommended_chats
get_recovery_email_address
get_remote_file
get_replied_message
get_saved_animations
get_saved_messages_tags
get_saved_messages_topic_history
get_saved_messages_topic_message_by_date
get_saved_notification_sound
get_saved_notification_sounds
get_saved_order_info
get_scope_notification_settings
get_search_sponsored_chats
get_searched_for_tags
get_secret_chat
get_star_ad_account_url
get_star_gift_payment_options
get_star_giveaway_payment_options
get_star_payment_options
get_star_revenue_statistics
get_star_subscriptions
get_star_transactions
get_star_withdrawal_url
get_statistical_graph
get_sticker_emojis
get_sticker_outline
get_sticker_set
get_sticker_set_name
get_stickers
get_storage_statistics
get_storage_statistics_fast
get_story
get_story_available_reactions
get_story_interactions
get_story_notification_settings_exceptions
get_story_public_forwards
get_story_statistics
get_suggested_file_name
get_suggested_sticker_set_name
get_suitable_discussion_chats
get_suitable_personal_chats
get_supergroup
get_supergroup_full_info
get_supergroup_members
get_support_name
get_support_user
get_temporary_password_state
get_text_entities
get_text_entities_sync
get_theme_parameters_json_string
get_theme_parameters_json_string_sync
get_themed_chat_emoji_statuses
get_themed_emoji_statuses
get_time_zones
get_top_chats
get_trending_sticker_sets
get_upgraded_gift
get_upgraded_gift_emoji_statuses
get_upgraded_gift_withdrawal_url
get_user
get_user_chat_boosts
get_user_full_info
get_user_link
get_user_privacy_setting_rules
get_user_profile_photos
get_user_support_info
get_video_chat_available_participants
get_video_chat_invite_link
get_video_chat_rtmp_url
get_video_chat_stream_segment
get_video_chat_streams
get_web_app_link_url
get_web_app_placeholder
get_web_app_url
get_web_page_instant_view
gift_premium_with_stars
hide_contact_close_birthdays
hide_suggested_action
import_contacts
import_messages
init
invite_group_call_participant
invite_video_chat_participants
join_chat
join_chat_by_invite_link
join_group_call
join_video_chat
launch_prepaid_giveaway
leave_chat
leave_group_call
load_active_stories
load_chats
load_group_call_participants
load_quick_reply_shortcut_messages
load_quick_reply_shortcuts
load_saved_messages_topics
log_out
open_bot_similar_bot
open_chat
open_chat_similar_chat
open_message_content
open_sponsored_chat
open_story
open_web_app
optimize_storage
parse_markdown
parse_markdown_sync
parse_text_entities
parse_text_entities_sync
pin_chat_message
ping_proxy
post_story
preliminary_upload_file
process_chat_folder_new_chats
process_chat_join_request
process_chat_join_requests
process_push_notification
rate_speech_recognition
read_all_chat_mentions
read_all_chat_reactions
read_all_message_thread_mentions
read_all_message_thread_reactions
read_business_message
read_chat_list
read_file_part
readd_quick_reply_shortcut_messages
recognize_speech
recover_authentication_password
recover_password
refund_star_payment
register_device
register_user
remove_all_files_from_downloads
remove_business_connected_bot_from_chat
remove_chat_action_bar
remove_contacts
remove_favorite_sticker
remove_file_from_downloads
remove_installed_background
remove_message_reaction
remove_message_sender_bot_verification
remove_notification
remove_notification_group
remove_pending_paid_message_reactions
remove_proxy
remove_recent_hashtag
remove_recent_sticker
remove_recently_found_chat
remove_saved_animation
remove_saved_notification_sound
remove_searched_for_tag
remove_sticker_from_set
remove_top_chat
reorder_active_usernames
reorder_bot_active_usernames
reorder_bot_media_previews
reorder_chat_folders
reorder_installed_sticker_sets
reorder_quick_reply_shortcuts
reorder_supergroup_active_usernames
replace_primary_chat_invite_link
replace_sticker_in_set
replace_video_chat_rtmp_url
report_authentication_code_missing
report_chat
report_chat_photo
report_chat_sponsored_message
report_message_reactions
report_phone_number_code_missing
report_sponsored_chat
report_story
report_supergroup_anti_spam_false_positive
report_supergroup_spam
request_authentication_password_recovery
request_password_recovery
request_qr_code_authentication
resend_authentication_code
resend_email_address_verification_code
resend_login_email_address_code
resend_messages
resend_phone_number_code
resend_recovery_email_address_code
reset_all_notification_settings
reset_authentication_email_address
reset_installed_backgrounds
reset_network_statistics
reset_password
reuse_star_subscription
revoke_chat_invite_link
revoke_group_call_invite_link
save_application_log_event
save_prepared_inline_message
search_affiliate_programs
search_background
search_call_messages
search_chat_affiliate_program
search_chat_members
search_chat_messages
search_chat_recent_location_messages
search_chats
search_chats_on_server
search_contacts
search_emojis
search_file_downloads
search_gifts_for_resale
search_hashtags
search_installed_sticker_sets
search_messages
search_outgoing_document_messages
search_public_chat
search_public_chats
search_public_messages_by_tag
search_public_stories_by_location
search_public_stories_by_tag
search_public_stories_by_venue
search_quote
search_quote_sync
search_recently_found_chats
search_saved_messages
search_secret_messages
search_sticker_set
search_sticker_sets
search_stickers
search_strings_by_prefix
search_strings_by_prefix_sync
search_user_by_phone_number
search_user_by_token
search_web_app
sell_gift
send_authentication_firebase_sms
send_bot_start_message
send_business_message
send_business_message_album
send_call_debug_information
send_call_log
send_call_rating
send_call_signaling_data
send_chat_action
send_custom_request
send_email_address_verification_code
send_gift
send_inline_query_result_message
send_message
send_message_album
send_passport_authorization_form
send_payment_form
send_phone_number_code
send_phone_number_firebase_sms
send_quick_reply_shortcut_messages
send_resold_gift
send_web_app_custom_request
send_web_app_data
set_accent_color
set_account_ttl
set_alarm
set_application_verification_token
set_archive_chat_list_settings
set_authentication_email_address
set_authentication_phone_number
set_authentication_premium_purchase_transaction
set_auto_download_settings
set_autosave_settings
set_bio
set_birthdate
set_bot_info_description
set_bot_info_short_description
set_bot_name
set_bot_profile_photo
set_bot_updates_status
set_business_account_bio
set_business_account_gift_settings
set_business_account_name
set_business_account_profile_photo
set_business_account_username
set_business_away_message_settings
set_business_connected_bot
set_business_greeting_message_settings
set_business_location
set_business_message_is_pinned
set_business_opening_hours
set_business_start_page
set_chat_accent_color
set_chat_active_stories_list
set_chat_affiliate_program
set_chat_available_reactions
set_chat_background
set_chat_client_data
set_chat_description
set_chat_discussion_group
set_chat_draft_message
set_chat_emoji_status
set_chat_location
set_chat_member_status
set_chat_message_auto_delete_time
set_chat_message_sender
set_chat_notification_settings
set_chat_paid_message_star_count
set_chat_permissions
set_chat_photo
set_chat_pinned_stories
set_chat_profile_accent_color
set_chat_slow_mode_delay
set_chat_theme
set_chat_title
set_close_friends
set_commands
set_custom_emoji_sticker_set_thumbnail
set_custom_language_pack
set_custom_language_pack_string
set_database_encryption_key
set_default_background
set_default_channel_administrator_rights
set_default_group_administrator_rights
set_default_message_auto_delete_time
set_default_reaction_type
set_emoji_status
set_file_generation_progress
set_forum_topic_notification_settings
set_game_score
set_gift_resale_price
set_gift_settings
set_group_call_participant_is_speaking
set_group_call_participant_volume_level
set_inactive_session_ttl
set_inline_game_score
set_log_stream
set_log_stream_sync
set_log_tag_verbosity_level
set_log_tag_verbosity_level_sync
set_log_verbosity_level
set_log_verbosity_level_sync
set_login_email_address
set_menu_button
set_message_fact_check
set_message_reactions
set_message_sender_block_list
set_message_sender_bot_verification
set_name
set_network_type
set_new_chat_privacy_settings
set_option
set_paid_message_reaction_type
set_passport_element
set_passport_element_errors
set_password
set_personal_chat
set_pinned_chats
set_pinned_forum_topics
set_pinned_gifts
set_pinned_saved_messages_topics
set_poll_answer
set_profile_accent_color
set_profile_photo
set_quick_reply_shortcut_name
set_reaction_notification_settings
set_read_date_privacy_settings
set_recovery_email_address
set_saved_messages_tag_label
set_scope_notification_settings
set_sticker_emojis
set_sticker_keywords
set_sticker_mask_position
set_sticker_position_in_set
set_sticker_set_thumbnail
set_sticker_set_title
set_story_privacy_settings
set_story_reaction
set_supergroup_custom_emoji_sticker_set
set_supergroup_sticker_set
set_supergroup_unrestrict_boost_count
set_supergroup_username
set_tdlib_parameters
set_user_emoji_status
set_user_personal_profile_photo
set_user_privacy_setting_rules
set_user_support_info
set_username
set_video_chat_default_participant
set_video_chat_title
share_chat_with_bot
share_phone_number
share_users_with_bot
start_group_call_recording
start_group_call_screen_sharing
start_scheduled_video_chat
stop_business_poll
stop_poll
suggest_user_profile_photo
synchronize_language_pack
terminate_all_other_sessions
terminate_session
test_call_bytes
test_call_empty
test_call_string
test_call_vector_int
test_call_vector_int_object
test_call_vector_string
test_call_vector_string_object
test_get_difference
test_network
test_proxy
test_return_error
test_return_error_sync
test_square_int
test_use_update
toggle_all_downloads_are_paused
toggle_bot_can_manage_emoji_status
toggle_bot_is_added_to_attachment_menu
toggle_bot_username_is_active
toggle_business_connected_bot_chat_is_paused
toggle_chat_default_disable_notification
toggle_chat_folder_tags
toggle_chat_gift_notifications
toggle_chat_has_protected_content
toggle_chat_is_marked_as_unread
toggle_chat_is_pinned
toggle_chat_is_translatable
toggle_chat_view_as_topics
toggle_download_is_paused
toggle_forum_topic_is_closed
toggle_forum_topic_is_pinned
toggle_general_forum_topic_is_hidden
toggle_gift_is_saved
toggle_group_call_is_my_video_enabled
toggle_group_call_is_my_video_paused
toggle_group_call_participant_is_hand_raised
toggle_group_call_participant_is_muted
toggle_group_call_screen_sharing_is_paused
toggle_has_sponsored_messages_enabled
toggle_saved_messages_topic_is_pinned
toggle_session_can_accept_calls
toggle_session_can_accept_secret_chats
toggle_story_is_posted_to_chat_page
toggle_supergroup_can_have_sponsored_messages
toggle_supergroup_has_aggressive_anti_spam_enabled
toggle_supergroup_has_automatic_translation
toggle_supergroup_has_hidden_members
toggle_supergroup_is_all_history_available
toggle_supergroup_is_broadcast_group
toggle_supergroup_is_forum
toggle_supergroup_join_by_request
toggle_supergroup_join_to_send_messages
toggle_supergroup_sign_messages
toggle_supergroup_username_is_active
toggle_username_is_active
toggle_video_chat_enabled_start_notification
toggle_video_chat_mute_new_participants
transfer_business_account_stars
transfer_chat_ownership
transfer_gift
translate_message_text
translate_text
unpin_all_chat_messages
unpin_all_message_thread_messages
unpin_chat_message
upgrade_basic_group_chat_to_supergroup_chat
upgrade_gift
upload_sticker_file
validate_order_info
view_messages
view_premium_feature
view_sponsored_chat
view_trending_sticker_sets
write_generated_file_part
update_recieved
send_custom_request
Description:
public
async
CustomRequestResult
send_custom_request
(
string
method,
string
parameters)
throws
TDLibError
Sends a custom request; for bots only
Parameters:
method
The method name
parameters
JSON-serialized method parameters