package tg

Import Path
	github.com/gotd/td/tg (on go.dev)

Dependency Relation
	imports 10 packages, and imported by 7 packages

Involved Source Files Package tg contains generated types from MTProto Telegram API. tl_access_point_rule_gen.go tl_access_point_rule_slices_gen.go tl_account_accept_authorization_gen.go tl_account_accept_authorization_slices_gen.go tl_account_authorization_form_gen.go tl_account_authorization_form_slices_gen.go tl_account_authorizations_gen.go tl_account_authorizations_slices_gen.go tl_account_auto_download_settings_gen.go tl_account_auto_download_settings_slices_gen.go tl_account_auto_save_settings_gen.go tl_account_auto_save_settings_slices_gen.go tl_account_cancel_password_email_gen.go tl_account_cancel_password_email_slices_gen.go tl_account_change_authorization_settings_gen.go tl_account_change_authorization_settings_slices_gen.go tl_account_change_phone_gen.go tl_account_change_phone_slices_gen.go tl_account_check_username_gen.go tl_account_check_username_slices_gen.go tl_account_clear_recent_emoji_statuses_gen.go tl_account_clear_recent_emoji_statuses_slices_gen.go tl_account_confirm_password_email_gen.go tl_account_confirm_password_email_slices_gen.go tl_account_confirm_phone_gen.go tl_account_confirm_phone_slices_gen.go tl_account_content_settings_gen.go tl_account_content_settings_slices_gen.go tl_account_create_theme_gen.go tl_account_create_theme_slices_gen.go tl_account_days_ttl_gen.go tl_account_days_ttl_slices_gen.go tl_account_decline_password_reset_gen.go tl_account_decline_password_reset_slices_gen.go tl_account_delete_account_gen.go tl_account_delete_account_slices_gen.go tl_account_delete_auto_save_exceptions_gen.go tl_account_delete_auto_save_exceptions_slices_gen.go tl_account_delete_secure_value_gen.go tl_account_delete_secure_value_slices_gen.go tl_account_email_verified_gen.go tl_account_email_verified_slices_gen.go tl_account_emoji_statuses_gen.go tl_account_emoji_statuses_slices_gen.go tl_account_finish_takeout_session_gen.go tl_account_finish_takeout_session_slices_gen.go tl_account_get_account_ttl_gen.go tl_account_get_account_ttl_slices_gen.go tl_account_get_all_secure_values_gen.go tl_account_get_all_secure_values_slices_gen.go tl_account_get_authorization_form_gen.go tl_account_get_authorization_form_slices_gen.go tl_account_get_authorizations_gen.go tl_account_get_authorizations_slices_gen.go tl_account_get_auto_download_settings_gen.go tl_account_get_auto_download_settings_slices_gen.go tl_account_get_auto_save_settings_gen.go tl_account_get_auto_save_settings_slices_gen.go tl_account_get_channel_default_emoji_statuses_gen.go tl_account_get_channel_default_emoji_statuses_slices_gen.go tl_account_get_channel_restricted_status_emojis_gen.go tl_account_get_channel_restricted_status_emojis_slices_gen.go tl_account_get_chat_themes_gen.go tl_account_get_chat_themes_slices_gen.go tl_account_get_contact_sign_up_notification_gen.go tl_account_get_contact_sign_up_notification_slices_gen.go tl_account_get_content_settings_gen.go tl_account_get_content_settings_slices_gen.go tl_account_get_default_background_emojis_gen.go tl_account_get_default_background_emojis_slices_gen.go tl_account_get_default_emoji_statuses_gen.go tl_account_get_default_emoji_statuses_slices_gen.go tl_account_get_default_group_photo_emojis_gen.go tl_account_get_default_group_photo_emojis_slices_gen.go tl_account_get_default_profile_photo_emojis_gen.go tl_account_get_default_profile_photo_emojis_slices_gen.go tl_account_get_global_privacy_settings_gen.go tl_account_get_global_privacy_settings_slices_gen.go tl_account_get_multi_wall_papers_gen.go tl_account_get_multi_wall_papers_slices_gen.go tl_account_get_notify_exceptions_gen.go tl_account_get_notify_exceptions_slices_gen.go tl_account_get_notify_settings_gen.go tl_account_get_notify_settings_slices_gen.go tl_account_get_password_gen.go tl_account_get_password_settings_gen.go tl_account_get_password_settings_slices_gen.go tl_account_get_password_slices_gen.go tl_account_get_privacy_gen.go tl_account_get_privacy_slices_gen.go tl_account_get_recent_emoji_statuses_gen.go tl_account_get_recent_emoji_statuses_slices_gen.go tl_account_get_saved_ringtones_gen.go tl_account_get_saved_ringtones_slices_gen.go tl_account_get_secure_value_gen.go tl_account_get_secure_value_slices_gen.go tl_account_get_theme_gen.go tl_account_get_theme_slices_gen.go tl_account_get_themes_gen.go tl_account_get_themes_slices_gen.go tl_account_get_tmp_password_gen.go tl_account_get_tmp_password_slices_gen.go tl_account_get_wall_paper_gen.go tl_account_get_wall_paper_slices_gen.go tl_account_get_wall_papers_gen.go tl_account_get_wall_papers_slices_gen.go tl_account_get_web_authorizations_gen.go tl_account_get_web_authorizations_slices_gen.go tl_account_init_takeout_session_gen.go tl_account_init_takeout_session_slices_gen.go tl_account_install_theme_gen.go tl_account_install_theme_slices_gen.go tl_account_install_wall_paper_gen.go tl_account_install_wall_paper_slices_gen.go tl_account_invalidate_sign_in_codes_gen.go tl_account_invalidate_sign_in_codes_slices_gen.go tl_account_password_gen.go tl_account_password_input_settings_gen.go tl_account_password_input_settings_slices_gen.go tl_account_password_settings_gen.go tl_account_password_settings_slices_gen.go tl_account_password_slices_gen.go tl_account_privacy_rules_gen.go tl_account_privacy_rules_slices_gen.go tl_account_register_device_gen.go tl_account_register_device_slices_gen.go tl_account_reorder_usernames_gen.go tl_account_reorder_usernames_slices_gen.go tl_account_report_peer_gen.go tl_account_report_peer_slices_gen.go tl_account_report_profile_photo_gen.go tl_account_report_profile_photo_slices_gen.go tl_account_resend_password_email_gen.go tl_account_resend_password_email_slices_gen.go tl_account_reset_authorization_gen.go tl_account_reset_authorization_slices_gen.go tl_account_reset_notify_settings_gen.go tl_account_reset_notify_settings_slices_gen.go tl_account_reset_password_gen.go tl_account_reset_password_result_gen.go tl_account_reset_password_result_slices_gen.go tl_account_reset_password_slices_gen.go tl_account_reset_wall_papers_gen.go tl_account_reset_wall_papers_slices_gen.go tl_account_reset_web_authorization_gen.go tl_account_reset_web_authorization_slices_gen.go tl_account_reset_web_authorizations_gen.go tl_account_reset_web_authorizations_slices_gen.go tl_account_save_auto_download_settings_gen.go tl_account_save_auto_download_settings_slices_gen.go tl_account_save_auto_save_settings_gen.go tl_account_save_auto_save_settings_slices_gen.go tl_account_save_ringtone_gen.go tl_account_save_ringtone_slices_gen.go tl_account_save_secure_value_gen.go tl_account_save_secure_value_slices_gen.go tl_account_save_theme_gen.go tl_account_save_theme_slices_gen.go tl_account_save_wall_paper_gen.go tl_account_save_wall_paper_slices_gen.go tl_account_saved_ringtone_gen.go tl_account_saved_ringtone_slices_gen.go tl_account_saved_ringtones_gen.go tl_account_saved_ringtones_slices_gen.go tl_account_send_change_phone_code_gen.go tl_account_send_change_phone_code_slices_gen.go tl_account_send_confirm_phone_code_gen.go tl_account_send_confirm_phone_code_slices_gen.go tl_account_send_verify_email_code_gen.go tl_account_send_verify_email_code_slices_gen.go tl_account_send_verify_phone_code_gen.go tl_account_send_verify_phone_code_slices_gen.go tl_account_sent_email_code_gen.go tl_account_sent_email_code_slices_gen.go tl_account_set_account_ttl_gen.go tl_account_set_account_ttl_slices_gen.go tl_account_set_authorization_ttl_gen.go tl_account_set_authorization_ttl_slices_gen.go tl_account_set_contact_sign_up_notification_gen.go tl_account_set_contact_sign_up_notification_slices_gen.go tl_account_set_content_settings_gen.go tl_account_set_content_settings_slices_gen.go tl_account_set_global_privacy_settings_gen.go tl_account_set_global_privacy_settings_slices_gen.go tl_account_set_privacy_gen.go tl_account_set_privacy_slices_gen.go tl_account_takeout_gen.go tl_account_takeout_slices_gen.go tl_account_themes_gen.go tl_account_themes_slices_gen.go tl_account_tmp_password_gen.go tl_account_tmp_password_slices_gen.go tl_account_toggle_username_gen.go tl_account_toggle_username_slices_gen.go tl_account_unregister_device_gen.go tl_account_unregister_device_slices_gen.go tl_account_update_color_gen.go tl_account_update_color_slices_gen.go tl_account_update_device_locked_gen.go tl_account_update_device_locked_slices_gen.go tl_account_update_emoji_status_gen.go tl_account_update_emoji_status_slices_gen.go tl_account_update_notify_settings_gen.go tl_account_update_notify_settings_slices_gen.go tl_account_update_password_settings_gen.go tl_account_update_password_settings_slices_gen.go tl_account_update_profile_gen.go tl_account_update_profile_slices_gen.go tl_account_update_status_gen.go tl_account_update_status_slices_gen.go tl_account_update_theme_gen.go tl_account_update_theme_slices_gen.go tl_account_update_username_gen.go tl_account_update_username_slices_gen.go tl_account_upload_ringtone_gen.go tl_account_upload_ringtone_slices_gen.go tl_account_upload_theme_gen.go tl_account_upload_theme_slices_gen.go tl_account_upload_wall_paper_gen.go tl_account_upload_wall_paper_slices_gen.go tl_account_verify_email_gen.go tl_account_verify_email_slices_gen.go tl_account_verify_phone_gen.go tl_account_verify_phone_slices_gen.go tl_account_wall_papers_gen.go tl_account_wall_papers_slices_gen.go tl_account_web_authorizations_gen.go tl_account_web_authorizations_slices_gen.go tl_app_web_view_result_url_gen.go tl_app_web_view_result_url_slices_gen.go tl_attach_menu_bot_gen.go tl_attach_menu_bot_icon_color_gen.go tl_attach_menu_bot_icon_color_slices_gen.go tl_attach_menu_bot_icon_gen.go tl_attach_menu_bot_icon_slices_gen.go tl_attach_menu_bot_slices_gen.go tl_attach_menu_bots_bot_gen.go tl_attach_menu_bots_bot_slices_gen.go tl_attach_menu_bots_gen.go tl_attach_menu_bots_slices_gen.go tl_attach_menu_peer_type_gen.go tl_attach_menu_peer_type_slices_gen.go tl_auth_accept_login_token_gen.go tl_auth_accept_login_token_slices_gen.go tl_auth_authorization_gen.go tl_auth_authorization_slices_gen.go tl_auth_bind_temp_auth_key_gen.go tl_auth_bind_temp_auth_key_slices_gen.go tl_auth_cancel_code_gen.go tl_auth_cancel_code_slices_gen.go tl_auth_check_password_gen.go tl_auth_check_password_slices_gen.go tl_auth_check_recovery_password_gen.go tl_auth_check_recovery_password_slices_gen.go tl_auth_code_type_gen.go tl_auth_code_type_slices_gen.go tl_auth_drop_temp_auth_keys_gen.go tl_auth_drop_temp_auth_keys_slices_gen.go tl_auth_export_authorization_gen.go tl_auth_export_authorization_slices_gen.go tl_auth_export_login_token_gen.go tl_auth_export_login_token_slices_gen.go tl_auth_exported_authorization_gen.go tl_auth_exported_authorization_slices_gen.go tl_auth_import_authorization_gen.go tl_auth_import_authorization_slices_gen.go tl_auth_import_bot_authorization_gen.go tl_auth_import_bot_authorization_slices_gen.go tl_auth_import_login_token_gen.go tl_auth_import_login_token_slices_gen.go tl_auth_import_web_token_authorization_gen.go tl_auth_import_web_token_authorization_slices_gen.go tl_auth_log_out_gen.go tl_auth_log_out_slices_gen.go tl_auth_logged_out_gen.go tl_auth_logged_out_slices_gen.go tl_auth_login_token_gen.go tl_auth_login_token_slices_gen.go tl_auth_password_recovery_gen.go tl_auth_password_recovery_slices_gen.go tl_auth_recover_password_gen.go tl_auth_recover_password_slices_gen.go tl_auth_request_firebase_sms_gen.go tl_auth_request_firebase_sms_slices_gen.go tl_auth_request_password_recovery_gen.go tl_auth_request_password_recovery_slices_gen.go tl_auth_resend_code_gen.go tl_auth_resend_code_slices_gen.go tl_auth_reset_authorizations_gen.go tl_auth_reset_authorizations_slices_gen.go tl_auth_reset_login_email_gen.go tl_auth_reset_login_email_slices_gen.go tl_auth_send_code_gen.go tl_auth_send_code_slices_gen.go tl_auth_sent_code_gen.go tl_auth_sent_code_slices_gen.go tl_auth_sent_code_type_gen.go tl_auth_sent_code_type_slices_gen.go tl_auth_sign_in_gen.go tl_auth_sign_in_slices_gen.go tl_auth_sign_up_gen.go tl_auth_sign_up_slices_gen.go tl_authorization_gen.go tl_authorization_slices_gen.go tl_auto_download_settings_gen.go tl_auto_download_settings_slices_gen.go tl_auto_save_exception_gen.go tl_auto_save_exception_slices_gen.go tl_auto_save_settings_gen.go tl_auto_save_settings_slices_gen.go tl_available_reaction_gen.go tl_available_reaction_slices_gen.go tl_bank_card_open_url_gen.go tl_bank_card_open_url_slices_gen.go tl_base_theme_gen.go tl_base_theme_slices_gen.go tl_bool_gen.go tl_bool_slices_gen.go tl_boost_gen.go tl_boost_slices_gen.go tl_bot_app_gen.go tl_bot_app_slices_gen.go tl_bot_command_gen.go tl_bot_command_scope_gen.go tl_bot_command_scope_slices_gen.go tl_bot_command_slices_gen.go tl_bot_command_vector_gen.go tl_bot_command_vector_slices_gen.go tl_bot_info_gen.go tl_bot_info_slices_gen.go tl_bot_inline_message_gen.go tl_bot_inline_message_slices_gen.go tl_bot_inline_result_gen.go tl_bot_inline_result_slices_gen.go tl_bot_menu_button_gen.go tl_bot_menu_button_slices_gen.go tl_bots_allow_send_message_gen.go tl_bots_allow_send_message_slices_gen.go tl_bots_answer_webhook_json_query_gen.go tl_bots_answer_webhook_json_query_slices_gen.go tl_bots_bot_info_gen.go tl_bots_bot_info_slices_gen.go tl_bots_can_send_message_gen.go tl_bots_can_send_message_slices_gen.go tl_bots_get_bot_commands_gen.go tl_bots_get_bot_commands_slices_gen.go tl_bots_get_bot_info_gen.go tl_bots_get_bot_info_slices_gen.go tl_bots_get_bot_menu_button_gen.go tl_bots_get_bot_menu_button_slices_gen.go tl_bots_invoke_web_view_custom_method_gen.go tl_bots_invoke_web_view_custom_method_slices_gen.go tl_bots_reorder_usernames_gen.go tl_bots_reorder_usernames_slices_gen.go tl_bots_reset_bot_commands_gen.go tl_bots_reset_bot_commands_slices_gen.go tl_bots_send_custom_request_gen.go tl_bots_send_custom_request_slices_gen.go tl_bots_set_bot_broadcast_default_admin_rights_gen.go tl_bots_set_bot_broadcast_default_admin_rights_slices_gen.go tl_bots_set_bot_commands_gen.go tl_bots_set_bot_commands_slices_gen.go tl_bots_set_bot_group_default_admin_rights_gen.go tl_bots_set_bot_group_default_admin_rights_slices_gen.go tl_bots_set_bot_info_gen.go tl_bots_set_bot_info_slices_gen.go tl_bots_set_bot_menu_button_gen.go tl_bots_set_bot_menu_button_slices_gen.go tl_bots_toggle_username_gen.go tl_bots_toggle_username_slices_gen.go tl_bytes_gen.go tl_bytes_slices_gen.go tl_cdn_config_gen.go tl_cdn_config_slices_gen.go tl_cdn_public_key_gen.go tl_cdn_public_key_slices_gen.go tl_channel_admin_log_event_action_gen.go tl_channel_admin_log_event_action_slices_gen.go tl_channel_admin_log_event_gen.go tl_channel_admin_log_event_slices_gen.go tl_channel_admin_log_events_filter_gen.go tl_channel_admin_log_events_filter_slices_gen.go tl_channel_location_gen.go tl_channel_location_slices_gen.go tl_channel_messages_filter_gen.go tl_channel_messages_filter_slices_gen.go tl_channel_participant_gen.go tl_channel_participant_slices_gen.go tl_channel_participants_filter_gen.go tl_channel_participants_filter_slices_gen.go tl_channels_admin_log_results_gen.go tl_channels_admin_log_results_slices_gen.go tl_channels_channel_participant_gen.go tl_channels_channel_participant_slices_gen.go tl_channels_channel_participants_gen.go tl_channels_channel_participants_slices_gen.go tl_channels_check_username_gen.go tl_channels_check_username_slices_gen.go tl_channels_click_sponsored_message_gen.go tl_channels_click_sponsored_message_slices_gen.go tl_channels_convert_to_gigagroup_gen.go tl_channels_convert_to_gigagroup_slices_gen.go tl_channels_create_channel_gen.go tl_channels_create_channel_slices_gen.go tl_channels_create_forum_topic_gen.go tl_channels_create_forum_topic_slices_gen.go tl_channels_deactivate_all_usernames_gen.go tl_channels_deactivate_all_usernames_slices_gen.go tl_channels_delete_channel_gen.go tl_channels_delete_channel_slices_gen.go tl_channels_delete_history_gen.go tl_channels_delete_history_slices_gen.go tl_channels_delete_messages_gen.go tl_channels_delete_messages_slices_gen.go tl_channels_delete_participant_history_gen.go tl_channels_delete_participant_history_slices_gen.go tl_channels_delete_topic_history_gen.go tl_channels_delete_topic_history_slices_gen.go tl_channels_edit_admin_gen.go tl_channels_edit_admin_slices_gen.go tl_channels_edit_banned_gen.go tl_channels_edit_banned_slices_gen.go tl_channels_edit_creator_gen.go tl_channels_edit_creator_slices_gen.go tl_channels_edit_forum_topic_gen.go tl_channels_edit_forum_topic_slices_gen.go tl_channels_edit_location_gen.go tl_channels_edit_location_slices_gen.go tl_channels_edit_photo_gen.go tl_channels_edit_photo_slices_gen.go tl_channels_edit_title_gen.go tl_channels_edit_title_slices_gen.go tl_channels_export_message_link_gen.go tl_channels_export_message_link_slices_gen.go tl_channels_get_admin_log_gen.go tl_channels_get_admin_log_slices_gen.go tl_channels_get_admined_public_channels_gen.go tl_channels_get_admined_public_channels_slices_gen.go tl_channels_get_channel_recommendations_gen.go tl_channels_get_channel_recommendations_slices_gen.go tl_channels_get_channels_gen.go tl_channels_get_channels_slices_gen.go tl_channels_get_forum_topics_by_id_gen.go tl_channels_get_forum_topics_by_id_slices_gen.go tl_channels_get_forum_topics_gen.go tl_channels_get_forum_topics_slices_gen.go tl_channels_get_full_channel_gen.go tl_channels_get_full_channel_slices_gen.go tl_channels_get_groups_for_discussion_gen.go tl_channels_get_groups_for_discussion_slices_gen.go tl_channels_get_inactive_channels_gen.go tl_channels_get_inactive_channels_slices_gen.go tl_channels_get_left_channels_gen.go tl_channels_get_left_channels_slices_gen.go tl_channels_get_messages_gen.go tl_channels_get_messages_slices_gen.go tl_channels_get_participant_gen.go tl_channels_get_participant_slices_gen.go tl_channels_get_participants_gen.go tl_channels_get_participants_slices_gen.go tl_channels_get_send_as_gen.go tl_channels_get_send_as_slices_gen.go tl_channels_get_sponsored_messages_gen.go tl_channels_get_sponsored_messages_slices_gen.go tl_channels_invite_to_channel_gen.go tl_channels_invite_to_channel_slices_gen.go tl_channels_join_channel_gen.go tl_channels_join_channel_slices_gen.go tl_channels_leave_channel_gen.go tl_channels_leave_channel_slices_gen.go tl_channels_read_history_gen.go tl_channels_read_history_slices_gen.go tl_channels_read_message_contents_gen.go tl_channels_read_message_contents_slices_gen.go tl_channels_reorder_pinned_forum_topics_gen.go tl_channels_reorder_pinned_forum_topics_slices_gen.go tl_channels_reorder_usernames_gen.go tl_channels_reorder_usernames_slices_gen.go tl_channels_report_anti_spam_false_positive_gen.go tl_channels_report_anti_spam_false_positive_slices_gen.go tl_channels_report_spam_gen.go tl_channels_report_spam_slices_gen.go tl_channels_send_as_peers_gen.go tl_channels_send_as_peers_slices_gen.go tl_channels_set_discussion_group_gen.go tl_channels_set_discussion_group_slices_gen.go tl_channels_set_stickers_gen.go tl_channels_set_stickers_slices_gen.go tl_channels_toggle_anti_spam_gen.go tl_channels_toggle_anti_spam_slices_gen.go tl_channels_toggle_forum_gen.go tl_channels_toggle_forum_slices_gen.go tl_channels_toggle_join_request_gen.go tl_channels_toggle_join_request_slices_gen.go tl_channels_toggle_join_to_send_gen.go tl_channels_toggle_join_to_send_slices_gen.go tl_channels_toggle_participants_hidden_gen.go tl_channels_toggle_participants_hidden_slices_gen.go tl_channels_toggle_pre_history_hidden_gen.go tl_channels_toggle_pre_history_hidden_slices_gen.go tl_channels_toggle_signatures_gen.go tl_channels_toggle_signatures_slices_gen.go tl_channels_toggle_slow_mode_gen.go tl_channels_toggle_slow_mode_slices_gen.go tl_channels_toggle_username_gen.go tl_channels_toggle_username_slices_gen.go tl_channels_toggle_view_forum_as_messages_gen.go tl_channels_toggle_view_forum_as_messages_slices_gen.go tl_channels_update_color_gen.go tl_channels_update_color_slices_gen.go tl_channels_update_emoji_status_gen.go tl_channels_update_emoji_status_slices_gen.go tl_channels_update_pinned_forum_topic_gen.go tl_channels_update_pinned_forum_topic_slices_gen.go tl_channels_update_username_gen.go tl_channels_update_username_slices_gen.go tl_channels_view_sponsored_message_gen.go tl_channels_view_sponsored_message_slices_gen.go tl_chat_admin_rights_gen.go tl_chat_admin_rights_slices_gen.go tl_chat_admin_with_invites_gen.go tl_chat_admin_with_invites_slices_gen.go tl_chat_banned_rights_gen.go tl_chat_banned_rights_slices_gen.go tl_chat_full_gen.go tl_chat_full_slices_gen.go tl_chat_gen.go tl_chat_invite_gen.go tl_chat_invite_importer_gen.go tl_chat_invite_importer_slices_gen.go tl_chat_invite_slices_gen.go tl_chat_onlines_gen.go tl_chat_onlines_slices_gen.go tl_chat_participant_gen.go tl_chat_participant_slices_gen.go tl_chat_participants_gen.go tl_chat_participants_slices_gen.go tl_chat_photo_gen.go tl_chat_photo_slices_gen.go tl_chat_reactions_gen.go tl_chat_reactions_slices_gen.go tl_chat_slices_gen.go tl_chatlists_chatlist_invite_gen.go tl_chatlists_chatlist_invite_slices_gen.go tl_chatlists_chatlist_updates_gen.go tl_chatlists_chatlist_updates_slices_gen.go tl_chatlists_check_chatlist_invite_gen.go tl_chatlists_check_chatlist_invite_slices_gen.go tl_chatlists_delete_exported_invite_gen.go tl_chatlists_delete_exported_invite_slices_gen.go tl_chatlists_edit_exported_invite_gen.go tl_chatlists_edit_exported_invite_slices_gen.go tl_chatlists_export_chatlist_invite_gen.go tl_chatlists_export_chatlist_invite_slices_gen.go tl_chatlists_exported_chatlist_invite_gen.go tl_chatlists_exported_chatlist_invite_slices_gen.go tl_chatlists_exported_invites_gen.go tl_chatlists_exported_invites_slices_gen.go tl_chatlists_get_chatlist_updates_gen.go tl_chatlists_get_chatlist_updates_slices_gen.go tl_chatlists_get_exported_invites_gen.go tl_chatlists_get_exported_invites_slices_gen.go tl_chatlists_get_leave_chatlist_suggestions_gen.go tl_chatlists_get_leave_chatlist_suggestions_slices_gen.go tl_chatlists_hide_chatlist_updates_gen.go tl_chatlists_hide_chatlist_updates_slices_gen.go tl_chatlists_join_chatlist_invite_gen.go tl_chatlists_join_chatlist_invite_slices_gen.go tl_chatlists_join_chatlist_updates_gen.go tl_chatlists_join_chatlist_updates_slices_gen.go tl_chatlists_leave_chatlist_gen.go tl_chatlists_leave_chatlist_slices_gen.go tl_client_gen.go tl_code_settings_gen.go tl_code_settings_slices_gen.go tl_config_gen.go tl_config_slices_gen.go tl_contact_gen.go tl_contact_slices_gen.go tl_contact_status_gen.go tl_contact_status_slices_gen.go tl_contact_status_vector_gen.go tl_contact_status_vector_slices_gen.go tl_contacts_accept_contact_gen.go tl_contacts_accept_contact_slices_gen.go tl_contacts_add_contact_gen.go tl_contacts_add_contact_slices_gen.go tl_contacts_block_from_replies_gen.go tl_contacts_block_from_replies_slices_gen.go tl_contacts_block_gen.go tl_contacts_block_slices_gen.go tl_contacts_blocked_gen.go tl_contacts_blocked_slices_gen.go tl_contacts_contacts_gen.go tl_contacts_contacts_slices_gen.go tl_contacts_delete_by_phones_gen.go tl_contacts_delete_by_phones_slices_gen.go tl_contacts_delete_contacts_gen.go tl_contacts_delete_contacts_slices_gen.go tl_contacts_edit_close_friends_gen.go tl_contacts_edit_close_friends_slices_gen.go tl_contacts_export_contact_token_gen.go tl_contacts_export_contact_token_slices_gen.go tl_contacts_found_gen.go tl_contacts_found_slices_gen.go tl_contacts_get_blocked_gen.go tl_contacts_get_blocked_slices_gen.go tl_contacts_get_contact_ids_gen.go tl_contacts_get_contact_ids_slices_gen.go tl_contacts_get_contacts_gen.go tl_contacts_get_contacts_slices_gen.go tl_contacts_get_located_gen.go tl_contacts_get_located_slices_gen.go tl_contacts_get_saved_gen.go tl_contacts_get_saved_slices_gen.go tl_contacts_get_statuses_gen.go tl_contacts_get_statuses_slices_gen.go tl_contacts_get_top_peers_gen.go tl_contacts_get_top_peers_slices_gen.go tl_contacts_import_contact_token_gen.go tl_contacts_import_contact_token_slices_gen.go tl_contacts_import_contacts_gen.go tl_contacts_import_contacts_slices_gen.go tl_contacts_imported_contacts_gen.go tl_contacts_imported_contacts_slices_gen.go tl_contacts_reset_saved_gen.go tl_contacts_reset_saved_slices_gen.go tl_contacts_reset_top_peer_rating_gen.go tl_contacts_reset_top_peer_rating_slices_gen.go tl_contacts_resolve_phone_gen.go tl_contacts_resolve_phone_slices_gen.go tl_contacts_resolve_username_gen.go tl_contacts_resolve_username_slices_gen.go tl_contacts_resolved_peer_gen.go tl_contacts_resolved_peer_slices_gen.go tl_contacts_search_gen.go tl_contacts_search_slices_gen.go tl_contacts_set_blocked_gen.go tl_contacts_set_blocked_slices_gen.go tl_contacts_toggle_top_peers_gen.go tl_contacts_toggle_top_peers_slices_gen.go tl_contacts_top_peers_gen.go tl_contacts_top_peers_slices_gen.go tl_contacts_unblock_gen.go tl_contacts_unblock_slices_gen.go tl_data_json_gen.go tl_data_json_slices_gen.go tl_dc_option_gen.go tl_dc_option_slices_gen.go tl_default_history_ttl_gen.go tl_default_history_ttl_slices_gen.go tl_dialog_filter_class_vector_gen.go tl_dialog_filter_class_vector_slices_gen.go tl_dialog_filter_gen.go tl_dialog_filter_slices_gen.go tl_dialog_filter_suggested_gen.go tl_dialog_filter_suggested_slices_gen.go tl_dialog_filter_suggested_vector_gen.go tl_dialog_filter_suggested_vector_slices_gen.go tl_dialog_gen.go tl_dialog_peer_class_vector_gen.go tl_dialog_peer_class_vector_slices_gen.go tl_dialog_peer_gen.go tl_dialog_peer_slices_gen.go tl_dialog_slices_gen.go tl_document_attribute_gen.go tl_document_attribute_slices_gen.go tl_document_class_vector_gen.go tl_document_class_vector_slices_gen.go tl_document_gen.go tl_document_slices_gen.go tl_double_gen.go tl_double_slices_gen.go tl_draft_message_gen.go tl_draft_message_slices_gen.go tl_email_verification_gen.go tl_email_verification_slices_gen.go tl_email_verify_purpose_gen.go tl_email_verify_purpose_slices_gen.go tl_emoji_group_gen.go tl_emoji_group_slices_gen.go tl_emoji_keyword_gen.go tl_emoji_keyword_slices_gen.go tl_emoji_keywords_difference_gen.go tl_emoji_keywords_difference_slices_gen.go tl_emoji_language_gen.go tl_emoji_language_slices_gen.go tl_emoji_language_vector_gen.go tl_emoji_language_vector_slices_gen.go tl_emoji_list_gen.go tl_emoji_list_slices_gen.go tl_emoji_status_gen.go tl_emoji_status_slices_gen.go tl_emoji_url_gen.go tl_emoji_url_slices_gen.go tl_encrypted_chat_gen.go tl_encrypted_chat_slices_gen.go tl_encrypted_file_gen.go tl_encrypted_file_slices_gen.go tl_encrypted_message_gen.go tl_encrypted_message_slices_gen.go tl_error_gen.go tl_error_slices_gen.go tl_errors_gen.go tl_exported_chat_invite_gen.go tl_exported_chat_invite_slices_gen.go tl_exported_chatlist_invite_gen.go tl_exported_chatlist_invite_slices_gen.go tl_exported_contact_token_gen.go tl_exported_contact_token_slices_gen.go tl_exported_message_link_gen.go tl_exported_message_link_slices_gen.go tl_exported_story_link_gen.go tl_exported_story_link_slices_gen.go tl_file_hash_gen.go tl_file_hash_slices_gen.go tl_file_hash_vector_gen.go tl_file_hash_vector_slices_gen.go tl_folder_gen.go tl_folder_peer_gen.go tl_folder_peer_slices_gen.go tl_folder_slices_gen.go tl_folders_edit_peer_folders_gen.go tl_folders_edit_peer_folders_slices_gen.go tl_forum_topic_gen.go tl_forum_topic_slices_gen.go tl_game_gen.go tl_game_slices_gen.go tl_geo_point_gen.go tl_geo_point_slices_gen.go tl_global_privacy_settings_gen.go tl_global_privacy_settings_slices_gen.go tl_group_call_gen.go tl_group_call_participant_gen.go tl_group_call_participant_slices_gen.go tl_group_call_participant_video_gen.go tl_group_call_participant_video_slices_gen.go tl_group_call_participant_video_source_group_gen.go tl_group_call_participant_video_source_group_slices_gen.go tl_group_call_slices_gen.go tl_group_call_stream_channel_gen.go tl_group_call_stream_channel_slices_gen.go tl_handlers_gen.go tl_help_accept_terms_of_service_gen.go tl_help_accept_terms_of_service_slices_gen.go tl_help_app_config_gen.go tl_help_app_config_slices_gen.go tl_help_app_update_gen.go tl_help_app_update_slices_gen.go tl_help_config_simple_gen.go tl_help_config_simple_slices_gen.go tl_help_countries_list_gen.go tl_help_countries_list_slices_gen.go tl_help_country_code_gen.go tl_help_country_code_slices_gen.go tl_help_country_gen.go tl_help_country_slices_gen.go tl_help_deep_link_info_gen.go tl_help_deep_link_info_slices_gen.go tl_help_dismiss_suggestion_gen.go tl_help_dismiss_suggestion_slices_gen.go tl_help_edit_user_info_gen.go tl_help_edit_user_info_slices_gen.go tl_help_get_app_config_gen.go tl_help_get_app_config_slices_gen.go tl_help_get_app_update_gen.go tl_help_get_app_update_slices_gen.go tl_help_get_cdn_config_gen.go tl_help_get_cdn_config_slices_gen.go tl_help_get_config_gen.go tl_help_get_config_slices_gen.go tl_help_get_countries_list_gen.go tl_help_get_countries_list_slices_gen.go tl_help_get_deep_link_info_gen.go tl_help_get_deep_link_info_slices_gen.go tl_help_get_invite_text_gen.go tl_help_get_invite_text_slices_gen.go tl_help_get_nearest_dc_gen.go tl_help_get_nearest_dc_slices_gen.go tl_help_get_passport_config_gen.go tl_help_get_passport_config_slices_gen.go tl_help_get_peer_colors_gen.go tl_help_get_peer_colors_slices_gen.go tl_help_get_peer_profile_colors_gen.go tl_help_get_peer_profile_colors_slices_gen.go tl_help_get_premium_promo_gen.go tl_help_get_premium_promo_slices_gen.go tl_help_get_promo_data_gen.go tl_help_get_promo_data_slices_gen.go tl_help_get_recent_me_urls_gen.go tl_help_get_recent_me_urls_slices_gen.go tl_help_get_support_gen.go tl_help_get_support_name_gen.go tl_help_get_support_name_slices_gen.go tl_help_get_support_slices_gen.go tl_help_get_terms_of_service_update_gen.go tl_help_get_terms_of_service_update_slices_gen.go tl_help_get_user_info_gen.go tl_help_get_user_info_slices_gen.go tl_help_hide_promo_data_gen.go tl_help_hide_promo_data_slices_gen.go tl_help_invite_text_gen.go tl_help_invite_text_slices_gen.go tl_help_passport_config_gen.go tl_help_passport_config_slices_gen.go tl_help_peer_color_option_gen.go tl_help_peer_color_option_slices_gen.go tl_help_peer_color_set_gen.go tl_help_peer_color_set_slices_gen.go tl_help_peer_colors_gen.go tl_help_peer_colors_slices_gen.go tl_help_premium_promo_gen.go tl_help_premium_promo_slices_gen.go tl_help_promo_data_gen.go tl_help_promo_data_slices_gen.go tl_help_recent_me_urls_gen.go tl_help_recent_me_urls_slices_gen.go tl_help_save_app_log_gen.go tl_help_save_app_log_slices_gen.go tl_help_set_bot_updates_status_gen.go tl_help_set_bot_updates_status_slices_gen.go tl_help_support_gen.go tl_help_support_name_gen.go tl_help_support_name_slices_gen.go tl_help_support_slices_gen.go tl_help_terms_of_service_gen.go tl_help_terms_of_service_slices_gen.go tl_help_terms_of_service_update_gen.go tl_help_terms_of_service_update_slices_gen.go tl_help_user_info_gen.go tl_help_user_info_slices_gen.go tl_high_score_gen.go tl_high_score_slices_gen.go tl_imported_contact_gen.go tl_imported_contact_slices_gen.go tl_init_connection_gen.go tl_init_connection_slices_gen.go tl_inline_bot_switch_p_m_gen.go tl_inline_bot_switch_p_m_slices_gen.go tl_inline_bot_web_view_gen.go tl_inline_bot_web_view_slices_gen.go tl_inline_query_peer_type_gen.go tl_inline_query_peer_type_slices_gen.go tl_input_app_event_gen.go tl_input_app_event_slices_gen.go tl_input_bot_app_gen.go tl_input_bot_app_slices_gen.go tl_input_bot_inline_message_gen.go tl_input_bot_inline_message_id_gen.go tl_input_bot_inline_message_id_slices_gen.go tl_input_bot_inline_message_slices_gen.go tl_input_bot_inline_result_gen.go tl_input_bot_inline_result_slices_gen.go tl_input_channel_gen.go tl_input_channel_slices_gen.go tl_input_chat_photo_gen.go tl_input_chat_photo_slices_gen.go tl_input_chatlist_dialog_filter_gen.go tl_input_chatlist_dialog_filter_slices_gen.go tl_input_check_password_srp_gen.go tl_input_check_password_srp_slices_gen.go tl_input_client_proxy_gen.go tl_input_client_proxy_slices_gen.go tl_input_dialog_peer_gen.go tl_input_dialog_peer_slices_gen.go tl_input_document_gen.go tl_input_document_slices_gen.go tl_input_encrypted_chat_gen.go tl_input_encrypted_chat_slices_gen.go tl_input_encrypted_file_gen.go tl_input_encrypted_file_slices_gen.go tl_input_file_gen.go tl_input_file_location_gen.go tl_input_file_location_slices_gen.go tl_input_file_slices_gen.go tl_input_folder_peer_gen.go tl_input_folder_peer_slices_gen.go tl_input_game_gen.go tl_input_game_slices_gen.go tl_input_geo_point_gen.go tl_input_geo_point_slices_gen.go tl_input_group_call_gen.go tl_input_group_call_slices_gen.go tl_input_invoice_gen.go tl_input_invoice_slices_gen.go tl_input_media_gen.go tl_input_media_slices_gen.go tl_input_message_gen.go tl_input_message_slices_gen.go tl_input_notify_peer_gen.go tl_input_notify_peer_slices_gen.go tl_input_payment_credentials_gen.go tl_input_payment_credentials_slices_gen.go tl_input_peer_gen.go tl_input_peer_notify_settings_gen.go tl_input_peer_notify_settings_slices_gen.go tl_input_peer_slices_gen.go tl_input_phone_call_gen.go tl_input_phone_call_slices_gen.go tl_input_phone_contact_gen.go tl_input_phone_contact_slices_gen.go tl_input_photo_gen.go tl_input_photo_slices_gen.go tl_input_privacy_key_gen.go tl_input_privacy_key_slices_gen.go tl_input_privacy_rule_gen.go tl_input_privacy_rule_slices_gen.go tl_input_reply_to_gen.go tl_input_reply_to_slices_gen.go tl_input_secure_file_gen.go tl_input_secure_file_slices_gen.go tl_input_secure_value_gen.go tl_input_secure_value_slices_gen.go tl_input_single_media_gen.go tl_input_single_media_slices_gen.go tl_input_sticker_set_gen.go tl_input_sticker_set_item_gen.go tl_input_sticker_set_item_slices_gen.go tl_input_sticker_set_slices_gen.go tl_input_stickered_media_gen.go tl_input_stickered_media_slices_gen.go tl_input_store_payment_purpose_gen.go tl_input_store_payment_purpose_slices_gen.go tl_input_theme_gen.go tl_input_theme_settings_gen.go tl_input_theme_settings_slices_gen.go tl_input_theme_slices_gen.go tl_input_user_gen.go tl_input_user_slices_gen.go tl_input_wall_paper_gen.go tl_input_wall_paper_slices_gen.go tl_input_web_document_gen.go tl_input_web_document_slices_gen.go tl_input_web_file_location_gen.go tl_input_web_file_location_slices_gen.go tl_int_gen.go tl_int_slices_gen.go tl_int_vector_gen.go tl_int_vector_slices_gen.go tl_invoice_gen.go tl_invoice_slices_gen.go tl_invoke_after_msg_gen.go tl_invoke_after_msg_slices_gen.go tl_invoke_after_msgs_gen.go tl_invoke_after_msgs_slices_gen.go tl_invoke_with_layer_gen.go tl_invoke_with_layer_slices_gen.go tl_invoke_with_messages_range_gen.go tl_invoke_with_messages_range_slices_gen.go tl_invoke_with_takeout_gen.go tl_invoke_with_takeout_slices_gen.go tl_invoke_without_updates_gen.go tl_invoke_without_updates_slices_gen.go tl_ip_port_gen.go tl_ip_port_slices_gen.go tl_json_object_value_gen.go tl_json_object_value_slices_gen.go tl_json_value_gen.go tl_json_value_slices_gen.go tl_keyboard_button_gen.go tl_keyboard_button_row_gen.go tl_keyboard_button_row_slices_gen.go tl_keyboard_button_slices_gen.go tl_labeled_price_gen.go tl_labeled_price_slices_gen.go tl_lang_pack_difference_gen.go tl_lang_pack_difference_slices_gen.go tl_lang_pack_language_gen.go tl_lang_pack_language_slices_gen.go tl_lang_pack_language_vector_gen.go tl_lang_pack_language_vector_slices_gen.go tl_lang_pack_string_class_vector_gen.go tl_lang_pack_string_class_vector_slices_gen.go tl_lang_pack_string_gen.go tl_lang_pack_string_slices_gen.go tl_langpack_get_difference_gen.go tl_langpack_get_difference_slices_gen.go tl_langpack_get_lang_pack_gen.go tl_langpack_get_lang_pack_slices_gen.go tl_langpack_get_language_gen.go tl_langpack_get_language_slices_gen.go tl_langpack_get_languages_gen.go tl_langpack_get_languages_slices_gen.go tl_langpack_get_strings_gen.go tl_langpack_get_strings_slices_gen.go tl_long_gen.go tl_long_slices_gen.go tl_long_vector_gen.go tl_long_vector_slices_gen.go tl_mask_coords_gen.go tl_mask_coords_slices_gen.go tl_media_area_coordinates_gen.go tl_media_area_coordinates_slices_gen.go tl_media_area_gen.go tl_media_area_slices_gen.go tl_message_action_gen.go tl_message_action_slices_gen.go tl_message_entity_gen.go tl_message_entity_slices_gen.go tl_message_extended_media_gen.go tl_message_extended_media_slices_gen.go tl_message_fwd_header_gen.go tl_message_fwd_header_slices_gen.go tl_message_gen.go tl_message_media_gen.go tl_message_media_slices_gen.go tl_message_peer_reaction_gen.go tl_message_peer_reaction_slices_gen.go tl_message_peer_vote_gen.go tl_message_peer_vote_slices_gen.go tl_message_range_gen.go tl_message_range_slices_gen.go tl_message_range_vector_gen.go tl_message_range_vector_slices_gen.go tl_message_reactions_gen.go tl_message_reactions_slices_gen.go tl_message_replies_gen.go tl_message_replies_slices_gen.go tl_message_reply_header_gen.go tl_message_reply_header_slices_gen.go tl_message_slices_gen.go tl_message_views_gen.go tl_message_views_slices_gen.go tl_messages_accept_encryption_gen.go tl_messages_accept_encryption_slices_gen.go tl_messages_accept_url_auth_gen.go tl_messages_accept_url_auth_slices_gen.go tl_messages_add_chat_user_gen.go tl_messages_add_chat_user_slices_gen.go tl_messages_affected_found_messages_gen.go tl_messages_affected_found_messages_slices_gen.go tl_messages_affected_history_gen.go tl_messages_affected_history_slices_gen.go tl_messages_affected_messages_gen.go tl_messages_affected_messages_slices_gen.go tl_messages_all_stickers_gen.go tl_messages_all_stickers_slices_gen.go tl_messages_archived_stickers_gen.go tl_messages_archived_stickers_slices_gen.go tl_messages_available_reactions_gen.go tl_messages_available_reactions_slices_gen.go tl_messages_bot_app_gen.go tl_messages_bot_app_slices_gen.go tl_messages_bot_callback_answer_gen.go tl_messages_bot_callback_answer_slices_gen.go tl_messages_bot_results_gen.go tl_messages_bot_results_slices_gen.go tl_messages_chat_admins_with_invites_gen.go tl_messages_chat_admins_with_invites_slices_gen.go tl_messages_chat_full_gen.go tl_messages_chat_full_slices_gen.go tl_messages_chat_invite_importers_gen.go tl_messages_chat_invite_importers_slices_gen.go tl_messages_chats_gen.go tl_messages_chats_slices_gen.go tl_messages_check_chat_invite_gen.go tl_messages_check_chat_invite_slices_gen.go tl_messages_check_history_import_gen.go tl_messages_check_history_import_peer_gen.go tl_messages_check_history_import_peer_slices_gen.go tl_messages_check_history_import_slices_gen.go tl_messages_checked_history_import_peer_gen.go tl_messages_checked_history_import_peer_slices_gen.go tl_messages_clear_all_drafts_gen.go tl_messages_clear_all_drafts_slices_gen.go tl_messages_clear_recent_reactions_gen.go tl_messages_clear_recent_reactions_slices_gen.go tl_messages_clear_recent_stickers_gen.go tl_messages_clear_recent_stickers_slices_gen.go tl_messages_create_chat_gen.go tl_messages_create_chat_slices_gen.go tl_messages_delete_chat_gen.go tl_messages_delete_chat_slices_gen.go tl_messages_delete_chat_user_gen.go tl_messages_delete_chat_user_slices_gen.go tl_messages_delete_exported_chat_invite_gen.go tl_messages_delete_exported_chat_invite_slices_gen.go tl_messages_delete_history_gen.go tl_messages_delete_history_slices_gen.go tl_messages_delete_messages_gen.go tl_messages_delete_messages_slices_gen.go tl_messages_delete_phone_call_history_gen.go tl_messages_delete_phone_call_history_slices_gen.go tl_messages_delete_revoked_exported_chat_invites_gen.go tl_messages_delete_revoked_exported_chat_invites_slices_gen.go tl_messages_delete_scheduled_messages_gen.go tl_messages_delete_scheduled_messages_slices_gen.go tl_messages_dh_config_gen.go tl_messages_dh_config_slices_gen.go tl_messages_dialogs_gen.go tl_messages_dialogs_slices_gen.go tl_messages_discard_encryption_gen.go tl_messages_discard_encryption_slices_gen.go tl_messages_discussion_message_gen.go tl_messages_discussion_message_slices_gen.go tl_messages_edit_chat_about_gen.go tl_messages_edit_chat_about_slices_gen.go tl_messages_edit_chat_admin_gen.go tl_messages_edit_chat_admin_slices_gen.go tl_messages_edit_chat_default_banned_rights_gen.go tl_messages_edit_chat_default_banned_rights_slices_gen.go tl_messages_edit_chat_photo_gen.go tl_messages_edit_chat_photo_slices_gen.go tl_messages_edit_chat_title_gen.go tl_messages_edit_chat_title_slices_gen.go tl_messages_edit_exported_chat_invite_gen.go tl_messages_edit_exported_chat_invite_slices_gen.go tl_messages_edit_inline_bot_message_gen.go tl_messages_edit_inline_bot_message_slices_gen.go tl_messages_edit_message_gen.go tl_messages_edit_message_slices_gen.go tl_messages_emoji_groups_gen.go tl_messages_emoji_groups_slices_gen.go tl_messages_export_chat_invite_gen.go tl_messages_export_chat_invite_slices_gen.go tl_messages_exported_chat_invite_gen.go tl_messages_exported_chat_invite_slices_gen.go tl_messages_exported_chat_invites_gen.go tl_messages_exported_chat_invites_slices_gen.go tl_messages_fave_sticker_gen.go tl_messages_fave_sticker_slices_gen.go tl_messages_faved_stickers_gen.go tl_messages_faved_stickers_slices_gen.go tl_messages_featured_stickers_gen.go tl_messages_featured_stickers_slices_gen.go tl_messages_filter_gen.go tl_messages_filter_slices_gen.go tl_messages_forum_topics_gen.go tl_messages_forum_topics_slices_gen.go tl_messages_forward_messages_gen.go tl_messages_forward_messages_slices_gen.go tl_messages_found_sticker_sets_gen.go tl_messages_found_sticker_sets_slices_gen.go tl_messages_get_admins_with_invites_gen.go tl_messages_get_admins_with_invites_slices_gen.go tl_messages_get_all_drafts_gen.go tl_messages_get_all_drafts_slices_gen.go tl_messages_get_all_stickers_gen.go tl_messages_get_all_stickers_slices_gen.go tl_messages_get_archived_stickers_gen.go tl_messages_get_archived_stickers_slices_gen.go tl_messages_get_attach_menu_bot_gen.go tl_messages_get_attach_menu_bot_slices_gen.go tl_messages_get_attach_menu_bots_gen.go tl_messages_get_attach_menu_bots_slices_gen.go tl_messages_get_attached_stickers_gen.go tl_messages_get_attached_stickers_slices_gen.go tl_messages_get_available_reactions_gen.go tl_messages_get_available_reactions_slices_gen.go tl_messages_get_bot_app_gen.go tl_messages_get_bot_app_slices_gen.go tl_messages_get_bot_callback_answer_gen.go tl_messages_get_bot_callback_answer_slices_gen.go tl_messages_get_chat_invite_importers_gen.go tl_messages_get_chat_invite_importers_slices_gen.go tl_messages_get_chats_gen.go tl_messages_get_chats_slices_gen.go tl_messages_get_common_chats_gen.go tl_messages_get_common_chats_slices_gen.go tl_messages_get_custom_emoji_documents_gen.go tl_messages_get_custom_emoji_documents_slices_gen.go tl_messages_get_default_history_ttl_gen.go tl_messages_get_default_history_ttl_slices_gen.go tl_messages_get_dh_config_gen.go tl_messages_get_dh_config_slices_gen.go tl_messages_get_dialog_filters_gen.go tl_messages_get_dialog_filters_slices_gen.go tl_messages_get_dialog_unread_marks_gen.go tl_messages_get_dialog_unread_marks_slices_gen.go tl_messages_get_dialogs_gen.go tl_messages_get_dialogs_slices_gen.go tl_messages_get_discussion_message_gen.go tl_messages_get_discussion_message_slices_gen.go tl_messages_get_document_by_hash_gen.go tl_messages_get_document_by_hash_slices_gen.go tl_messages_get_emoji_groups_gen.go tl_messages_get_emoji_groups_slices_gen.go tl_messages_get_emoji_keywords_difference_gen.go tl_messages_get_emoji_keywords_difference_slices_gen.go tl_messages_get_emoji_keywords_gen.go tl_messages_get_emoji_keywords_languages_gen.go tl_messages_get_emoji_keywords_languages_slices_gen.go tl_messages_get_emoji_keywords_slices_gen.go tl_messages_get_emoji_profile_photo_groups_gen.go tl_messages_get_emoji_profile_photo_groups_slices_gen.go tl_messages_get_emoji_status_groups_gen.go tl_messages_get_emoji_status_groups_slices_gen.go tl_messages_get_emoji_stickers_gen.go tl_messages_get_emoji_stickers_slices_gen.go tl_messages_get_emoji_url_gen.go tl_messages_get_emoji_url_slices_gen.go tl_messages_get_exported_chat_invite_gen.go tl_messages_get_exported_chat_invite_slices_gen.go tl_messages_get_exported_chat_invites_gen.go tl_messages_get_exported_chat_invites_slices_gen.go tl_messages_get_extended_media_gen.go tl_messages_get_extended_media_slices_gen.go tl_messages_get_faved_stickers_gen.go tl_messages_get_faved_stickers_slices_gen.go tl_messages_get_featured_emoji_stickers_gen.go tl_messages_get_featured_emoji_stickers_slices_gen.go tl_messages_get_featured_stickers_gen.go tl_messages_get_featured_stickers_slices_gen.go tl_messages_get_full_chat_gen.go tl_messages_get_full_chat_slices_gen.go tl_messages_get_game_high_scores_gen.go tl_messages_get_game_high_scores_slices_gen.go tl_messages_get_history_gen.go tl_messages_get_history_slices_gen.go tl_messages_get_inline_bot_results_gen.go tl_messages_get_inline_bot_results_slices_gen.go tl_messages_get_inline_game_high_scores_gen.go tl_messages_get_inline_game_high_scores_slices_gen.go tl_messages_get_mask_stickers_gen.go tl_messages_get_mask_stickers_slices_gen.go tl_messages_get_message_edit_data_gen.go tl_messages_get_message_edit_data_slices_gen.go tl_messages_get_message_reactions_list_gen.go tl_messages_get_message_reactions_list_slices_gen.go tl_messages_get_message_read_participants_gen.go tl_messages_get_message_read_participants_slices_gen.go tl_messages_get_messages_gen.go tl_messages_get_messages_reactions_gen.go tl_messages_get_messages_reactions_slices_gen.go tl_messages_get_messages_slices_gen.go tl_messages_get_messages_views_gen.go tl_messages_get_messages_views_slices_gen.go tl_messages_get_old_featured_stickers_gen.go tl_messages_get_old_featured_stickers_slices_gen.go tl_messages_get_onlines_gen.go tl_messages_get_onlines_slices_gen.go tl_messages_get_peer_dialogs_gen.go tl_messages_get_peer_dialogs_slices_gen.go tl_messages_get_peer_settings_gen.go tl_messages_get_peer_settings_slices_gen.go tl_messages_get_pinned_dialogs_gen.go tl_messages_get_pinned_dialogs_slices_gen.go tl_messages_get_poll_results_gen.go tl_messages_get_poll_results_slices_gen.go tl_messages_get_poll_votes_gen.go tl_messages_get_poll_votes_slices_gen.go tl_messages_get_recent_locations_gen.go tl_messages_get_recent_locations_slices_gen.go tl_messages_get_recent_reactions_gen.go tl_messages_get_recent_reactions_slices_gen.go tl_messages_get_recent_stickers_gen.go tl_messages_get_recent_stickers_slices_gen.go tl_messages_get_replies_gen.go tl_messages_get_replies_slices_gen.go tl_messages_get_saved_gifs_gen.go tl_messages_get_saved_gifs_slices_gen.go tl_messages_get_scheduled_history_gen.go tl_messages_get_scheduled_history_slices_gen.go tl_messages_get_scheduled_messages_gen.go tl_messages_get_scheduled_messages_slices_gen.go tl_messages_get_search_counters_gen.go tl_messages_get_search_counters_slices_gen.go tl_messages_get_search_results_calendar_gen.go tl_messages_get_search_results_calendar_slices_gen.go tl_messages_get_search_results_positions_gen.go tl_messages_get_search_results_positions_slices_gen.go tl_messages_get_split_ranges_gen.go tl_messages_get_split_ranges_slices_gen.go tl_messages_get_sticker_set_gen.go tl_messages_get_sticker_set_slices_gen.go tl_messages_get_stickers_gen.go tl_messages_get_stickers_slices_gen.go tl_messages_get_suggested_dialog_filters_gen.go tl_messages_get_suggested_dialog_filters_slices_gen.go tl_messages_get_top_reactions_gen.go tl_messages_get_top_reactions_slices_gen.go tl_messages_get_unread_mentions_gen.go tl_messages_get_unread_mentions_slices_gen.go tl_messages_get_unread_reactions_gen.go tl_messages_get_unread_reactions_slices_gen.go tl_messages_get_web_page_gen.go tl_messages_get_web_page_preview_gen.go tl_messages_get_web_page_preview_slices_gen.go tl_messages_get_web_page_slices_gen.go tl_messages_hide_all_chat_join_requests_gen.go tl_messages_hide_all_chat_join_requests_slices_gen.go tl_messages_hide_chat_join_request_gen.go tl_messages_hide_chat_join_request_slices_gen.go tl_messages_hide_peer_settings_bar_gen.go tl_messages_hide_peer_settings_bar_slices_gen.go tl_messages_high_scores_gen.go tl_messages_high_scores_slices_gen.go tl_messages_history_import_gen.go tl_messages_history_import_parsed_gen.go tl_messages_history_import_parsed_slices_gen.go tl_messages_history_import_slices_gen.go tl_messages_import_chat_invite_gen.go tl_messages_import_chat_invite_slices_gen.go tl_messages_inactive_chats_gen.go tl_messages_inactive_chats_slices_gen.go tl_messages_init_history_import_gen.go tl_messages_init_history_import_slices_gen.go tl_messages_install_sticker_set_gen.go tl_messages_install_sticker_set_slices_gen.go tl_messages_mark_dialog_unread_gen.go tl_messages_mark_dialog_unread_slices_gen.go tl_messages_message_edit_data_gen.go tl_messages_message_edit_data_slices_gen.go tl_messages_message_reactions_list_gen.go tl_messages_message_reactions_list_slices_gen.go tl_messages_message_views_gen.go tl_messages_message_views_slices_gen.go tl_messages_messages_gen.go tl_messages_messages_slices_gen.go tl_messages_migrate_chat_gen.go tl_messages_migrate_chat_slices_gen.go tl_messages_peer_dialogs_gen.go tl_messages_peer_dialogs_slices_gen.go tl_messages_peer_settings_gen.go tl_messages_peer_settings_slices_gen.go tl_messages_prolong_web_view_gen.go tl_messages_prolong_web_view_slices_gen.go tl_messages_rate_transcribed_audio_gen.go tl_messages_rate_transcribed_audio_slices_gen.go tl_messages_reactions_gen.go tl_messages_reactions_slices_gen.go tl_messages_read_discussion_gen.go tl_messages_read_discussion_slices_gen.go tl_messages_read_encrypted_history_gen.go tl_messages_read_encrypted_history_slices_gen.go tl_messages_read_featured_stickers_gen.go tl_messages_read_featured_stickers_slices_gen.go tl_messages_read_history_gen.go tl_messages_read_history_slices_gen.go tl_messages_read_mentions_gen.go tl_messages_read_mentions_slices_gen.go tl_messages_read_message_contents_gen.go tl_messages_read_message_contents_slices_gen.go tl_messages_read_reactions_gen.go tl_messages_read_reactions_slices_gen.go tl_messages_received_messages_gen.go tl_messages_received_messages_slices_gen.go tl_messages_received_queue_gen.go tl_messages_received_queue_slices_gen.go tl_messages_recent_stickers_gen.go tl_messages_recent_stickers_slices_gen.go tl_messages_reorder_pinned_dialogs_gen.go tl_messages_reorder_pinned_dialogs_slices_gen.go tl_messages_reorder_sticker_sets_gen.go tl_messages_reorder_sticker_sets_slices_gen.go tl_messages_report_encrypted_spam_gen.go tl_messages_report_encrypted_spam_slices_gen.go tl_messages_report_gen.go tl_messages_report_reaction_gen.go tl_messages_report_reaction_slices_gen.go tl_messages_report_slices_gen.go tl_messages_report_spam_gen.go tl_messages_report_spam_slices_gen.go tl_messages_request_app_web_view_gen.go tl_messages_request_app_web_view_slices_gen.go tl_messages_request_encryption_gen.go tl_messages_request_encryption_slices_gen.go tl_messages_request_simple_web_view_gen.go tl_messages_request_simple_web_view_slices_gen.go tl_messages_request_url_auth_gen.go tl_messages_request_url_auth_slices_gen.go tl_messages_request_web_view_gen.go tl_messages_request_web_view_slices_gen.go tl_messages_save_default_send_as_gen.go tl_messages_save_default_send_as_slices_gen.go tl_messages_save_draft_gen.go tl_messages_save_draft_slices_gen.go tl_messages_save_gif_gen.go tl_messages_save_gif_slices_gen.go tl_messages_save_recent_sticker_gen.go tl_messages_save_recent_sticker_slices_gen.go tl_messages_saved_gifs_gen.go tl_messages_saved_gifs_slices_gen.go tl_messages_search_counter_gen.go tl_messages_search_counter_slices_gen.go tl_messages_search_counter_vector_gen.go tl_messages_search_counter_vector_slices_gen.go tl_messages_search_custom_emoji_gen.go tl_messages_search_custom_emoji_slices_gen.go tl_messages_search_emoji_sticker_sets_gen.go tl_messages_search_emoji_sticker_sets_slices_gen.go tl_messages_search_gen.go tl_messages_search_global_gen.go tl_messages_search_global_slices_gen.go tl_messages_search_results_calendar_gen.go tl_messages_search_results_calendar_slices_gen.go tl_messages_search_results_positions_gen.go tl_messages_search_results_positions_slices_gen.go tl_messages_search_sent_media_gen.go tl_messages_search_sent_media_slices_gen.go tl_messages_search_slices_gen.go tl_messages_search_sticker_sets_gen.go tl_messages_search_sticker_sets_slices_gen.go tl_messages_send_bot_requested_peer_gen.go tl_messages_send_bot_requested_peer_slices_gen.go tl_messages_send_encrypted_file_gen.go tl_messages_send_encrypted_file_slices_gen.go tl_messages_send_encrypted_gen.go tl_messages_send_encrypted_service_gen.go tl_messages_send_encrypted_service_slices_gen.go tl_messages_send_encrypted_slices_gen.go tl_messages_send_inline_bot_result_gen.go tl_messages_send_inline_bot_result_slices_gen.go tl_messages_send_media_gen.go tl_messages_send_media_slices_gen.go tl_messages_send_message_gen.go tl_messages_send_message_slices_gen.go tl_messages_send_multi_media_gen.go tl_messages_send_multi_media_slices_gen.go tl_messages_send_reaction_gen.go tl_messages_send_reaction_slices_gen.go tl_messages_send_scheduled_messages_gen.go tl_messages_send_scheduled_messages_slices_gen.go tl_messages_send_screenshot_notification_gen.go tl_messages_send_screenshot_notification_slices_gen.go tl_messages_send_vote_gen.go tl_messages_send_vote_slices_gen.go tl_messages_send_web_view_data_gen.go tl_messages_send_web_view_data_slices_gen.go tl_messages_send_web_view_result_message_gen.go tl_messages_send_web_view_result_message_slices_gen.go tl_messages_sent_encrypted_message_gen.go tl_messages_sent_encrypted_message_slices_gen.go tl_messages_set_bot_callback_answer_gen.go tl_messages_set_bot_callback_answer_slices_gen.go tl_messages_set_bot_precheckout_results_gen.go tl_messages_set_bot_precheckout_results_slices_gen.go tl_messages_set_bot_shipping_results_gen.go tl_messages_set_bot_shipping_results_slices_gen.go tl_messages_set_chat_available_reactions_gen.go tl_messages_set_chat_available_reactions_slices_gen.go tl_messages_set_chat_theme_gen.go tl_messages_set_chat_theme_slices_gen.go tl_messages_set_chat_wall_paper_gen.go tl_messages_set_chat_wall_paper_slices_gen.go tl_messages_set_default_history_ttl_gen.go tl_messages_set_default_history_ttl_slices_gen.go tl_messages_set_default_reaction_gen.go tl_messages_set_default_reaction_slices_gen.go tl_messages_set_encrypted_typing_gen.go tl_messages_set_encrypted_typing_slices_gen.go tl_messages_set_game_score_gen.go tl_messages_set_game_score_slices_gen.go tl_messages_set_history_ttl_gen.go tl_messages_set_history_ttl_slices_gen.go tl_messages_set_inline_bot_results_gen.go tl_messages_set_inline_bot_results_slices_gen.go tl_messages_set_inline_game_score_gen.go tl_messages_set_inline_game_score_slices_gen.go tl_messages_set_typing_gen.go tl_messages_set_typing_slices_gen.go tl_messages_sponsored_messages_gen.go tl_messages_sponsored_messages_slices_gen.go tl_messages_start_bot_gen.go tl_messages_start_bot_slices_gen.go tl_messages_start_history_import_gen.go tl_messages_start_history_import_slices_gen.go tl_messages_sticker_set_gen.go tl_messages_sticker_set_install_result_gen.go tl_messages_sticker_set_install_result_slices_gen.go tl_messages_sticker_set_slices_gen.go tl_messages_stickers_gen.go tl_messages_stickers_slices_gen.go tl_messages_toggle_bot_in_attach_menu_gen.go tl_messages_toggle_bot_in_attach_menu_slices_gen.go tl_messages_toggle_dialog_pin_gen.go tl_messages_toggle_dialog_pin_slices_gen.go tl_messages_toggle_no_forwards_gen.go tl_messages_toggle_no_forwards_slices_gen.go tl_messages_toggle_peer_translations_gen.go tl_messages_toggle_peer_translations_slices_gen.go tl_messages_toggle_sticker_sets_gen.go tl_messages_toggle_sticker_sets_slices_gen.go tl_messages_transcribe_audio_gen.go tl_messages_transcribe_audio_slices_gen.go tl_messages_transcribed_audio_gen.go tl_messages_transcribed_audio_slices_gen.go tl_messages_translate_result_gen.go tl_messages_translate_result_slices_gen.go tl_messages_translate_text_gen.go tl_messages_translate_text_slices_gen.go tl_messages_uninstall_sticker_set_gen.go tl_messages_uninstall_sticker_set_slices_gen.go tl_messages_unpin_all_messages_gen.go tl_messages_unpin_all_messages_slices_gen.go tl_messages_update_dialog_filter_gen.go tl_messages_update_dialog_filter_slices_gen.go tl_messages_update_dialog_filters_order_gen.go tl_messages_update_dialog_filters_order_slices_gen.go tl_messages_update_pinned_message_gen.go tl_messages_update_pinned_message_slices_gen.go tl_messages_upload_encrypted_file_gen.go tl_messages_upload_encrypted_file_slices_gen.go tl_messages_upload_imported_media_gen.go tl_messages_upload_imported_media_slices_gen.go tl_messages_upload_media_gen.go tl_messages_upload_media_slices_gen.go tl_messages_votes_list_gen.go tl_messages_votes_list_slices_gen.go tl_messages_web_page_gen.go tl_messages_web_page_slices_gen.go tl_my_boost_gen.go tl_my_boost_slices_gen.go tl_nearest_dc_gen.go tl_nearest_dc_slices_gen.go tl_notification_sound_gen.go tl_notification_sound_slices_gen.go tl_notify_peer_gen.go tl_notify_peer_slices_gen.go tl_null_gen.go tl_null_slices_gen.go tl_page_block_gen.go tl_page_block_slices_gen.go tl_page_caption_gen.go tl_page_caption_slices_gen.go tl_page_gen.go tl_page_list_item_gen.go tl_page_list_item_slices_gen.go tl_page_list_ordered_item_gen.go tl_page_list_ordered_item_slices_gen.go tl_page_related_article_gen.go tl_page_related_article_slices_gen.go tl_page_slices_gen.go tl_page_table_cell_gen.go tl_page_table_cell_slices_gen.go tl_page_table_row_gen.go tl_page_table_row_slices_gen.go tl_password_kdf_algo_gen.go tl_password_kdf_algo_slices_gen.go tl_payment_charge_gen.go tl_payment_charge_slices_gen.go tl_payment_form_method_gen.go tl_payment_form_method_slices_gen.go tl_payment_requested_info_gen.go tl_payment_requested_info_slices_gen.go tl_payment_saved_credentials_card_gen.go tl_payment_saved_credentials_card_slices_gen.go tl_payments_apply_gift_code_gen.go tl_payments_apply_gift_code_slices_gen.go tl_payments_assign_app_store_transaction_gen.go tl_payments_assign_app_store_transaction_slices_gen.go tl_payments_assign_play_market_transaction_gen.go tl_payments_assign_play_market_transaction_slices_gen.go tl_payments_bank_card_data_gen.go tl_payments_bank_card_data_slices_gen.go tl_payments_can_purchase_premium_gen.go tl_payments_can_purchase_premium_slices_gen.go tl_payments_check_gift_code_gen.go tl_payments_check_gift_code_slices_gen.go tl_payments_checked_gift_code_gen.go tl_payments_checked_gift_code_slices_gen.go tl_payments_clear_saved_info_gen.go tl_payments_clear_saved_info_slices_gen.go tl_payments_export_invoice_gen.go tl_payments_export_invoice_slices_gen.go tl_payments_exported_invoice_gen.go tl_payments_exported_invoice_slices_gen.go tl_payments_get_bank_card_data_gen.go tl_payments_get_bank_card_data_slices_gen.go tl_payments_get_giveaway_info_gen.go tl_payments_get_giveaway_info_slices_gen.go tl_payments_get_payment_form_gen.go tl_payments_get_payment_form_slices_gen.go tl_payments_get_payment_receipt_gen.go tl_payments_get_payment_receipt_slices_gen.go tl_payments_get_premium_gift_code_options_gen.go tl_payments_get_premium_gift_code_options_slices_gen.go tl_payments_get_saved_info_gen.go tl_payments_get_saved_info_slices_gen.go tl_payments_giveaway_info_gen.go tl_payments_giveaway_info_slices_gen.go tl_payments_launch_prepaid_giveaway_gen.go tl_payments_launch_prepaid_giveaway_slices_gen.go tl_payments_payment_form_gen.go tl_payments_payment_form_slices_gen.go tl_payments_payment_receipt_gen.go tl_payments_payment_receipt_slices_gen.go tl_payments_payment_result_gen.go tl_payments_payment_result_slices_gen.go tl_payments_saved_info_gen.go tl_payments_saved_info_slices_gen.go tl_payments_send_payment_form_gen.go tl_payments_send_payment_form_slices_gen.go tl_payments_validate_requested_info_gen.go tl_payments_validate_requested_info_slices_gen.go tl_payments_validated_requested_info_gen.go tl_payments_validated_requested_info_slices_gen.go tl_peer_blocked_gen.go tl_peer_blocked_slices_gen.go tl_peer_class_vector_gen.go tl_peer_class_vector_slices_gen.go tl_peer_color_gen.go tl_peer_color_slices_gen.go tl_peer_gen.go tl_peer_located_gen.go tl_peer_located_slices_gen.go tl_peer_notify_settings_gen.go tl_peer_notify_settings_slices_gen.go tl_peer_settings_gen.go tl_peer_settings_slices_gen.go tl_peer_slices_gen.go tl_peer_stories_gen.go tl_peer_stories_slices_gen.go tl_phone_accept_call_gen.go tl_phone_accept_call_slices_gen.go tl_phone_call_discard_reason_gen.go tl_phone_call_discard_reason_slices_gen.go tl_phone_call_gen.go tl_phone_call_protocol_gen.go tl_phone_call_protocol_slices_gen.go tl_phone_call_slices_gen.go tl_phone_check_group_call_gen.go tl_phone_check_group_call_slices_gen.go tl_phone_confirm_call_gen.go tl_phone_confirm_call_slices_gen.go tl_phone_connection_gen.go tl_phone_connection_slices_gen.go tl_phone_create_group_call_gen.go tl_phone_create_group_call_slices_gen.go tl_phone_discard_call_gen.go tl_phone_discard_call_slices_gen.go tl_phone_discard_group_call_gen.go tl_phone_discard_group_call_slices_gen.go tl_phone_edit_group_call_participant_gen.go tl_phone_edit_group_call_participant_slices_gen.go tl_phone_edit_group_call_title_gen.go tl_phone_edit_group_call_title_slices_gen.go tl_phone_export_group_call_invite_gen.go tl_phone_export_group_call_invite_slices_gen.go tl_phone_exported_group_call_invite_gen.go tl_phone_exported_group_call_invite_slices_gen.go tl_phone_get_call_config_gen.go tl_phone_get_call_config_slices_gen.go tl_phone_get_group_call_gen.go tl_phone_get_group_call_join_as_gen.go tl_phone_get_group_call_join_as_slices_gen.go tl_phone_get_group_call_slices_gen.go tl_phone_get_group_call_stream_channels_gen.go tl_phone_get_group_call_stream_channels_slices_gen.go tl_phone_get_group_call_stream_rtmp_url_gen.go tl_phone_get_group_call_stream_rtmp_url_slices_gen.go tl_phone_get_group_participants_gen.go tl_phone_get_group_participants_slices_gen.go tl_phone_group_call_gen.go tl_phone_group_call_slices_gen.go tl_phone_group_call_stream_channels_gen.go tl_phone_group_call_stream_channels_slices_gen.go tl_phone_group_call_stream_rtmp_url_gen.go tl_phone_group_call_stream_rtmp_url_slices_gen.go tl_phone_group_participants_gen.go tl_phone_group_participants_slices_gen.go tl_phone_invite_to_group_call_gen.go tl_phone_invite_to_group_call_slices_gen.go tl_phone_join_as_peers_gen.go tl_phone_join_as_peers_slices_gen.go tl_phone_join_group_call_gen.go tl_phone_join_group_call_presentation_gen.go tl_phone_join_group_call_presentation_slices_gen.go tl_phone_join_group_call_slices_gen.go tl_phone_leave_group_call_gen.go tl_phone_leave_group_call_presentation_gen.go tl_phone_leave_group_call_presentation_slices_gen.go tl_phone_leave_group_call_slices_gen.go tl_phone_phone_call_gen.go tl_phone_phone_call_slices_gen.go tl_phone_received_call_gen.go tl_phone_received_call_slices_gen.go tl_phone_request_call_gen.go tl_phone_request_call_slices_gen.go tl_phone_save_call_debug_gen.go tl_phone_save_call_debug_slices_gen.go tl_phone_save_call_log_gen.go tl_phone_save_call_log_slices_gen.go tl_phone_save_default_group_call_join_as_gen.go tl_phone_save_default_group_call_join_as_slices_gen.go tl_phone_send_signaling_data_gen.go tl_phone_send_signaling_data_slices_gen.go tl_phone_set_call_rating_gen.go tl_phone_set_call_rating_slices_gen.go tl_phone_start_scheduled_group_call_gen.go tl_phone_start_scheduled_group_call_slices_gen.go tl_phone_toggle_group_call_record_gen.go tl_phone_toggle_group_call_record_slices_gen.go tl_phone_toggle_group_call_settings_gen.go tl_phone_toggle_group_call_settings_slices_gen.go tl_phone_toggle_group_call_start_subscription_gen.go tl_phone_toggle_group_call_start_subscription_slices_gen.go tl_photo_gen.go tl_photo_size_gen.go tl_photo_size_slices_gen.go tl_photo_slices_gen.go tl_photos_delete_photos_gen.go tl_photos_delete_photos_slices_gen.go tl_photos_get_user_photos_gen.go tl_photos_get_user_photos_slices_gen.go tl_photos_photo_gen.go tl_photos_photo_slices_gen.go tl_photos_photos_gen.go tl_photos_photos_slices_gen.go tl_photos_update_profile_photo_gen.go tl_photos_update_profile_photo_slices_gen.go tl_photos_upload_contact_profile_photo_gen.go tl_photos_upload_contact_profile_photo_slices_gen.go tl_photos_upload_profile_photo_gen.go tl_photos_upload_profile_photo_slices_gen.go tl_poll_answer_gen.go tl_poll_answer_slices_gen.go tl_poll_answer_voters_gen.go tl_poll_answer_voters_slices_gen.go tl_poll_gen.go tl_poll_results_gen.go tl_poll_results_slices_gen.go tl_poll_slices_gen.go tl_popular_contact_gen.go tl_popular_contact_slices_gen.go tl_post_address_gen.go tl_post_address_slices_gen.go tl_post_interaction_counters_gen.go tl_post_interaction_counters_slices_gen.go tl_premium_apply_boost_gen.go tl_premium_apply_boost_slices_gen.go tl_premium_boosts_list_gen.go tl_premium_boosts_list_slices_gen.go tl_premium_boosts_status_gen.go tl_premium_boosts_status_slices_gen.go tl_premium_get_boosts_list_gen.go tl_premium_get_boosts_list_slices_gen.go tl_premium_get_boosts_status_gen.go tl_premium_get_boosts_status_slices_gen.go tl_premium_get_my_boosts_gen.go tl_premium_get_my_boosts_slices_gen.go tl_premium_get_user_boosts_gen.go tl_premium_get_user_boosts_slices_gen.go tl_premium_gift_code_option_gen.go tl_premium_gift_code_option_slices_gen.go tl_premium_gift_code_option_vector_gen.go tl_premium_gift_code_option_vector_slices_gen.go tl_premium_gift_option_gen.go tl_premium_gift_option_slices_gen.go tl_premium_my_boosts_gen.go tl_premium_my_boosts_slices_gen.go tl_premium_subscription_option_gen.go tl_premium_subscription_option_slices_gen.go tl_prepaid_giveaway_gen.go tl_prepaid_giveaway_slices_gen.go tl_privacy_key_gen.go tl_privacy_key_slices_gen.go tl_privacy_rule_gen.go tl_privacy_rule_slices_gen.go tl_public_forward_gen.go tl_public_forward_slices_gen.go tl_reaction_count_gen.go tl_reaction_count_slices_gen.go tl_reaction_gen.go tl_reaction_slices_gen.go tl_read_participant_date_gen.go tl_read_participant_date_slices_gen.go tl_read_participant_date_vector_gen.go tl_read_participant_date_vector_slices_gen.go tl_received_notify_message_gen.go tl_received_notify_message_slices_gen.go tl_received_notify_message_vector_gen.go tl_received_notify_message_vector_slices_gen.go tl_recent_me_url_gen.go tl_recent_me_url_slices_gen.go tl_registry_gen.go tl_reply_markup_gen.go tl_reply_markup_slices_gen.go tl_report_reason_gen.go tl_report_reason_slices_gen.go tl_request_peer_type_gen.go tl_request_peer_type_slices_gen.go tl_restriction_reason_gen.go tl_restriction_reason_slices_gen.go tl_rich_text_gen.go tl_rich_text_slices_gen.go tl_saved_phone_contact_gen.go tl_saved_phone_contact_slices_gen.go tl_saved_phone_contact_vector_gen.go tl_saved_phone_contact_vector_slices_gen.go tl_search_result_position_gen.go tl_search_result_position_slices_gen.go tl_search_results_calendar_period_gen.go tl_search_results_calendar_period_slices_gen.go tl_secure_credentials_encrypted_gen.go tl_secure_credentials_encrypted_slices_gen.go tl_secure_data_gen.go tl_secure_data_slices_gen.go tl_secure_file_gen.go tl_secure_file_slices_gen.go tl_secure_password_kdf_algo_gen.go tl_secure_password_kdf_algo_slices_gen.go tl_secure_plain_data_gen.go tl_secure_plain_data_slices_gen.go tl_secure_required_type_gen.go tl_secure_required_type_slices_gen.go tl_secure_secret_settings_gen.go tl_secure_secret_settings_slices_gen.go tl_secure_value_error_gen.go tl_secure_value_error_slices_gen.go tl_secure_value_gen.go tl_secure_value_hash_gen.go tl_secure_value_hash_slices_gen.go tl_secure_value_slices_gen.go tl_secure_value_type_gen.go tl_secure_value_type_slices_gen.go tl_secure_value_vector_gen.go tl_secure_value_vector_slices_gen.go tl_send_as_peer_gen.go tl_send_as_peer_slices_gen.go tl_send_message_action_gen.go tl_send_message_action_slices_gen.go tl_server_gen.go tl_shipping_option_gen.go tl_shipping_option_slices_gen.go tl_simple_web_view_result_url_gen.go tl_simple_web_view_result_url_slices_gen.go tl_sponsored_message_gen.go tl_sponsored_message_slices_gen.go tl_sponsored_web_page_gen.go tl_sponsored_web_page_slices_gen.go tl_stats_abs_value_and_prev_gen.go tl_stats_abs_value_and_prev_slices_gen.go tl_stats_broadcast_stats_gen.go tl_stats_broadcast_stats_slices_gen.go tl_stats_date_range_days_gen.go tl_stats_date_range_days_slices_gen.go tl_stats_get_broadcast_stats_gen.go tl_stats_get_broadcast_stats_slices_gen.go tl_stats_get_megagroup_stats_gen.go tl_stats_get_megagroup_stats_slices_gen.go tl_stats_get_message_public_forwards_gen.go tl_stats_get_message_public_forwards_slices_gen.go tl_stats_get_message_stats_gen.go tl_stats_get_message_stats_slices_gen.go tl_stats_get_story_public_forwards_gen.go tl_stats_get_story_public_forwards_slices_gen.go tl_stats_get_story_stats_gen.go tl_stats_get_story_stats_slices_gen.go tl_stats_graph_gen.go tl_stats_graph_slices_gen.go tl_stats_group_top_admin_gen.go tl_stats_group_top_admin_slices_gen.go tl_stats_group_top_inviter_gen.go tl_stats_group_top_inviter_slices_gen.go tl_stats_group_top_poster_gen.go tl_stats_group_top_poster_slices_gen.go tl_stats_load_async_graph_gen.go tl_stats_load_async_graph_slices_gen.go tl_stats_megagroup_stats_gen.go tl_stats_megagroup_stats_slices_gen.go tl_stats_message_stats_gen.go tl_stats_message_stats_slices_gen.go tl_stats_percent_value_gen.go tl_stats_percent_value_slices_gen.go tl_stats_public_forwards_gen.go tl_stats_public_forwards_slices_gen.go tl_stats_story_stats_gen.go tl_stats_story_stats_slices_gen.go tl_stats_url_gen.go tl_stats_url_slices_gen.go tl_sticker_keyword_gen.go tl_sticker_keyword_slices_gen.go tl_sticker_pack_gen.go tl_sticker_pack_slices_gen.go tl_sticker_set_covered_class_vector_gen.go tl_sticker_set_covered_class_vector_slices_gen.go tl_sticker_set_covered_gen.go tl_sticker_set_covered_slices_gen.go tl_sticker_set_gen.go tl_sticker_set_slices_gen.go tl_stickers_add_sticker_to_set_gen.go tl_stickers_add_sticker_to_set_slices_gen.go tl_stickers_change_sticker_gen.go tl_stickers_change_sticker_position_gen.go tl_stickers_change_sticker_position_slices_gen.go tl_stickers_change_sticker_slices_gen.go tl_stickers_check_short_name_gen.go tl_stickers_check_short_name_slices_gen.go tl_stickers_create_sticker_set_gen.go tl_stickers_create_sticker_set_slices_gen.go tl_stickers_delete_sticker_set_gen.go tl_stickers_delete_sticker_set_slices_gen.go tl_stickers_remove_sticker_from_set_gen.go tl_stickers_remove_sticker_from_set_slices_gen.go tl_stickers_rename_sticker_set_gen.go tl_stickers_rename_sticker_set_slices_gen.go tl_stickers_set_sticker_set_thumb_gen.go tl_stickers_set_sticker_set_thumb_slices_gen.go tl_stickers_suggest_short_name_gen.go tl_stickers_suggest_short_name_slices_gen.go tl_stickers_suggested_short_name_gen.go tl_stickers_suggested_short_name_slices_gen.go tl_storage_file_type_gen.go tl_storage_file_type_slices_gen.go tl_stories_activate_stealth_mode_gen.go tl_stories_activate_stealth_mode_slices_gen.go tl_stories_all_stories_gen.go tl_stories_all_stories_slices_gen.go tl_stories_can_send_story_gen.go tl_stories_can_send_story_slices_gen.go tl_stories_delete_stories_gen.go tl_stories_delete_stories_slices_gen.go tl_stories_edit_story_gen.go tl_stories_edit_story_slices_gen.go tl_stories_export_story_link_gen.go tl_stories_export_story_link_slices_gen.go tl_stories_get_all_read_peer_stories_gen.go tl_stories_get_all_read_peer_stories_slices_gen.go tl_stories_get_all_stories_gen.go tl_stories_get_all_stories_slices_gen.go tl_stories_get_chats_to_send_gen.go tl_stories_get_chats_to_send_slices_gen.go tl_stories_get_peer_max_ids_gen.go tl_stories_get_peer_max_ids_slices_gen.go tl_stories_get_peer_stories_gen.go tl_stories_get_peer_stories_slices_gen.go tl_stories_get_pinned_stories_gen.go tl_stories_get_pinned_stories_slices_gen.go tl_stories_get_stories_archive_gen.go tl_stories_get_stories_archive_slices_gen.go tl_stories_get_stories_by_id_gen.go tl_stories_get_stories_by_id_slices_gen.go tl_stories_get_stories_views_gen.go tl_stories_get_stories_views_slices_gen.go tl_stories_get_story_reactions_list_gen.go tl_stories_get_story_reactions_list_slices_gen.go tl_stories_get_story_views_list_gen.go tl_stories_get_story_views_list_slices_gen.go tl_stories_increment_story_views_gen.go tl_stories_increment_story_views_slices_gen.go tl_stories_peer_stories_gen.go tl_stories_peer_stories_slices_gen.go tl_stories_read_stories_gen.go tl_stories_read_stories_slices_gen.go tl_stories_report_gen.go tl_stories_report_slices_gen.go tl_stories_send_reaction_gen.go tl_stories_send_reaction_slices_gen.go tl_stories_send_story_gen.go tl_stories_send_story_slices_gen.go tl_stories_stealth_mode_gen.go tl_stories_stealth_mode_slices_gen.go tl_stories_stories_gen.go tl_stories_stories_slices_gen.go tl_stories_story_reactions_list_gen.go tl_stories_story_reactions_list_slices_gen.go tl_stories_story_views_gen.go tl_stories_story_views_list_gen.go tl_stories_story_views_list_slices_gen.go tl_stories_story_views_slices_gen.go tl_stories_toggle_all_stories_hidden_gen.go tl_stories_toggle_all_stories_hidden_slices_gen.go tl_stories_toggle_peer_stories_hidden_gen.go tl_stories_toggle_peer_stories_hidden_slices_gen.go tl_stories_toggle_pinned_gen.go tl_stories_toggle_pinned_slices_gen.go tl_story_fwd_header_gen.go tl_story_fwd_header_slices_gen.go tl_story_item_gen.go tl_story_item_slices_gen.go tl_story_reaction_gen.go tl_story_reaction_slices_gen.go tl_story_view_gen.go tl_story_view_slices_gen.go tl_story_views_gen.go tl_story_views_slices_gen.go tl_string_gen.go tl_string_slices_gen.go tl_test_use_config_simple_gen.go tl_test_use_config_simple_slices_gen.go tl_test_use_error_gen.go tl_test_use_error_slices_gen.go tl_text_with_entities_gen.go tl_text_with_entities_slices_gen.go tl_theme_gen.go tl_theme_settings_gen.go tl_theme_settings_slices_gen.go tl_theme_slices_gen.go tl_top_peer_category_gen.go tl_top_peer_category_peers_gen.go tl_top_peer_category_peers_slices_gen.go tl_top_peer_category_slices_gen.go tl_top_peer_gen.go tl_top_peer_slices_gen.go tl_true_gen.go tl_true_slices_gen.go tl_update_gen.go tl_update_slices_gen.go tl_updates_channel_difference_gen.go tl_updates_channel_difference_slices_gen.go tl_updates_classifier_gen.go tl_updates_difference_gen.go tl_updates_difference_slices_gen.go tl_updates_gen.go tl_updates_get_channel_difference_gen.go tl_updates_get_channel_difference_slices_gen.go tl_updates_get_difference_gen.go tl_updates_get_difference_slices_gen.go tl_updates_get_state_gen.go tl_updates_get_state_slices_gen.go tl_updates_slices_gen.go tl_updates_state_gen.go tl_updates_state_slices_gen.go tl_upload_cdn_file_gen.go tl_upload_cdn_file_slices_gen.go tl_upload_file_gen.go tl_upload_file_slices_gen.go tl_upload_get_cdn_file_gen.go tl_upload_get_cdn_file_hashes_gen.go tl_upload_get_cdn_file_hashes_slices_gen.go tl_upload_get_cdn_file_slices_gen.go tl_upload_get_file_gen.go tl_upload_get_file_hashes_gen.go tl_upload_get_file_hashes_slices_gen.go tl_upload_get_file_slices_gen.go tl_upload_get_web_file_gen.go tl_upload_get_web_file_slices_gen.go tl_upload_reupload_cdn_file_gen.go tl_upload_reupload_cdn_file_slices_gen.go tl_upload_save_big_file_part_gen.go tl_upload_save_big_file_part_slices_gen.go tl_upload_save_file_part_gen.go tl_upload_save_file_part_slices_gen.go tl_upload_web_file_gen.go tl_upload_web_file_slices_gen.go tl_url_auth_result_gen.go tl_url_auth_result_slices_gen.go tl_user_class_vector_gen.go tl_user_class_vector_slices_gen.go tl_user_full_gen.go tl_user_full_slices_gen.go tl_user_gen.go tl_user_profile_photo_gen.go tl_user_profile_photo_slices_gen.go tl_user_slices_gen.go tl_user_status_gen.go tl_user_status_slices_gen.go tl_username_gen.go tl_username_slices_gen.go tl_users_get_full_user_gen.go tl_users_get_full_user_slices_gen.go tl_users_get_users_gen.go tl_users_get_users_slices_gen.go tl_users_set_secure_value_errors_gen.go tl_users_set_secure_value_errors_slices_gen.go tl_users_user_full_gen.go tl_users_user_full_slices_gen.go tl_video_size_gen.go tl_video_size_slices_gen.go tl_wall_paper_class_vector_gen.go tl_wall_paper_class_vector_slices_gen.go tl_wall_paper_gen.go tl_wall_paper_settings_gen.go tl_wall_paper_settings_slices_gen.go tl_wall_paper_slices_gen.go tl_web_authorization_gen.go tl_web_authorization_slices_gen.go tl_web_document_gen.go tl_web_document_slices_gen.go tl_web_page_attribute_gen.go tl_web_page_attribute_slices_gen.go tl_web_page_gen.go tl_web_page_slices_gen.go tl_web_view_message_sent_gen.go tl_web_view_message_sent_slices_gen.go tl_web_view_result_url_gen.go tl_web_view_result_url_slices_gen.go
Package-Level Type Names (total 3207, in which 3206 are exported)
/* sort exporteds by: | */
AccessPointRule represents TL type `accessPointRule#4679b65f`. See https://core.telegram.org/constructor/accessPointRule for reference. DCID field of AccessPointRule. IPs field of AccessPointRule. PhonePrefixRules field of AccessPointRule. Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. FillFrom fills AccessPointRule from given interface. GetDCID returns value of DCID field. GetIPs returns value of IPs field. GetPhonePrefixRules returns value of PhonePrefixRules field. MapIPs returns field IPs wrapped in IPPortClassArray helper. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*AccessPointRule) Zero() bool *AccessPointRule : github.com/gotd/td/bin.BareDecoder *AccessPointRule : github.com/gotd/td/bin.BareEncoder *AccessPointRule : github.com/gotd/td/bin.Decoder *AccessPointRule : github.com/gotd/td/bin.Encoder *AccessPointRule : github.com/gotd/td/bin.Object *AccessPointRule : github.com/gotd/td/tdp.Object *AccessPointRule : fmt.Stringer func (*HelpConfigSimple).GetRules() (value []AccessPointRule)
AccountAcceptAuthorizationRequest represents TL type `account.acceptAuthorization#f3ed4c73`. Sends a Telegram Passport authorization form, effectively sharing data with the service See https://core.telegram.org/method/account.acceptAuthorization for reference. Bot ID Encrypted values Service's public key Telegram Passport element types requested by the service Types of values sent and their hashes Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. FillFrom fills AccountAcceptAuthorizationRequest from given interface. GetBotID returns value of BotID field. GetCredentials returns value of Credentials field. GetPublicKey returns value of PublicKey field. GetScope returns value of Scope field. GetValueHashes returns value of ValueHashes field. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*AccountAcceptAuthorizationRequest) Zero() bool *AccountAcceptAuthorizationRequest : github.com/gotd/td/bin.BareDecoder *AccountAcceptAuthorizationRequest : github.com/gotd/td/bin.BareEncoder *AccountAcceptAuthorizationRequest : github.com/gotd/td/bin.Decoder *AccountAcceptAuthorizationRequest : github.com/gotd/td/bin.Encoder *AccountAcceptAuthorizationRequest : github.com/gotd/td/bin.Object *AccountAcceptAuthorizationRequest : github.com/gotd/td/tdp.Object *AccountAcceptAuthorizationRequest : fmt.Stringer func (*Client).AccountAcceptAuthorization(ctx context.Context, request *AccountAcceptAuthorizationRequest) (bool, error)
AccountAuthorizationForm represents TL type `account.authorizationForm#ad2e1cd8`. Telegram Passport¹ authorization form Links: 1. https://core.telegram.org/passport See https://core.telegram.org/constructor/account.authorizationForm for reference. Telegram Passport¹ errors Links: 1) https://core.telegram.org/passport Flags, see TL conditional fields¹ Links: 1) https://core.telegram.org/mtproto/TL-combinators#conditional-fields URL of the service's privacy policy Use SetPrivacyPolicyURL and GetPrivacyPolicyURL helpers. Required Telegram Passport¹ documents Links: 1) https://core.telegram.org/passport Info about the bot to which the form will be submitted Already submitted Telegram Passport¹ documents Links: 1) https://core.telegram.org/passport Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. FillFrom fills AccountAuthorizationForm from given interface. GetErrors returns value of Errors field. GetPrivacyPolicyURL returns value of PrivacyPolicyURL conditional field and boolean which is true if field was set. GetRequiredTypes returns value of RequiredTypes field. GetUsers returns value of Users field. GetValues returns value of Values field. MapErrors returns field Errors wrapped in SecureValueErrorClassArray helper. MapRequiredTypes returns field RequiredTypes wrapped in SecureRequiredTypeClassArray helper. MapUsers returns field Users wrapped in UserClassArray helper. SetFlags sets flags for non-zero fields. SetPrivacyPolicyURL sets value of PrivacyPolicyURL conditional field. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*AccountAuthorizationForm) Zero() bool *AccountAuthorizationForm : github.com/gotd/td/bin.BareDecoder *AccountAuthorizationForm : github.com/gotd/td/bin.BareEncoder *AccountAuthorizationForm : github.com/gotd/td/bin.Decoder *AccountAuthorizationForm : github.com/gotd/td/bin.Encoder *AccountAuthorizationForm : github.com/gotd/td/bin.Object *AccountAuthorizationForm : github.com/gotd/td/tdp.Object *AccountAuthorizationForm : fmt.Stringer func (*Client).AccountGetAuthorizationForm(ctx context.Context, request *AccountGetAuthorizationFormRequest) (*AccountAuthorizationForm, error)
AccountAuthorizations represents TL type `account.authorizations#4bff8ea0`. Logged-in sessions See https://core.telegram.org/constructor/account.authorizations for reference. Time-to-live of session Logged-in sessions Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. FillFrom fills AccountAuthorizations from given interface. GetAuthorizationTTLDays returns value of AuthorizationTTLDays field. GetAuthorizations returns value of Authorizations field. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*AccountAuthorizations) Zero() bool *AccountAuthorizations : github.com/gotd/td/bin.BareDecoder *AccountAuthorizations : github.com/gotd/td/bin.BareEncoder *AccountAuthorizations : github.com/gotd/td/bin.Decoder *AccountAuthorizations : github.com/gotd/td/bin.Encoder *AccountAuthorizations : github.com/gotd/td/bin.Object *AccountAuthorizations : github.com/gotd/td/tdp.Object *AccountAuthorizations : fmt.Stringer func (*Client).AccountGetAuthorizations(ctx context.Context) (*AccountAuthorizations, error)
AccountAutoDownloadSettings represents TL type `account.autoDownloadSettings#63cacf26`. Media autodownload settings See https://core.telegram.org/constructor/account.autoDownloadSettings for reference. High data usage preset Low data usage preset Medium data usage preset Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. FillFrom fills AccountAutoDownloadSettings from given interface. GetHigh returns value of High field. GetLow returns value of Low field. GetMedium returns value of Medium field. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*AccountAutoDownloadSettings) Zero() bool *AccountAutoDownloadSettings : github.com/gotd/td/bin.BareDecoder *AccountAutoDownloadSettings : github.com/gotd/td/bin.BareEncoder *AccountAutoDownloadSettings : github.com/gotd/td/bin.Decoder *AccountAutoDownloadSettings : github.com/gotd/td/bin.Encoder *AccountAutoDownloadSettings : github.com/gotd/td/bin.Object *AccountAutoDownloadSettings : github.com/gotd/td/tdp.Object *AccountAutoDownloadSettings : fmt.Stringer func (*Client).AccountGetAutoDownloadSettings(ctx context.Context) (*AccountAutoDownloadSettings, error)
AccountAutoSaveSettings represents TL type `account.autoSaveSettings#4c3e069d`. Contains media autosave settings See https://core.telegram.org/constructor/account.autoSaveSettings for reference. Default media autosave settings for channels¹ Links: 1) https://core.telegram.org/api/channel Chats mentioned in the peer-specific granular autosave settings Default media autosave settings for groups and supergroups¹ Links: 1) https://core.telegram.org/api/channel Peer-specific granular autosave settings Users mentioned in the peer-specific granular autosave settings Default media autosave settings for private chats Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. FillFrom fills AccountAutoSaveSettings from given interface. GetBroadcastsSettings returns value of BroadcastsSettings field. GetChats returns value of Chats field. GetChatsSettings returns value of ChatsSettings field. GetExceptions returns value of Exceptions field. GetUsers returns value of Users field. GetUsersSettings returns value of UsersSettings field. MapChats returns field Chats wrapped in ChatClassArray helper. MapUsers returns field Users wrapped in UserClassArray helper. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*AccountAutoSaveSettings) Zero() bool *AccountAutoSaveSettings : github.com/gotd/td/bin.BareDecoder *AccountAutoSaveSettings : github.com/gotd/td/bin.BareEncoder *AccountAutoSaveSettings : github.com/gotd/td/bin.Decoder *AccountAutoSaveSettings : github.com/gotd/td/bin.Encoder *AccountAutoSaveSettings : github.com/gotd/td/bin.Object *AccountAutoSaveSettings : github.com/gotd/td/tdp.Object *AccountAutoSaveSettings : fmt.Stringer func (*Client).AccountGetAutoSaveSettings(ctx context.Context) (*AccountAutoSaveSettings, error)
AccountCancelPasswordEmailRequest represents TL type `account.cancelPasswordEmail#c1cbd5b6`. Cancel the code that was sent to verify an email to use as 2FA recovery method¹. Links: 1. https://core.telegram.org/api/srp See https://core.telegram.org/method/account.cancelPasswordEmail for reference. Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*AccountCancelPasswordEmailRequest) Zero() bool *AccountCancelPasswordEmailRequest : github.com/gotd/td/bin.BareDecoder *AccountCancelPasswordEmailRequest : github.com/gotd/td/bin.BareEncoder *AccountCancelPasswordEmailRequest : github.com/gotd/td/bin.Decoder *AccountCancelPasswordEmailRequest : github.com/gotd/td/bin.Encoder *AccountCancelPasswordEmailRequest : github.com/gotd/td/bin.Object *AccountCancelPasswordEmailRequest : github.com/gotd/td/tdp.Object *AccountCancelPasswordEmailRequest : fmt.Stringer
AccountChangeAuthorizationSettingsRequest represents TL type `account.changeAuthorizationSettings#40f48462`. Change settings related to a session. See https://core.telegram.org/method/account.changeAuthorizationSettings for reference. Whether to enable or disable receiving calls: if the flag is not set, the previous setting is not changed Use SetCallRequestsDisabled and GetCallRequestsDisabled helpers. If set, confirms a newly logged in session »¹. Links: 1) https://core.telegram.org/api/auth#confirming-login Whether to enable or disable receiving encrypted chats: if the flag is not set, the previous setting is not changed Use SetEncryptedRequestsDisabled and GetEncryptedRequestsDisabled helpers. Flags, see TL conditional fields¹ Links: 1) https://core.telegram.org/mtproto/TL-combinators#conditional-fields Session ID from the authorization¹ constructor, fetchable using account getAuthorizations² Links: 1) https://core.telegram.org/constructor/authorization 2) https://core.telegram.org/method/account.getAuthorizations Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. FillFrom fills AccountChangeAuthorizationSettingsRequest from given interface. GetCallRequestsDisabled returns value of CallRequestsDisabled conditional field and boolean which is true if field was set. GetConfirmed returns value of Confirmed conditional field. GetEncryptedRequestsDisabled returns value of EncryptedRequestsDisabled conditional field and boolean which is true if field was set. GetHash returns value of Hash field. SetCallRequestsDisabled sets value of CallRequestsDisabled conditional field. SetConfirmed sets value of Confirmed conditional field. SetEncryptedRequestsDisabled sets value of EncryptedRequestsDisabled conditional field. SetFlags sets flags for non-zero fields. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*AccountChangeAuthorizationSettingsRequest) Zero() bool *AccountChangeAuthorizationSettingsRequest : github.com/gotd/td/bin.BareDecoder *AccountChangeAuthorizationSettingsRequest : github.com/gotd/td/bin.BareEncoder *AccountChangeAuthorizationSettingsRequest : github.com/gotd/td/bin.Decoder *AccountChangeAuthorizationSettingsRequest : github.com/gotd/td/bin.Encoder *AccountChangeAuthorizationSettingsRequest : github.com/gotd/td/bin.Object *AccountChangeAuthorizationSettingsRequest : github.com/gotd/td/tdp.Object *AccountChangeAuthorizationSettingsRequest : fmt.Stringer func (*Client).AccountChangeAuthorizationSettings(ctx context.Context, request *AccountChangeAuthorizationSettingsRequest) (bool, error)
AccountChangePhoneRequest represents TL type `account.changePhone#70c32edb`. Change the phone number of the current account See https://core.telegram.org/method/account.changePhone for reference. Phone code received when calling account.sendChangePhoneCode¹ Links: 1) https://core.telegram.org/method/account.sendChangePhoneCode Phone code hash received when calling account.sendChangePhoneCode¹ Links: 1) https://core.telegram.org/method/account.sendChangePhoneCode New phone number Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. FillFrom fills AccountChangePhoneRequest from given interface. GetPhoneCode returns value of PhoneCode field. GetPhoneCodeHash returns value of PhoneCodeHash field. GetPhoneNumber returns value of PhoneNumber field. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*AccountChangePhoneRequest) Zero() bool *AccountChangePhoneRequest : github.com/gotd/td/bin.BareDecoder *AccountChangePhoneRequest : github.com/gotd/td/bin.BareEncoder *AccountChangePhoneRequest : github.com/gotd/td/bin.Decoder *AccountChangePhoneRequest : github.com/gotd/td/bin.Encoder *AccountChangePhoneRequest : github.com/gotd/td/bin.Object *AccountChangePhoneRequest : github.com/gotd/td/tdp.Object *AccountChangePhoneRequest : fmt.Stringer func (*Client).AccountChangePhone(ctx context.Context, request *AccountChangePhoneRequest) (UserClass, error)
AccountCheckUsernameRequest represents TL type `account.checkUsername#2714d86c`. Validates a username and checks availability. See https://core.telegram.org/method/account.checkUsername for reference. usernameAccepted characters: A-z (case-insensitive), 0-9 and underscores.Length: 5-32 characters. Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. FillFrom fills AccountCheckUsernameRequest from given interface. GetUsername returns value of Username field. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*AccountCheckUsernameRequest) Zero() bool *AccountCheckUsernameRequest : github.com/gotd/td/bin.BareDecoder *AccountCheckUsernameRequest : github.com/gotd/td/bin.BareEncoder *AccountCheckUsernameRequest : github.com/gotd/td/bin.Decoder *AccountCheckUsernameRequest : github.com/gotd/td/bin.Encoder *AccountCheckUsernameRequest : github.com/gotd/td/bin.Object *AccountCheckUsernameRequest : github.com/gotd/td/tdp.Object *AccountCheckUsernameRequest : fmt.Stringer
AccountClearRecentEmojiStatusesRequest represents TL type `account.clearRecentEmojiStatuses#18201aae`. Clears list of recently used emoji statuses¹ Links: 1. https://core.telegram.org/api/emoji-status See https://core.telegram.org/method/account.clearRecentEmojiStatuses for reference. Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*AccountClearRecentEmojiStatusesRequest) Zero() bool *AccountClearRecentEmojiStatusesRequest : github.com/gotd/td/bin.BareDecoder *AccountClearRecentEmojiStatusesRequest : github.com/gotd/td/bin.BareEncoder *AccountClearRecentEmojiStatusesRequest : github.com/gotd/td/bin.Decoder *AccountClearRecentEmojiStatusesRequest : github.com/gotd/td/bin.Encoder *AccountClearRecentEmojiStatusesRequest : github.com/gotd/td/bin.Object *AccountClearRecentEmojiStatusesRequest : github.com/gotd/td/tdp.Object *AccountClearRecentEmojiStatusesRequest : fmt.Stringer
AccountConfirmPasswordEmailRequest represents TL type `account.confirmPasswordEmail#8fdf1920`. Verify an email to use as 2FA recovery method¹. Links: 1. https://core.telegram.org/api/srp See https://core.telegram.org/method/account.confirmPasswordEmail for reference. The phone code that was received after setting a recovery email¹ Links: 1) https://core.telegram.org/api/srp#email-verification Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. FillFrom fills AccountConfirmPasswordEmailRequest from given interface. GetCode returns value of Code field. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*AccountConfirmPasswordEmailRequest) Zero() bool *AccountConfirmPasswordEmailRequest : github.com/gotd/td/bin.BareDecoder *AccountConfirmPasswordEmailRequest : github.com/gotd/td/bin.BareEncoder *AccountConfirmPasswordEmailRequest : github.com/gotd/td/bin.Decoder *AccountConfirmPasswordEmailRequest : github.com/gotd/td/bin.Encoder *AccountConfirmPasswordEmailRequest : github.com/gotd/td/bin.Object *AccountConfirmPasswordEmailRequest : github.com/gotd/td/tdp.Object *AccountConfirmPasswordEmailRequest : fmt.Stringer
AccountConfirmPhoneRequest represents TL type `account.confirmPhone#5f2178c3`. Confirm a phone number to cancel account deletion, for more info click here »¹ Links: 1. https://core.telegram.org/api/account-deletion See https://core.telegram.org/method/account.confirmPhone for reference. SMS code, for more info click here »¹ Links: 1) https://core.telegram.org/api/account-deletion Phone code hash, for more info click here »¹ Links: 1) https://core.telegram.org/api/account-deletion Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. FillFrom fills AccountConfirmPhoneRequest from given interface. GetPhoneCode returns value of PhoneCode field. GetPhoneCodeHash returns value of PhoneCodeHash field. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*AccountConfirmPhoneRequest) Zero() bool *AccountConfirmPhoneRequest : github.com/gotd/td/bin.BareDecoder *AccountConfirmPhoneRequest : github.com/gotd/td/bin.BareEncoder *AccountConfirmPhoneRequest : github.com/gotd/td/bin.Decoder *AccountConfirmPhoneRequest : github.com/gotd/td/bin.Encoder *AccountConfirmPhoneRequest : github.com/gotd/td/bin.Object *AccountConfirmPhoneRequest : github.com/gotd/td/tdp.Object *AccountConfirmPhoneRequest : fmt.Stringer func (*Client).AccountConfirmPhone(ctx context.Context, request *AccountConfirmPhoneRequest) (bool, error)
AccountContentSettings represents TL type `account.contentSettings#57e28221`. Sensitive content settings See https://core.telegram.org/constructor/account.contentSettings for reference. Flags, see TL conditional fields¹ Links: 1) https://core.telegram.org/mtproto/TL-combinators#conditional-fields Whether the current client can change the sensitive content settings to view NSFW content Whether viewing of sensitive (NSFW) content is enabled Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. FillFrom fills AccountContentSettings from given interface. GetSensitiveCanChange returns value of SensitiveCanChange conditional field. GetSensitiveEnabled returns value of SensitiveEnabled conditional field. SetFlags sets flags for non-zero fields. SetSensitiveCanChange sets value of SensitiveCanChange conditional field. SetSensitiveEnabled sets value of SensitiveEnabled conditional field. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*AccountContentSettings) Zero() bool *AccountContentSettings : github.com/gotd/td/bin.BareDecoder *AccountContentSettings : github.com/gotd/td/bin.BareEncoder *AccountContentSettings : github.com/gotd/td/bin.Decoder *AccountContentSettings : github.com/gotd/td/bin.Encoder *AccountContentSettings : github.com/gotd/td/bin.Object *AccountContentSettings : github.com/gotd/td/tdp.Object *AccountContentSettings : fmt.Stringer func (*Client).AccountGetContentSettings(ctx context.Context) (*AccountContentSettings, error)
AccountCreateThemeRequest represents TL type `account.createTheme#652e4400`. Create a theme See https://core.telegram.org/method/account.createTheme for reference. Theme file Use SetDocument and GetDocument helpers. Flags, see TL conditional fields¹ Links: 1) https://core.telegram.org/mtproto/TL-combinators#conditional-fields Theme settings, multiple values can be provided for the different base themes (day/night mode, etc). Use SetSettings and GetSettings helpers. Unique theme ID used to generate theme deep links¹, can be empty to autogenerate a random ID. Links: 1) https://core.telegram.org/api/links#theme-links Theme name Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. FillFrom fills AccountCreateThemeRequest from given interface. GetDocument returns value of Document conditional field and boolean which is true if field was set. GetDocumentAsNotEmpty returns mapped value of Document conditional field and boolean which is true if field was set. GetSettings returns value of Settings conditional field and boolean which is true if field was set. GetSlug returns value of Slug field. GetTitle returns value of Title field. SetDocument sets value of Document conditional field. SetFlags sets flags for non-zero fields. SetSettings sets value of Settings conditional field. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*AccountCreateThemeRequest) Zero() bool *AccountCreateThemeRequest : github.com/gotd/td/bin.BareDecoder *AccountCreateThemeRequest : github.com/gotd/td/bin.BareEncoder *AccountCreateThemeRequest : github.com/gotd/td/bin.Decoder *AccountCreateThemeRequest : github.com/gotd/td/bin.Encoder *AccountCreateThemeRequest : github.com/gotd/td/bin.Object *AccountCreateThemeRequest : github.com/gotd/td/tdp.Object *AccountCreateThemeRequest : fmt.Stringer func (*Client).AccountCreateTheme(ctx context.Context, request *AccountCreateThemeRequest) (*Theme, error)
AccountDaysTTL represents TL type `accountDaysTTL#b8d0afdf`. Time to live in days of the current account See https://core.telegram.org/constructor/accountDaysTTL for reference. This account will self-destruct in the specified number of days Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. FillFrom fills AccountDaysTTL from given interface. GetDays returns value of Days field. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*AccountDaysTTL) Zero() bool *AccountDaysTTL : github.com/gotd/td/bin.BareDecoder *AccountDaysTTL : github.com/gotd/td/bin.BareEncoder *AccountDaysTTL : github.com/gotd/td/bin.Decoder *AccountDaysTTL : github.com/gotd/td/bin.Encoder *AccountDaysTTL : github.com/gotd/td/bin.Object *AccountDaysTTL : github.com/gotd/td/tdp.Object *AccountDaysTTL : fmt.Stringer func (*AccountSetAccountTTLRequest).GetTTL() (value AccountDaysTTL) func (*Client).AccountGetAccountTTL(ctx context.Context) (*AccountDaysTTL, error) func (*Client).AccountSetAccountTTL(ctx context.Context, ttl AccountDaysTTL) (bool, error)
AccountDeclinePasswordResetRequest represents TL type `account.declinePasswordReset#4c9409f6`. Abort a pending 2FA password reset, see here for more info »¹ Links: 1. https://core.telegram.org/api/srp#password-reset See https://core.telegram.org/method/account.declinePasswordReset for reference. Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*AccountDeclinePasswordResetRequest) Zero() bool *AccountDeclinePasswordResetRequest : github.com/gotd/td/bin.BareDecoder *AccountDeclinePasswordResetRequest : github.com/gotd/td/bin.BareEncoder *AccountDeclinePasswordResetRequest : github.com/gotd/td/bin.Decoder *AccountDeclinePasswordResetRequest : github.com/gotd/td/bin.Encoder *AccountDeclinePasswordResetRequest : github.com/gotd/td/bin.Object *AccountDeclinePasswordResetRequest : github.com/gotd/td/tdp.Object *AccountDeclinePasswordResetRequest : fmt.Stringer
AccountDeleteAccountRequest represents TL type `account.deleteAccount#a2c0cf74`. Delete the user's account from the telegram servers. Can also be used to delete the account of a user that provided the login code, but forgot the 2FA password and no recovery method is configured, see here »¹ for more info on password recovery, and here »² for more info on account deletion. Links: 1. https://core.telegram.org/api/srp#password-recovery 2. https://core.telegram.org/api/account-deletion See https://core.telegram.org/method/account.deleteAccount for reference. Flags, see TL conditional fields¹ Links: 1) https://core.telegram.org/mtproto/TL-combinators#conditional-fields 2FA password¹: this field can be omitted even for accounts with 2FA enabled: in this case account account deletion will be delayed by 7 days as specified in the docs »² Links: 1) https://core.telegram.org/api/srp 2) https://core.telegram.org/api/account-deletion Use SetPassword and GetPassword helpers. Why is the account being deleted, can be empty Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. FillFrom fills AccountDeleteAccountRequest from given interface. GetPassword returns value of Password conditional field and boolean which is true if field was set. GetPasswordAsNotEmpty returns mapped value of Password conditional field and boolean which is true if field was set. GetReason returns value of Reason field. SetFlags sets flags for non-zero fields. SetPassword sets value of Password conditional field. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*AccountDeleteAccountRequest) Zero() bool *AccountDeleteAccountRequest : github.com/gotd/td/bin.BareDecoder *AccountDeleteAccountRequest : github.com/gotd/td/bin.BareEncoder *AccountDeleteAccountRequest : github.com/gotd/td/bin.Decoder *AccountDeleteAccountRequest : github.com/gotd/td/bin.Encoder *AccountDeleteAccountRequest : github.com/gotd/td/bin.Object *AccountDeleteAccountRequest : github.com/gotd/td/tdp.Object *AccountDeleteAccountRequest : fmt.Stringer func (*Client).AccountDeleteAccount(ctx context.Context, request *AccountDeleteAccountRequest) (bool, error)
AccountDeleteAutoSaveExceptionsRequest represents TL type `account.deleteAutoSaveExceptions#53bc0020`. Clear all peer-specific autosave settings. See https://core.telegram.org/method/account.deleteAutoSaveExceptions for reference. Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*AccountDeleteAutoSaveExceptionsRequest) Zero() bool *AccountDeleteAutoSaveExceptionsRequest : github.com/gotd/td/bin.BareDecoder *AccountDeleteAutoSaveExceptionsRequest : github.com/gotd/td/bin.BareEncoder *AccountDeleteAutoSaveExceptionsRequest : github.com/gotd/td/bin.Decoder *AccountDeleteAutoSaveExceptionsRequest : github.com/gotd/td/bin.Encoder *AccountDeleteAutoSaveExceptionsRequest : github.com/gotd/td/bin.Object *AccountDeleteAutoSaveExceptionsRequest : github.com/gotd/td/tdp.Object *AccountDeleteAutoSaveExceptionsRequest : fmt.Stringer
AccountDeleteSecureValueRequest represents TL type `account.deleteSecureValue#b880bc4b`. Delete stored Telegram Passport¹ documents, for more info see the passport docs »² Links: 1. https://core.telegram.org/passport 2. https://core.telegram.org/passport/encryption#encryption See https://core.telegram.org/method/account.deleteSecureValue for reference. Document types to delete Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. FillFrom fills AccountDeleteSecureValueRequest from given interface. GetTypes returns value of Types field. MapTypes returns field Types wrapped in SecureValueTypeClassArray helper. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*AccountDeleteSecureValueRequest) Zero() bool *AccountDeleteSecureValueRequest : github.com/gotd/td/bin.BareDecoder *AccountDeleteSecureValueRequest : github.com/gotd/td/bin.BareEncoder *AccountDeleteSecureValueRequest : github.com/gotd/td/bin.Decoder *AccountDeleteSecureValueRequest : github.com/gotd/td/bin.Encoder *AccountDeleteSecureValueRequest : github.com/gotd/td/bin.Object *AccountDeleteSecureValueRequest : github.com/gotd/td/tdp.Object *AccountDeleteSecureValueRequest : fmt.Stringer
AccountEmailVerified represents TL type `account.emailVerified#2b96cd1b`. The email was verified correctly. See https://core.telegram.org/constructor/account.emailVerified for reference. The verified email address. Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. FillFrom fills AccountEmailVerified from given interface. GetEmail returns value of Email field. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*AccountEmailVerified) Zero() bool *AccountEmailVerified : AccountEmailVerifiedClass *AccountEmailVerified : github.com/gotd/td/bin.BareDecoder *AccountEmailVerified : github.com/gotd/td/bin.BareEncoder *AccountEmailVerified : github.com/gotd/td/bin.Decoder *AccountEmailVerified : github.com/gotd/td/bin.Encoder *AccountEmailVerified : github.com/gotd/td/bin.Object *AccountEmailVerified : github.com/gotd/td/tdp.Object *AccountEmailVerified : fmt.Stringer func AccountEmailVerifiedArray.First() (v AccountEmailVerified, ok bool) func AccountEmailVerifiedArray.Last() (v AccountEmailVerified, ok bool) func (*AccountEmailVerifiedArray).Pop() (v AccountEmailVerified, ok bool) func (*AccountEmailVerifiedArray).PopFirst() (v AccountEmailVerified, ok bool)
AccountEmailVerifiedArray is adapter for slice of AccountEmailVerified. First returns first element of slice (if exists). Last returns last element of slice (if exists). Pop returns last element of slice (if exists) and deletes it. PopFirst returns first element of slice (if exists) and deletes it. Retain filters in-place slice of AccountEmailVerified. Sort sorts slice of AccountEmailVerified. SortStable sorts slice of AccountEmailVerified. func AccountEmailVerifiedArray.Retain(keep func(x AccountEmailVerified) bool) AccountEmailVerifiedArray func AccountEmailVerifiedArray.Sort(less func(a, b AccountEmailVerified) bool) AccountEmailVerifiedArray func AccountEmailVerifiedArray.SortStable(less func(a, b AccountEmailVerified) bool) AccountEmailVerifiedArray func AccountEmailVerifiedClassArray.AsAccountEmailVerified() (to AccountEmailVerifiedArray)
AccountEmailVerified boxes the AccountEmailVerifiedClass providing a helper. EmailVerified AccountEmailVerifiedClass Decode implements bin.Decoder for AccountEmailVerifiedBox. Encode implements bin.Encode for AccountEmailVerifiedBox. *AccountEmailVerifiedBox : github.com/gotd/td/bin.Decoder *AccountEmailVerifiedBox : github.com/gotd/td/bin.Encoder *AccountEmailVerifiedBox : github.com/gotd/td/bin.Object
AccountEmailVerifiedClass represents account.EmailVerified generic type. See https://core.telegram.org/type/account.EmailVerified for reference. Example: g, err := tg.DecodeAccountEmailVerified(buf) if err != nil { panic(err) } switch v := g.(type) { case *tg.AccountEmailVerified: // account.emailVerified#2b96cd1b case *tg.AccountEmailVerifiedLogin: // account.emailVerifiedLogin#e1bb0d61 default: panic(v) } ( AccountEmailVerifiedClass) Decode(b *bin.Buffer) error ( AccountEmailVerifiedClass) DecodeBare(b *bin.Buffer) error ( AccountEmailVerifiedClass) Encode(b *bin.Buffer) error ( AccountEmailVerifiedClass) EncodeBare(b *bin.Buffer) error The verified email address. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeName returns name of type in TL schema. Zero returns true if current object has a zero value. *AccountEmailVerified *AccountEmailVerifiedLogin AccountEmailVerifiedClass : github.com/gotd/td/bin.BareDecoder AccountEmailVerifiedClass : github.com/gotd/td/bin.BareEncoder AccountEmailVerifiedClass : github.com/gotd/td/bin.Decoder AccountEmailVerifiedClass : github.com/gotd/td/bin.Encoder AccountEmailVerifiedClass : github.com/gotd/td/bin.Object AccountEmailVerifiedClass : fmt.Stringer func DecodeAccountEmailVerified(buf *bin.Buffer) (AccountEmailVerifiedClass, error) func AccountEmailVerifiedClassArray.First() (v AccountEmailVerifiedClass, ok bool) func AccountEmailVerifiedClassArray.Last() (v AccountEmailVerifiedClass, ok bool) func (*AccountEmailVerifiedClassArray).Pop() (v AccountEmailVerifiedClass, ok bool) func (*AccountEmailVerifiedClassArray).PopFirst() (v AccountEmailVerifiedClass, ok bool) func (*Client).AccountVerifyEmail(ctx context.Context, request *AccountVerifyEmailRequest) (AccountEmailVerifiedClass, error)
AccountEmailVerifiedClassArray is adapter for slice of AccountEmailVerifiedClass. AsAccountEmailVerified returns copy with only AccountEmailVerified constructors. AsAccountEmailVerifiedLogin returns copy with only AccountEmailVerifiedLogin constructors. First returns first element of slice (if exists). Last returns last element of slice (if exists). Pop returns last element of slice (if exists) and deletes it. PopFirst returns first element of slice (if exists) and deletes it. Retain filters in-place slice of AccountEmailVerifiedClass. Sort sorts slice of AccountEmailVerifiedClass. SortStable sorts slice of AccountEmailVerifiedClass. func AccountEmailVerifiedClassArray.Retain(keep func(x AccountEmailVerifiedClass) bool) AccountEmailVerifiedClassArray func AccountEmailVerifiedClassArray.Sort(less func(a, b AccountEmailVerifiedClass) bool) AccountEmailVerifiedClassArray func AccountEmailVerifiedClassArray.SortStable(less func(a, b AccountEmailVerifiedClass) bool) AccountEmailVerifiedClassArray
AccountEmailVerifiedLogin represents TL type `account.emailVerifiedLogin#e1bb0d61`. The email was verified correctly, and a login code was just sent to it. See https://core.telegram.org/constructor/account.emailVerifiedLogin for reference. The verified email address. Info about the sent login code¹ Links: 1) https://core.telegram.org/api/auth Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. FillFrom fills AccountEmailVerifiedLogin from given interface. GetEmail returns value of Email field. GetSentCode returns value of SentCode field. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*AccountEmailVerifiedLogin) Zero() bool *AccountEmailVerifiedLogin : AccountEmailVerifiedClass *AccountEmailVerifiedLogin : github.com/gotd/td/bin.BareDecoder *AccountEmailVerifiedLogin : github.com/gotd/td/bin.BareEncoder *AccountEmailVerifiedLogin : github.com/gotd/td/bin.Decoder *AccountEmailVerifiedLogin : github.com/gotd/td/bin.Encoder *AccountEmailVerifiedLogin : github.com/gotd/td/bin.Object *AccountEmailVerifiedLogin : github.com/gotd/td/tdp.Object *AccountEmailVerifiedLogin : fmt.Stringer func AccountEmailVerifiedLoginArray.First() (v AccountEmailVerifiedLogin, ok bool) func AccountEmailVerifiedLoginArray.Last() (v AccountEmailVerifiedLogin, ok bool) func (*AccountEmailVerifiedLoginArray).Pop() (v AccountEmailVerifiedLogin, ok bool) func (*AccountEmailVerifiedLoginArray).PopFirst() (v AccountEmailVerifiedLogin, ok bool)
AccountEmailVerifiedLoginArray is adapter for slice of AccountEmailVerifiedLogin. First returns first element of slice (if exists). Last returns last element of slice (if exists). Pop returns last element of slice (if exists) and deletes it. PopFirst returns first element of slice (if exists) and deletes it. Retain filters in-place slice of AccountEmailVerifiedLogin. Sort sorts slice of AccountEmailVerifiedLogin. SortStable sorts slice of AccountEmailVerifiedLogin. func AccountEmailVerifiedClassArray.AsAccountEmailVerifiedLogin() (to AccountEmailVerifiedLoginArray) func AccountEmailVerifiedLoginArray.Retain(keep func(x AccountEmailVerifiedLogin) bool) AccountEmailVerifiedLoginArray func AccountEmailVerifiedLoginArray.Sort(less func(a, b AccountEmailVerifiedLogin) bool) AccountEmailVerifiedLoginArray func AccountEmailVerifiedLoginArray.SortStable(less func(a, b AccountEmailVerifiedLogin) bool) AccountEmailVerifiedLoginArray
AccountEmojiStatuses represents TL type `account.emojiStatuses#90c467d1`. A list of emoji statuses¹ Links: 1. https://core.telegram.org/api/emoji-status See https://core.telegram.org/constructor/account.emojiStatuses for reference. Hash for pagination, for more info click here¹ Links: 1) https://core.telegram.org/api/offsets#hash-generation Emoji statuses¹ Links: 1) https://core.telegram.org/api/emoji-status AsModified tries to map AccountEmojiStatuses to AccountEmojiStatuses. Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. FillFrom fills AccountEmojiStatuses from given interface. GetHash returns value of Hash field. GetStatuses returns value of Statuses field. MapStatuses returns field Statuses wrapped in EmojiStatusClassArray helper. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*AccountEmojiStatuses) Zero() bool *AccountEmojiStatuses : AccountEmojiStatusesClass *AccountEmojiStatuses : github.com/gotd/td/bin.BareDecoder *AccountEmojiStatuses : github.com/gotd/td/bin.BareEncoder *AccountEmojiStatuses : github.com/gotd/td/bin.Decoder *AccountEmojiStatuses : github.com/gotd/td/bin.Encoder *AccountEmojiStatuses : github.com/gotd/td/bin.Object *AccountEmojiStatuses : github.com/gotd/td/tdp.Object *AccountEmojiStatuses : fmt.Stringer func (*AccountEmojiStatuses).AsModified() (*AccountEmojiStatuses, bool) func AccountEmojiStatusesArray.First() (v AccountEmojiStatuses, ok bool) func AccountEmojiStatusesArray.Last() (v AccountEmojiStatuses, ok bool) func (*AccountEmojiStatusesArray).Pop() (v AccountEmojiStatuses, ok bool) func (*AccountEmojiStatusesArray).PopFirst() (v AccountEmojiStatuses, ok bool) func AccountEmojiStatusesClass.AsModified() (*AccountEmojiStatuses, bool) func AccountEmojiStatusesClassArray.AppendOnlyModified(to []*AccountEmojiStatuses) []*AccountEmojiStatuses func AccountEmojiStatusesClassArray.AsModified() (to []*AccountEmojiStatuses) func AccountEmojiStatusesClassArray.FirstAsModified() (v *AccountEmojiStatuses, ok bool) func AccountEmojiStatusesClassArray.LastAsModified() (v *AccountEmojiStatuses, ok bool) func (*AccountEmojiStatusesClassArray).PopAsModified() (v *AccountEmojiStatuses, ok bool) func (*AccountEmojiStatusesClassArray).PopFirstAsModified() (v *AccountEmojiStatuses, ok bool) func (*AccountEmojiStatusesNotModified).AsModified() (*AccountEmojiStatuses, bool) func AccountEmojiStatusesClassArray.AppendOnlyModified(to []*AccountEmojiStatuses) []*AccountEmojiStatuses
AccountEmojiStatusesArray is adapter for slice of AccountEmojiStatuses. First returns first element of slice (if exists). Last returns last element of slice (if exists). Pop returns last element of slice (if exists) and deletes it. PopFirst returns first element of slice (if exists) and deletes it. Retain filters in-place slice of AccountEmojiStatuses. Sort sorts slice of AccountEmojiStatuses. SortStable sorts slice of AccountEmojiStatuses. func AccountEmojiStatusesArray.Retain(keep func(x AccountEmojiStatuses) bool) AccountEmojiStatusesArray func AccountEmojiStatusesArray.Sort(less func(a, b AccountEmojiStatuses) bool) AccountEmojiStatusesArray func AccountEmojiStatusesArray.SortStable(less func(a, b AccountEmojiStatuses) bool) AccountEmojiStatusesArray func AccountEmojiStatusesClassArray.AsAccountEmojiStatuses() (to AccountEmojiStatusesArray)
AccountEmojiStatuses boxes the AccountEmojiStatusesClass providing a helper. EmojiStatuses AccountEmojiStatusesClass Decode implements bin.Decoder for AccountEmojiStatusesBox. Encode implements bin.Encode for AccountEmojiStatusesBox. *AccountEmojiStatusesBox : github.com/gotd/td/bin.Decoder *AccountEmojiStatusesBox : github.com/gotd/td/bin.Encoder *AccountEmojiStatusesBox : github.com/gotd/td/bin.Object
AccountEmojiStatusesClass represents account.EmojiStatuses generic type. See https://core.telegram.org/type/account.EmojiStatuses for reference. Example: g, err := tg.DecodeAccountEmojiStatuses(buf) if err != nil { panic(err) } switch v := g.(type) { case *tg.AccountEmojiStatusesNotModified: // account.emojiStatusesNotModified#d08ce645 case *tg.AccountEmojiStatuses: // account.emojiStatuses#90c467d1 default: panic(v) } AsModified tries to map AccountEmojiStatusesClass to AccountEmojiStatuses. ( AccountEmojiStatusesClass) Decode(b *bin.Buffer) error ( AccountEmojiStatusesClass) DecodeBare(b *bin.Buffer) error ( AccountEmojiStatusesClass) Encode(b *bin.Buffer) error ( AccountEmojiStatusesClass) EncodeBare(b *bin.Buffer) error String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeName returns name of type in TL schema. Zero returns true if current object has a zero value. *AccountEmojiStatuses *AccountEmojiStatusesNotModified AccountEmojiStatusesClass : github.com/gotd/td/bin.BareDecoder AccountEmojiStatusesClass : github.com/gotd/td/bin.BareEncoder AccountEmojiStatusesClass : github.com/gotd/td/bin.Decoder AccountEmojiStatusesClass : github.com/gotd/td/bin.Encoder AccountEmojiStatusesClass : github.com/gotd/td/bin.Object AccountEmojiStatusesClass : fmt.Stringer func DecodeAccountEmojiStatuses(buf *bin.Buffer) (AccountEmojiStatusesClass, error) func AccountEmojiStatusesClassArray.First() (v AccountEmojiStatusesClass, ok bool) func AccountEmojiStatusesClassArray.Last() (v AccountEmojiStatusesClass, ok bool) func (*AccountEmojiStatusesClassArray).Pop() (v AccountEmojiStatusesClass, ok bool) func (*AccountEmojiStatusesClassArray).PopFirst() (v AccountEmojiStatusesClass, ok bool) func (*Client).AccountGetChannelDefaultEmojiStatuses(ctx context.Context, hash int64) (AccountEmojiStatusesClass, error) func (*Client).AccountGetDefaultEmojiStatuses(ctx context.Context, hash int64) (AccountEmojiStatusesClass, error) func (*Client).AccountGetRecentEmojiStatuses(ctx context.Context, hash int64) (AccountEmojiStatusesClass, error)
AccountEmojiStatusesClassArray is adapter for slice of AccountEmojiStatusesClass. AppendOnlyModified appends only Modified constructors to given slice. AsAccountEmojiStatuses returns copy with only AccountEmojiStatuses constructors. AsModified returns copy with only Modified constructors. First returns first element of slice (if exists). FirstAsModified returns first element of slice (if exists). Last returns last element of slice (if exists). LastAsModified returns last element of slice (if exists). Pop returns last element of slice (if exists) and deletes it. PopAsModified returns element of slice (if exists). PopFirst returns first element of slice (if exists) and deletes it. PopFirstAsModified returns element of slice (if exists). Retain filters in-place slice of AccountEmojiStatusesClass. Sort sorts slice of AccountEmojiStatusesClass. SortStable sorts slice of AccountEmojiStatusesClass. func AccountEmojiStatusesClassArray.Retain(keep func(x AccountEmojiStatusesClass) bool) AccountEmojiStatusesClassArray func AccountEmojiStatusesClassArray.Sort(less func(a, b AccountEmojiStatusesClass) bool) AccountEmojiStatusesClassArray func AccountEmojiStatusesClassArray.SortStable(less func(a, b AccountEmojiStatusesClass) bool) AccountEmojiStatusesClassArray
AccountEmojiStatusesNotModified represents TL type `account.emojiStatusesNotModified#d08ce645`. The server-side list of emoji statuses¹ hasn't changed Links: 1. https://core.telegram.org/api/emoji-status See https://core.telegram.org/constructor/account.emojiStatusesNotModified for reference. AsModified tries to map AccountEmojiStatusesNotModified to AccountEmojiStatuses. Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*AccountEmojiStatusesNotModified) Zero() bool *AccountEmojiStatusesNotModified : AccountEmojiStatusesClass *AccountEmojiStatusesNotModified : github.com/gotd/td/bin.BareDecoder *AccountEmojiStatusesNotModified : github.com/gotd/td/bin.BareEncoder *AccountEmojiStatusesNotModified : github.com/gotd/td/bin.Decoder *AccountEmojiStatusesNotModified : github.com/gotd/td/bin.Encoder *AccountEmojiStatusesNotModified : github.com/gotd/td/bin.Object *AccountEmojiStatusesNotModified : github.com/gotd/td/tdp.Object *AccountEmojiStatusesNotModified : fmt.Stringer
AccountFinishTakeoutSessionRequest represents TL type `account.finishTakeoutSession#1d2652ee`. Terminate a takeout session, see here » for more info¹. Links: 1. https://core.telegram.org/api/takeout See https://core.telegram.org/method/account.finishTakeoutSession for reference. Flags, see TL conditional fields¹ Links: 1) https://core.telegram.org/mtproto/TL-combinators#conditional-fields Data exported successfully Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. FillFrom fills AccountFinishTakeoutSessionRequest from given interface. GetSuccess returns value of Success conditional field. SetFlags sets flags for non-zero fields. SetSuccess sets value of Success conditional field. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*AccountFinishTakeoutSessionRequest) Zero() bool *AccountFinishTakeoutSessionRequest : github.com/gotd/td/bin.BareDecoder *AccountFinishTakeoutSessionRequest : github.com/gotd/td/bin.BareEncoder *AccountFinishTakeoutSessionRequest : github.com/gotd/td/bin.Decoder *AccountFinishTakeoutSessionRequest : github.com/gotd/td/bin.Encoder *AccountFinishTakeoutSessionRequest : github.com/gotd/td/bin.Object *AccountFinishTakeoutSessionRequest : github.com/gotd/td/tdp.Object *AccountFinishTakeoutSessionRequest : fmt.Stringer func (*Client).AccountFinishTakeoutSession(ctx context.Context, request *AccountFinishTakeoutSessionRequest) (bool, error)
AccountGetAccountTTLRequest represents TL type `account.getAccountTTL#8fc711d`. Get days to live of account See https://core.telegram.org/method/account.getAccountTTL for reference. Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*AccountGetAccountTTLRequest) Zero() bool *AccountGetAccountTTLRequest : github.com/gotd/td/bin.BareDecoder *AccountGetAccountTTLRequest : github.com/gotd/td/bin.BareEncoder *AccountGetAccountTTLRequest : github.com/gotd/td/bin.Decoder *AccountGetAccountTTLRequest : github.com/gotd/td/bin.Encoder *AccountGetAccountTTLRequest : github.com/gotd/td/bin.Object *AccountGetAccountTTLRequest : github.com/gotd/td/tdp.Object *AccountGetAccountTTLRequest : fmt.Stringer
AccountGetAllSecureValuesRequest represents TL type `account.getAllSecureValues#b288bc7d`. Get all saved Telegram Passport¹ documents, for more info see the passport docs »² Links: 1. https://core.telegram.org/passport 2. https://core.telegram.org/passport/encryption#encryption See https://core.telegram.org/method/account.getAllSecureValues for reference. Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*AccountGetAllSecureValuesRequest) Zero() bool *AccountGetAllSecureValuesRequest : github.com/gotd/td/bin.BareDecoder *AccountGetAllSecureValuesRequest : github.com/gotd/td/bin.BareEncoder *AccountGetAllSecureValuesRequest : github.com/gotd/td/bin.Decoder *AccountGetAllSecureValuesRequest : github.com/gotd/td/bin.Encoder *AccountGetAllSecureValuesRequest : github.com/gotd/td/bin.Object *AccountGetAllSecureValuesRequest : github.com/gotd/td/tdp.Object *AccountGetAllSecureValuesRequest : fmt.Stringer
AccountGetAuthorizationFormRequest represents TL type `account.getAuthorizationForm#a929597a`. Returns a Telegram Passport authorization form for sharing data with a service See https://core.telegram.org/method/account.getAuthorizationForm for reference. User identifier of the service's bot Service's public key Telegram Passport element types requested by the service Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. FillFrom fills AccountGetAuthorizationFormRequest from given interface. GetBotID returns value of BotID field. GetPublicKey returns value of PublicKey field. GetScope returns value of Scope field. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*AccountGetAuthorizationFormRequest) Zero() bool *AccountGetAuthorizationFormRequest : github.com/gotd/td/bin.BareDecoder *AccountGetAuthorizationFormRequest : github.com/gotd/td/bin.BareEncoder *AccountGetAuthorizationFormRequest : github.com/gotd/td/bin.Decoder *AccountGetAuthorizationFormRequest : github.com/gotd/td/bin.Encoder *AccountGetAuthorizationFormRequest : github.com/gotd/td/bin.Object *AccountGetAuthorizationFormRequest : github.com/gotd/td/tdp.Object *AccountGetAuthorizationFormRequest : fmt.Stringer func (*Client).AccountGetAuthorizationForm(ctx context.Context, request *AccountGetAuthorizationFormRequest) (*AccountAuthorizationForm, error)
AccountGetAuthorizationsRequest represents TL type `account.getAuthorizations#e320c158`. Get logged-in sessions See https://core.telegram.org/method/account.getAuthorizations for reference. Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*AccountGetAuthorizationsRequest) Zero() bool *AccountGetAuthorizationsRequest : github.com/gotd/td/bin.BareDecoder *AccountGetAuthorizationsRequest : github.com/gotd/td/bin.BareEncoder *AccountGetAuthorizationsRequest : github.com/gotd/td/bin.Decoder *AccountGetAuthorizationsRequest : github.com/gotd/td/bin.Encoder *AccountGetAuthorizationsRequest : github.com/gotd/td/bin.Object *AccountGetAuthorizationsRequest : github.com/gotd/td/tdp.Object *AccountGetAuthorizationsRequest : fmt.Stringer
AccountGetAutoDownloadSettingsRequest represents TL type `account.getAutoDownloadSettings#56da0b3f`. Get media autodownload settings See https://core.telegram.org/method/account.getAutoDownloadSettings for reference. Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*AccountGetAutoDownloadSettingsRequest) Zero() bool *AccountGetAutoDownloadSettingsRequest : github.com/gotd/td/bin.BareDecoder *AccountGetAutoDownloadSettingsRequest : github.com/gotd/td/bin.BareEncoder *AccountGetAutoDownloadSettingsRequest : github.com/gotd/td/bin.Decoder *AccountGetAutoDownloadSettingsRequest : github.com/gotd/td/bin.Encoder *AccountGetAutoDownloadSettingsRequest : github.com/gotd/td/bin.Object *AccountGetAutoDownloadSettingsRequest : github.com/gotd/td/tdp.Object *AccountGetAutoDownloadSettingsRequest : fmt.Stringer
AccountGetAutoSaveSettingsRequest represents TL type `account.getAutoSaveSettings#adcbbcda`. Get autosave settings See https://core.telegram.org/method/account.getAutoSaveSettings for reference. Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*AccountGetAutoSaveSettingsRequest) Zero() bool *AccountGetAutoSaveSettingsRequest : github.com/gotd/td/bin.BareDecoder *AccountGetAutoSaveSettingsRequest : github.com/gotd/td/bin.BareEncoder *AccountGetAutoSaveSettingsRequest : github.com/gotd/td/bin.Decoder *AccountGetAutoSaveSettingsRequest : github.com/gotd/td/bin.Encoder *AccountGetAutoSaveSettingsRequest : github.com/gotd/td/bin.Object *AccountGetAutoSaveSettingsRequest : github.com/gotd/td/tdp.Object *AccountGetAutoSaveSettingsRequest : fmt.Stringer
AccountGetChannelDefaultEmojiStatusesRequest represents TL type `account.getChannelDefaultEmojiStatuses#7727a7d5`. See https://core.telegram.org/method/account.getChannelDefaultEmojiStatuses for reference. Hash field of AccountGetChannelDefaultEmojiStatusesRequest. Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. FillFrom fills AccountGetChannelDefaultEmojiStatusesRequest from given interface. GetHash returns value of Hash field. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*AccountGetChannelDefaultEmojiStatusesRequest) Zero() bool *AccountGetChannelDefaultEmojiStatusesRequest : github.com/gotd/td/bin.BareDecoder *AccountGetChannelDefaultEmojiStatusesRequest : github.com/gotd/td/bin.BareEncoder *AccountGetChannelDefaultEmojiStatusesRequest : github.com/gotd/td/bin.Decoder *AccountGetChannelDefaultEmojiStatusesRequest : github.com/gotd/td/bin.Encoder *AccountGetChannelDefaultEmojiStatusesRequest : github.com/gotd/td/bin.Object *AccountGetChannelDefaultEmojiStatusesRequest : github.com/gotd/td/tdp.Object *AccountGetChannelDefaultEmojiStatusesRequest : fmt.Stringer
AccountGetChannelRestrictedStatusEmojisRequest represents TL type `account.getChannelRestrictedStatusEmojis#35a9e0d5`. See https://core.telegram.org/method/account.getChannelRestrictedStatusEmojis for reference. Hash field of AccountGetChannelDefaultEmojiStatusesRequest. Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. FillFrom fills AccountGetChannelRestrictedStatusEmojisRequest from given interface. GetHash returns value of Hash field. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*AccountGetChannelRestrictedStatusEmojisRequest) Zero() bool *AccountGetChannelRestrictedStatusEmojisRequest : github.com/gotd/td/bin.BareDecoder *AccountGetChannelRestrictedStatusEmojisRequest : github.com/gotd/td/bin.BareEncoder *AccountGetChannelRestrictedStatusEmojisRequest : github.com/gotd/td/bin.Decoder *AccountGetChannelRestrictedStatusEmojisRequest : github.com/gotd/td/bin.Encoder *AccountGetChannelRestrictedStatusEmojisRequest : github.com/gotd/td/bin.Object *AccountGetChannelRestrictedStatusEmojisRequest : github.com/gotd/td/tdp.Object *AccountGetChannelRestrictedStatusEmojisRequest : fmt.Stringer
AccountGetChatThemesRequest represents TL type `account.getChatThemes#d638de89`. Get all available chat themes See https://core.telegram.org/method/account.getChatThemes for reference. Hash field of AccountGetChannelDefaultEmojiStatusesRequest. Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. FillFrom fills AccountGetChatThemesRequest from given interface. GetHash returns value of Hash field. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*AccountGetChatThemesRequest) Zero() bool *AccountGetChatThemesRequest : github.com/gotd/td/bin.BareDecoder *AccountGetChatThemesRequest : github.com/gotd/td/bin.BareEncoder *AccountGetChatThemesRequest : github.com/gotd/td/bin.Decoder *AccountGetChatThemesRequest : github.com/gotd/td/bin.Encoder *AccountGetChatThemesRequest : github.com/gotd/td/bin.Object *AccountGetChatThemesRequest : github.com/gotd/td/tdp.Object *AccountGetChatThemesRequest : fmt.Stringer
AccountGetContactSignUpNotificationRequest represents TL type `account.getContactSignUpNotification#9f07c728`. Whether the user will receive notifications when contacts sign up See https://core.telegram.org/method/account.getContactSignUpNotification for reference. Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*AccountGetContactSignUpNotificationRequest) Zero() bool *AccountGetContactSignUpNotificationRequest : github.com/gotd/td/bin.BareDecoder *AccountGetContactSignUpNotificationRequest : github.com/gotd/td/bin.BareEncoder *AccountGetContactSignUpNotificationRequest : github.com/gotd/td/bin.Decoder *AccountGetContactSignUpNotificationRequest : github.com/gotd/td/bin.Encoder *AccountGetContactSignUpNotificationRequest : github.com/gotd/td/bin.Object *AccountGetContactSignUpNotificationRequest : github.com/gotd/td/tdp.Object *AccountGetContactSignUpNotificationRequest : fmt.Stringer
AccountGetContentSettingsRequest represents TL type `account.getContentSettings#8b9b4dae`. Get sensitive content settings See https://core.telegram.org/method/account.getContentSettings for reference. Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*AccountGetContentSettingsRequest) Zero() bool *AccountGetContentSettingsRequest : github.com/gotd/td/bin.BareDecoder *AccountGetContentSettingsRequest : github.com/gotd/td/bin.BareEncoder *AccountGetContentSettingsRequest : github.com/gotd/td/bin.Decoder *AccountGetContentSettingsRequest : github.com/gotd/td/bin.Encoder *AccountGetContentSettingsRequest : github.com/gotd/td/bin.Object *AccountGetContentSettingsRequest : github.com/gotd/td/tdp.Object *AccountGetContentSettingsRequest : fmt.Stringer
AccountGetDefaultBackgroundEmojisRequest represents TL type `account.getDefaultBackgroundEmojis#a60ab9ce`. Get a set of suggested custom emoji stickers¹ that can be used in an accent color pattern². Links: 1. https://core.telegram.org/api/custom-emoji 2. https://core.telegram.org/api/colors See https://core.telegram.org/method/account.getDefaultBackgroundEmojis for reference. Hash field of AccountGetChannelDefaultEmojiStatusesRequest. Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. FillFrom fills AccountGetDefaultBackgroundEmojisRequest from given interface. GetHash returns value of Hash field. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*AccountGetDefaultBackgroundEmojisRequest) Zero() bool *AccountGetDefaultBackgroundEmojisRequest : github.com/gotd/td/bin.BareDecoder *AccountGetDefaultBackgroundEmojisRequest : github.com/gotd/td/bin.BareEncoder *AccountGetDefaultBackgroundEmojisRequest : github.com/gotd/td/bin.Decoder *AccountGetDefaultBackgroundEmojisRequest : github.com/gotd/td/bin.Encoder *AccountGetDefaultBackgroundEmojisRequest : github.com/gotd/td/bin.Object *AccountGetDefaultBackgroundEmojisRequest : github.com/gotd/td/tdp.Object *AccountGetDefaultBackgroundEmojisRequest : fmt.Stringer
AccountGetDefaultEmojiStatusesRequest represents TL type `account.getDefaultEmojiStatuses#d6753386`. Get a list of default suggested emoji statuses¹ Links: 1. https://core.telegram.org/api/emoji-status See https://core.telegram.org/method/account.getDefaultEmojiStatuses for reference. Hash field of AccountGetChannelDefaultEmojiStatusesRequest. Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. FillFrom fills AccountGetDefaultEmojiStatusesRequest from given interface. GetHash returns value of Hash field. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*AccountGetDefaultEmojiStatusesRequest) Zero() bool *AccountGetDefaultEmojiStatusesRequest : github.com/gotd/td/bin.BareDecoder *AccountGetDefaultEmojiStatusesRequest : github.com/gotd/td/bin.BareEncoder *AccountGetDefaultEmojiStatusesRequest : github.com/gotd/td/bin.Decoder *AccountGetDefaultEmojiStatusesRequest : github.com/gotd/td/bin.Encoder *AccountGetDefaultEmojiStatusesRequest : github.com/gotd/td/bin.Object *AccountGetDefaultEmojiStatusesRequest : github.com/gotd/td/tdp.Object *AccountGetDefaultEmojiStatusesRequest : fmt.Stringer
AccountGetDefaultGroupPhotoEmojisRequest represents TL type `account.getDefaultGroupPhotoEmojis#915860ae`. Get a set of suggested custom emoji stickers¹ that can be used as group picture² Links: 1. https://core.telegram.org/api/custom-emoji 2. https://core.telegram.org/api/files#sticker-profile-pictures See https://core.telegram.org/method/account.getDefaultGroupPhotoEmojis for reference. Hash field of AccountGetChannelDefaultEmojiStatusesRequest. Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. FillFrom fills AccountGetDefaultGroupPhotoEmojisRequest from given interface. GetHash returns value of Hash field. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*AccountGetDefaultGroupPhotoEmojisRequest) Zero() bool *AccountGetDefaultGroupPhotoEmojisRequest : github.com/gotd/td/bin.BareDecoder *AccountGetDefaultGroupPhotoEmojisRequest : github.com/gotd/td/bin.BareEncoder *AccountGetDefaultGroupPhotoEmojisRequest : github.com/gotd/td/bin.Decoder *AccountGetDefaultGroupPhotoEmojisRequest : github.com/gotd/td/bin.Encoder *AccountGetDefaultGroupPhotoEmojisRequest : github.com/gotd/td/bin.Object *AccountGetDefaultGroupPhotoEmojisRequest : github.com/gotd/td/tdp.Object *AccountGetDefaultGroupPhotoEmojisRequest : fmt.Stringer
AccountGetDefaultProfilePhotoEmojisRequest represents TL type `account.getDefaultProfilePhotoEmojis#e2750328`. Get a set of suggested custom emoji stickers¹ that can be used as profile picture² Links: 1. https://core.telegram.org/api/custom-emoji 2. https://core.telegram.org/api/files#sticker-profile-pictures See https://core.telegram.org/method/account.getDefaultProfilePhotoEmojis for reference. Hash field of AccountGetChannelDefaultEmojiStatusesRequest. Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. FillFrom fills AccountGetDefaultProfilePhotoEmojisRequest from given interface. GetHash returns value of Hash field. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*AccountGetDefaultProfilePhotoEmojisRequest) Zero() bool *AccountGetDefaultProfilePhotoEmojisRequest : github.com/gotd/td/bin.BareDecoder *AccountGetDefaultProfilePhotoEmojisRequest : github.com/gotd/td/bin.BareEncoder *AccountGetDefaultProfilePhotoEmojisRequest : github.com/gotd/td/bin.Decoder *AccountGetDefaultProfilePhotoEmojisRequest : github.com/gotd/td/bin.Encoder *AccountGetDefaultProfilePhotoEmojisRequest : github.com/gotd/td/bin.Object *AccountGetDefaultProfilePhotoEmojisRequest : github.com/gotd/td/tdp.Object *AccountGetDefaultProfilePhotoEmojisRequest : fmt.Stringer
AccountGetGlobalPrivacySettingsRequest represents TL type `account.getGlobalPrivacySettings#eb2b4cf6`. Get global privacy settings See https://core.telegram.org/method/account.getGlobalPrivacySettings for reference. Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*AccountGetGlobalPrivacySettingsRequest) Zero() bool *AccountGetGlobalPrivacySettingsRequest : github.com/gotd/td/bin.BareDecoder *AccountGetGlobalPrivacySettingsRequest : github.com/gotd/td/bin.BareEncoder *AccountGetGlobalPrivacySettingsRequest : github.com/gotd/td/bin.Decoder *AccountGetGlobalPrivacySettingsRequest : github.com/gotd/td/bin.Encoder *AccountGetGlobalPrivacySettingsRequest : github.com/gotd/td/bin.Object *AccountGetGlobalPrivacySettingsRequest : github.com/gotd/td/tdp.Object *AccountGetGlobalPrivacySettingsRequest : fmt.Stringer
AccountGetMultiWallPapersRequest represents TL type `account.getMultiWallPapers#65ad71dc`. Get info about multiple wallpapers¹ Links: 1. https://core.telegram.org/api/wallpapers See https://core.telegram.org/method/account.getMultiWallPapers for reference. Wallpapers¹ to fetch info about Links: 1) https://core.telegram.org/api/wallpapers Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. FillFrom fills AccountGetMultiWallPapersRequest from given interface. GetWallpapers returns value of Wallpapers field. MapWallpapers returns field Wallpapers wrapped in InputWallPaperClassArray helper. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*AccountGetMultiWallPapersRequest) Zero() bool *AccountGetMultiWallPapersRequest : github.com/gotd/td/bin.BareDecoder *AccountGetMultiWallPapersRequest : github.com/gotd/td/bin.BareEncoder *AccountGetMultiWallPapersRequest : github.com/gotd/td/bin.Decoder *AccountGetMultiWallPapersRequest : github.com/gotd/td/bin.Encoder *AccountGetMultiWallPapersRequest : github.com/gotd/td/bin.Object *AccountGetMultiWallPapersRequest : github.com/gotd/td/tdp.Object *AccountGetMultiWallPapersRequest : fmt.Stringer
AccountGetNotifyExceptionsRequest represents TL type `account.getNotifyExceptions#53577479`. Returns list of chats with non-default notification settings See https://core.telegram.org/method/account.getNotifyExceptions for reference. If set, chats with non-default sound will be returned If set, chats with non-default notification settings for stories will be returned Flags, see TL conditional fields¹ Links: 1) https://core.telegram.org/mtproto/TL-combinators#conditional-fields If specified, only chats of the specified category will be returned Use SetPeer and GetPeer helpers. Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. FillFrom fills AccountGetNotifyExceptionsRequest from given interface. GetCompareSound returns value of CompareSound conditional field. GetCompareStories returns value of CompareStories conditional field. GetPeer returns value of Peer conditional field and boolean which is true if field was set. SetCompareSound sets value of CompareSound conditional field. SetCompareStories sets value of CompareStories conditional field. SetFlags sets flags for non-zero fields. SetPeer sets value of Peer conditional field. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*AccountGetNotifyExceptionsRequest) Zero() bool *AccountGetNotifyExceptionsRequest : github.com/gotd/td/bin.BareDecoder *AccountGetNotifyExceptionsRequest : github.com/gotd/td/bin.BareEncoder *AccountGetNotifyExceptionsRequest : github.com/gotd/td/bin.Decoder *AccountGetNotifyExceptionsRequest : github.com/gotd/td/bin.Encoder *AccountGetNotifyExceptionsRequest : github.com/gotd/td/bin.Object *AccountGetNotifyExceptionsRequest : github.com/gotd/td/tdp.Object *AccountGetNotifyExceptionsRequest : fmt.Stringer func (*Client).AccountGetNotifyExceptions(ctx context.Context, request *AccountGetNotifyExceptionsRequest) (UpdatesClass, error)
AccountGetNotifySettingsRequest represents TL type `account.getNotifySettings#12b3ad31`. Gets current notification settings for a given user/group, from all users/all groups. See https://core.telegram.org/method/account.getNotifySettings for reference. Notification source Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. FillFrom fills AccountGetNotifySettingsRequest from given interface. GetPeer returns value of Peer field. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*AccountGetNotifySettingsRequest) Zero() bool *AccountGetNotifySettingsRequest : github.com/gotd/td/bin.BareDecoder *AccountGetNotifySettingsRequest : github.com/gotd/td/bin.BareEncoder *AccountGetNotifySettingsRequest : github.com/gotd/td/bin.Decoder *AccountGetNotifySettingsRequest : github.com/gotd/td/bin.Encoder *AccountGetNotifySettingsRequest : github.com/gotd/td/bin.Object *AccountGetNotifySettingsRequest : github.com/gotd/td/tdp.Object *AccountGetNotifySettingsRequest : fmt.Stringer
AccountGetPasswordRequest represents TL type `account.getPassword#548a30f5`. Obtain configuration for two-factor authorization with password See https://core.telegram.org/method/account.getPassword for reference. Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*AccountGetPasswordRequest) Zero() bool *AccountGetPasswordRequest : github.com/gotd/td/bin.BareDecoder *AccountGetPasswordRequest : github.com/gotd/td/bin.BareEncoder *AccountGetPasswordRequest : github.com/gotd/td/bin.Decoder *AccountGetPasswordRequest : github.com/gotd/td/bin.Encoder *AccountGetPasswordRequest : github.com/gotd/td/bin.Object *AccountGetPasswordRequest : github.com/gotd/td/tdp.Object *AccountGetPasswordRequest : fmt.Stringer
AccountGetPasswordSettingsRequest represents TL type `account.getPasswordSettings#9cd4eaf9`. Get private info associated to the password info (recovery email, telegram passport¹ info & so on) Links: 1. https://core.telegram.org/passport See https://core.telegram.org/method/account.getPasswordSettings for reference. The password (see SRP¹) Links: 1) https://core.telegram.org/api/srp Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. FillFrom fills AccountGetPasswordSettingsRequest from given interface. GetPassword returns value of Password field. GetPasswordAsNotEmpty returns mapped value of Password field. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*AccountGetPasswordSettingsRequest) Zero() bool *AccountGetPasswordSettingsRequest : github.com/gotd/td/bin.BareDecoder *AccountGetPasswordSettingsRequest : github.com/gotd/td/bin.BareEncoder *AccountGetPasswordSettingsRequest : github.com/gotd/td/bin.Decoder *AccountGetPasswordSettingsRequest : github.com/gotd/td/bin.Encoder *AccountGetPasswordSettingsRequest : github.com/gotd/td/bin.Object *AccountGetPasswordSettingsRequest : github.com/gotd/td/tdp.Object *AccountGetPasswordSettingsRequest : fmt.Stringer
AccountGetPrivacyRequest represents TL type `account.getPrivacy#dadbc950`. Get privacy settings of current account See https://core.telegram.org/method/account.getPrivacy for reference. Peer category whose privacy settings should be fetched Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. FillFrom fills AccountGetPrivacyRequest from given interface. GetKey returns value of Key field. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*AccountGetPrivacyRequest) Zero() bool *AccountGetPrivacyRequest : github.com/gotd/td/bin.BareDecoder *AccountGetPrivacyRequest : github.com/gotd/td/bin.BareEncoder *AccountGetPrivacyRequest : github.com/gotd/td/bin.Decoder *AccountGetPrivacyRequest : github.com/gotd/td/bin.Encoder *AccountGetPrivacyRequest : github.com/gotd/td/bin.Object *AccountGetPrivacyRequest : github.com/gotd/td/tdp.Object *AccountGetPrivacyRequest : fmt.Stringer
AccountGetRecentEmojiStatusesRequest represents TL type `account.getRecentEmojiStatuses#f578105`. Get recently used emoji statuses¹ Links: 1. https://core.telegram.org/api/emoji-status See https://core.telegram.org/method/account.getRecentEmojiStatuses for reference. Hash field of AccountGetChannelDefaultEmojiStatusesRequest. Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. FillFrom fills AccountGetRecentEmojiStatusesRequest from given interface. GetHash returns value of Hash field. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*AccountGetRecentEmojiStatusesRequest) Zero() bool *AccountGetRecentEmojiStatusesRequest : github.com/gotd/td/bin.BareDecoder *AccountGetRecentEmojiStatusesRequest : github.com/gotd/td/bin.BareEncoder *AccountGetRecentEmojiStatusesRequest : github.com/gotd/td/bin.Decoder *AccountGetRecentEmojiStatusesRequest : github.com/gotd/td/bin.Encoder *AccountGetRecentEmojiStatusesRequest : github.com/gotd/td/bin.Object *AccountGetRecentEmojiStatusesRequest : github.com/gotd/td/tdp.Object *AccountGetRecentEmojiStatusesRequest : fmt.Stringer
AccountGetSavedRingtonesRequest represents TL type `account.getSavedRingtones#e1902288`. Fetch saved notification sounds See https://core.telegram.org/method/account.getSavedRingtones for reference. Hash field of AccountGetChannelDefaultEmojiStatusesRequest. Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. FillFrom fills AccountGetSavedRingtonesRequest from given interface. GetHash returns value of Hash field. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*AccountGetSavedRingtonesRequest) Zero() bool *AccountGetSavedRingtonesRequest : github.com/gotd/td/bin.BareDecoder *AccountGetSavedRingtonesRequest : github.com/gotd/td/bin.BareEncoder *AccountGetSavedRingtonesRequest : github.com/gotd/td/bin.Decoder *AccountGetSavedRingtonesRequest : github.com/gotd/td/bin.Encoder *AccountGetSavedRingtonesRequest : github.com/gotd/td/bin.Object *AccountGetSavedRingtonesRequest : github.com/gotd/td/tdp.Object *AccountGetSavedRingtonesRequest : fmt.Stringer
AccountGetSecureValueRequest represents TL type `account.getSecureValue#73665bc2`. Get saved Telegram Passport¹ document, for more info see the passport docs »² Links: 1. https://core.telegram.org/passport 2. https://core.telegram.org/passport/encryption#encryption See https://core.telegram.org/method/account.getSecureValue for reference. Document types to delete Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. FillFrom fills AccountGetSecureValueRequest from given interface. GetTypes returns value of Types field. MapTypes returns field Types wrapped in SecureValueTypeClassArray helper. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*AccountGetSecureValueRequest) Zero() bool *AccountGetSecureValueRequest : github.com/gotd/td/bin.BareDecoder *AccountGetSecureValueRequest : github.com/gotd/td/bin.BareEncoder *AccountGetSecureValueRequest : github.com/gotd/td/bin.Decoder *AccountGetSecureValueRequest : github.com/gotd/td/bin.Encoder *AccountGetSecureValueRequest : github.com/gotd/td/bin.Object *AccountGetSecureValueRequest : github.com/gotd/td/tdp.Object *AccountGetSecureValueRequest : fmt.Stringer
AccountGetThemeRequest represents TL type `account.getTheme#3a5869ec`. Get theme information See https://core.telegram.org/method/account.getTheme for reference. Theme format, a string that identifies the theming engines supported by the client Theme Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. FillFrom fills AccountGetThemeRequest from given interface. GetFormat returns value of Format field. GetTheme returns value of Theme field. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*AccountGetThemeRequest) Zero() bool *AccountGetThemeRequest : github.com/gotd/td/bin.BareDecoder *AccountGetThemeRequest : github.com/gotd/td/bin.BareEncoder *AccountGetThemeRequest : github.com/gotd/td/bin.Decoder *AccountGetThemeRequest : github.com/gotd/td/bin.Encoder *AccountGetThemeRequest : github.com/gotd/td/bin.Object *AccountGetThemeRequest : github.com/gotd/td/tdp.Object *AccountGetThemeRequest : fmt.Stringer func (*Client).AccountGetTheme(ctx context.Context, request *AccountGetThemeRequest) (*Theme, error)
AccountGetThemesRequest represents TL type `account.getThemes#7206e458`. Get installed themes See https://core.telegram.org/method/account.getThemes for reference. Theme format, a string that identifies the theming engines supported by the client Hash for pagination, for more info click here¹ Links: 1) https://core.telegram.org/api/offsets#hash-generation Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. FillFrom fills AccountGetThemesRequest from given interface. GetFormat returns value of Format field. GetHash returns value of Hash field. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*AccountGetThemesRequest) Zero() bool *AccountGetThemesRequest : github.com/gotd/td/bin.BareDecoder *AccountGetThemesRequest : github.com/gotd/td/bin.BareEncoder *AccountGetThemesRequest : github.com/gotd/td/bin.Decoder *AccountGetThemesRequest : github.com/gotd/td/bin.Encoder *AccountGetThemesRequest : github.com/gotd/td/bin.Object *AccountGetThemesRequest : github.com/gotd/td/tdp.Object *AccountGetThemesRequest : fmt.Stringer func (*Client).AccountGetThemes(ctx context.Context, request *AccountGetThemesRequest) (AccountThemesClass, error)
AccountGetTmpPasswordRequest represents TL type `account.getTmpPassword#449e0b51`. Get temporary payment password See https://core.telegram.org/method/account.getTmpPassword for reference. SRP password parameters Time during which the temporary password will be valid, in seconds; should be between 60 and 86400 Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. FillFrom fills AccountGetTmpPasswordRequest from given interface. GetPassword returns value of Password field. GetPasswordAsNotEmpty returns mapped value of Password field. GetPeriod returns value of Period field. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*AccountGetTmpPasswordRequest) Zero() bool *AccountGetTmpPasswordRequest : github.com/gotd/td/bin.BareDecoder *AccountGetTmpPasswordRequest : github.com/gotd/td/bin.BareEncoder *AccountGetTmpPasswordRequest : github.com/gotd/td/bin.Decoder *AccountGetTmpPasswordRequest : github.com/gotd/td/bin.Encoder *AccountGetTmpPasswordRequest : github.com/gotd/td/bin.Object *AccountGetTmpPasswordRequest : github.com/gotd/td/tdp.Object *AccountGetTmpPasswordRequest : fmt.Stringer func (*Client).AccountGetTmpPassword(ctx context.Context, request *AccountGetTmpPasswordRequest) (*AccountTmpPassword, error)
AccountGetWallPaperRequest represents TL type `account.getWallPaper#fc8ddbea`. Get info about a certain wallpaper¹ Links: 1. https://core.telegram.org/api/wallpapers See https://core.telegram.org/method/account.getWallPaper for reference. The wallpaper¹ to get info about Links: 1) https://core.telegram.org/api/wallpapers Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. FillFrom fills AccountGetWallPaperRequest from given interface. GetWallpaper returns value of Wallpaper field. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*AccountGetWallPaperRequest) Zero() bool *AccountGetWallPaperRequest : github.com/gotd/td/bin.BareDecoder *AccountGetWallPaperRequest : github.com/gotd/td/bin.BareEncoder *AccountGetWallPaperRequest : github.com/gotd/td/bin.Decoder *AccountGetWallPaperRequest : github.com/gotd/td/bin.Encoder *AccountGetWallPaperRequest : github.com/gotd/td/bin.Object *AccountGetWallPaperRequest : github.com/gotd/td/tdp.Object *AccountGetWallPaperRequest : fmt.Stringer
AccountGetWallPapersRequest represents TL type `account.getWallPapers#7967d36`. Returns a list of available wallpapers¹. Links: 1. https://core.telegram.org/api/wallpapers See https://core.telegram.org/method/account.getWallPapers for reference. Hash field of AccountGetChannelDefaultEmojiStatusesRequest. Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. FillFrom fills AccountGetWallPapersRequest from given interface. GetHash returns value of Hash field. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*AccountGetWallPapersRequest) Zero() bool *AccountGetWallPapersRequest : github.com/gotd/td/bin.BareDecoder *AccountGetWallPapersRequest : github.com/gotd/td/bin.BareEncoder *AccountGetWallPapersRequest : github.com/gotd/td/bin.Decoder *AccountGetWallPapersRequest : github.com/gotd/td/bin.Encoder *AccountGetWallPapersRequest : github.com/gotd/td/bin.Object *AccountGetWallPapersRequest : github.com/gotd/td/tdp.Object *AccountGetWallPapersRequest : fmt.Stringer
AccountGetWebAuthorizationsRequest represents TL type `account.getWebAuthorizations#182e6d6f`. Get web login widget¹ authorizations Links: 1. https://core.telegram.org/widgets/login See https://core.telegram.org/method/account.getWebAuthorizations for reference. Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*AccountGetWebAuthorizationsRequest) Zero() bool *AccountGetWebAuthorizationsRequest : github.com/gotd/td/bin.BareDecoder *AccountGetWebAuthorizationsRequest : github.com/gotd/td/bin.BareEncoder *AccountGetWebAuthorizationsRequest : github.com/gotd/td/bin.Decoder *AccountGetWebAuthorizationsRequest : github.com/gotd/td/bin.Encoder *AccountGetWebAuthorizationsRequest : github.com/gotd/td/bin.Object *AccountGetWebAuthorizationsRequest : github.com/gotd/td/tdp.Object *AccountGetWebAuthorizationsRequest : fmt.Stringer
AccountInitTakeoutSessionRequest represents TL type `account.initTakeoutSession#8ef3eab0`. Initialize a takeout session, see here » for more info¹. Links: 1. https://core.telegram.org/api/takeout See https://core.telegram.org/method/account.initTakeoutSession for reference. Whether to export contacts Maximum size of files to export Use SetFileMaxSize and GetFileMaxSize helpers. Whether to export files Flags, see TL conditional fields¹ Links: 1) https://core.telegram.org/mtproto/TL-combinators#conditional-fields Whether to export messages in channels¹ Links: 1) https://core.telegram.org/api/channel#channels Whether to export messages in basic groups¹ Links: 1) https://core.telegram.org/api/channel#basic-groups Whether to export messages in supergroups¹ Links: 1) https://core.telegram.org/api/channel#supergroups Whether to export messages in private chats Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. FillFrom fills AccountInitTakeoutSessionRequest from given interface. GetContacts returns value of Contacts conditional field. GetFileMaxSize returns value of FileMaxSize conditional field and boolean which is true if field was set. GetFiles returns value of Files conditional field. GetMessageChannels returns value of MessageChannels conditional field. GetMessageChats returns value of MessageChats conditional field. GetMessageMegagroups returns value of MessageMegagroups conditional field. GetMessageUsers returns value of MessageUsers conditional field. SetContacts sets value of Contacts conditional field. SetFileMaxSize sets value of FileMaxSize conditional field. SetFiles sets value of Files conditional field. SetFlags sets flags for non-zero fields. SetMessageChannels sets value of MessageChannels conditional field. SetMessageChats sets value of MessageChats conditional field. SetMessageMegagroups sets value of MessageMegagroups conditional field. SetMessageUsers sets value of MessageUsers conditional field. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*AccountInitTakeoutSessionRequest) Zero() bool *AccountInitTakeoutSessionRequest : github.com/gotd/td/bin.BareDecoder *AccountInitTakeoutSessionRequest : github.com/gotd/td/bin.BareEncoder *AccountInitTakeoutSessionRequest : github.com/gotd/td/bin.Decoder *AccountInitTakeoutSessionRequest : github.com/gotd/td/bin.Encoder *AccountInitTakeoutSessionRequest : github.com/gotd/td/bin.Object *AccountInitTakeoutSessionRequest : github.com/gotd/td/tdp.Object *AccountInitTakeoutSessionRequest : fmt.Stringer func (*Client).AccountInitTakeoutSession(ctx context.Context, request *AccountInitTakeoutSessionRequest) (*AccountTakeout, error)
AccountInstallThemeRequest represents TL type `account.installTheme#c727bb3b`. Install a theme See https://core.telegram.org/method/account.installTheme for reference. Indicates a basic theme provided by all clients Use SetBaseTheme and GetBaseTheme helpers. Whether to install the dark version Flags, see TL conditional fields¹ Links: 1) https://core.telegram.org/mtproto/TL-combinators#conditional-fields Theme format, a string that identifies the theming engines supported by the client Use SetFormat and GetFormat helpers. Theme to install Use SetTheme and GetTheme helpers. Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. FillFrom fills AccountInstallThemeRequest from given interface. GetBaseTheme returns value of BaseTheme conditional field and boolean which is true if field was set. GetDark returns value of Dark conditional field. GetFormat returns value of Format conditional field and boolean which is true if field was set. GetTheme returns value of Theme conditional field and boolean which is true if field was set. SetBaseTheme sets value of BaseTheme conditional field. SetDark sets value of Dark conditional field. SetFlags sets flags for non-zero fields. SetFormat sets value of Format conditional field. SetTheme sets value of Theme conditional field. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*AccountInstallThemeRequest) Zero() bool *AccountInstallThemeRequest : github.com/gotd/td/bin.BareDecoder *AccountInstallThemeRequest : github.com/gotd/td/bin.BareEncoder *AccountInstallThemeRequest : github.com/gotd/td/bin.Decoder *AccountInstallThemeRequest : github.com/gotd/td/bin.Encoder *AccountInstallThemeRequest : github.com/gotd/td/bin.Object *AccountInstallThemeRequest : github.com/gotd/td/tdp.Object *AccountInstallThemeRequest : fmt.Stringer func (*Client).AccountInstallTheme(ctx context.Context, request *AccountInstallThemeRequest) (bool, error)
AccountInstallWallPaperRequest represents TL type `account.installWallPaper#feed5769`. Install wallpaper¹ Links: 1. https://core.telegram.org/api/wallpapers See https://core.telegram.org/method/account.installWallPaper for reference. Wallpaper¹ settings Links: 1) https://core.telegram.org/api/wallpapers Wallpaper¹ to install Links: 1) https://core.telegram.org/api/wallpapers Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. FillFrom fills AccountInstallWallPaperRequest from given interface. GetSettings returns value of Settings field. GetWallpaper returns value of Wallpaper field. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*AccountInstallWallPaperRequest) Zero() bool *AccountInstallWallPaperRequest : github.com/gotd/td/bin.BareDecoder *AccountInstallWallPaperRequest : github.com/gotd/td/bin.BareEncoder *AccountInstallWallPaperRequest : github.com/gotd/td/bin.Decoder *AccountInstallWallPaperRequest : github.com/gotd/td/bin.Encoder *AccountInstallWallPaperRequest : github.com/gotd/td/bin.Object *AccountInstallWallPaperRequest : github.com/gotd/td/tdp.Object *AccountInstallWallPaperRequest : fmt.Stringer func (*Client).AccountInstallWallPaper(ctx context.Context, request *AccountInstallWallPaperRequest) (bool, error)
AccountInvalidateSignInCodesRequest represents TL type `account.invalidateSignInCodes#ca8ae8ba`. Invalidate the specified login codes, see here »¹ for more info. Links: 1. https://core.telegram.org/api/auth#invalidating-login-codes See https://core.telegram.org/method/account.invalidateSignInCodes for reference. The login codes to invalidate. Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. FillFrom fills AccountInvalidateSignInCodesRequest from given interface. GetCodes returns value of Codes field. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*AccountInvalidateSignInCodesRequest) Zero() bool *AccountInvalidateSignInCodesRequest : github.com/gotd/td/bin.BareDecoder *AccountInvalidateSignInCodesRequest : github.com/gotd/td/bin.BareEncoder *AccountInvalidateSignInCodesRequest : github.com/gotd/td/bin.Decoder *AccountInvalidateSignInCodesRequest : github.com/gotd/td/bin.Encoder *AccountInvalidateSignInCodesRequest : github.com/gotd/td/bin.Object *AccountInvalidateSignInCodesRequest : github.com/gotd/td/tdp.Object *AccountInvalidateSignInCodesRequest : fmt.Stringer
AccountPassword represents TL type `account.password#957b50fb`. Configuration for two-factor authorization See https://core.telegram.org/constructor/account.password for reference. The KDF algorithm for SRP two-factor authentication¹ of the current password Links: 1) https://core.telegram.org/api/srp Use SetCurrentAlgo and GetCurrentAlgo helpers. A password recovery email¹ with the specified pattern² is still awaiting verification Links: 1) https://core.telegram.org/api/srp#email-verification 2) https://core.telegram.org/api/pattern Use SetEmailUnconfirmedPattern and GetEmailUnconfirmedPattern helpers. Flags, see TL conditional fields¹ Links: 1) https://core.telegram.org/mtproto/TL-combinators#conditional-fields Whether the user has a password Whether the user has a recovery method configured Whether telegram passport¹ is enabled Links: 1) https://core.telegram.org/passport Text hint for the password Use SetHint and GetHint helpers. A verified login email with the specified pattern¹ is configured Links: 1) https://core.telegram.org/api/pattern Use SetLoginEmailPattern and GetLoginEmailPattern helpers. The KDF algorithm for SRP two-factor authentication¹ to use when creating new passwords Links: 1) https://core.telegram.org/api/srp The KDF algorithm for telegram passport¹ Links: 1) https://core.telegram.org/passport The 2FA password will be automatically removed at this date, unless the user cancels the operation Use SetPendingResetDate and GetPendingResetDate helpers. Srp B param for SRP authorization¹ Links: 1) https://core.telegram.org/api/srp Use SetSRPB and GetSRPB helpers. Srp ID param for SRP authorization¹ Links: 1) https://core.telegram.org/api/srp Use SetSRPID and GetSRPID helpers. Secure random string Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. FillFrom fills AccountPassword from given interface. GetCurrentAlgo returns value of CurrentAlgo conditional field and boolean which is true if field was set. GetEmailUnconfirmedPattern returns value of EmailUnconfirmedPattern conditional field and boolean which is true if field was set. GetHasPassword returns value of HasPassword conditional field. GetHasRecovery returns value of HasRecovery conditional field. GetHasSecureValues returns value of HasSecureValues conditional field. GetHint returns value of Hint conditional field and boolean which is true if field was set. GetLoginEmailPattern returns value of LoginEmailPattern conditional field and boolean which is true if field was set. GetNewAlgo returns value of NewAlgo field. GetNewSecureAlgo returns value of NewSecureAlgo field. GetPendingResetDate returns value of PendingResetDate conditional field and boolean which is true if field was set. GetSRPB returns value of SRPB conditional field and boolean which is true if field was set. GetSRPID returns value of SRPID conditional field and boolean which is true if field was set. GetSecureRandom returns value of SecureRandom field. SetCurrentAlgo sets value of CurrentAlgo conditional field. SetEmailUnconfirmedPattern sets value of EmailUnconfirmedPattern conditional field. SetFlags sets flags for non-zero fields. SetHasPassword sets value of HasPassword conditional field. SetHasRecovery sets value of HasRecovery conditional field. SetHasSecureValues sets value of HasSecureValues conditional field. SetHint sets value of Hint conditional field. SetLoginEmailPattern sets value of LoginEmailPattern conditional field. SetPendingResetDate sets value of PendingResetDate conditional field. SetSRPB sets value of SRPB conditional field. SetSRPID sets value of SRPID conditional field. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*AccountPassword) Zero() bool *AccountPassword : github.com/gotd/td/bin.BareDecoder *AccountPassword : github.com/gotd/td/bin.BareEncoder *AccountPassword : github.com/gotd/td/bin.Decoder *AccountPassword : github.com/gotd/td/bin.Encoder *AccountPassword : github.com/gotd/td/bin.Object *AccountPassword : github.com/gotd/td/tdp.Object *AccountPassword : fmt.Stringer func (*Client).AccountGetPassword(ctx context.Context) (*AccountPassword, error)
AccountPasswordInputSettings represents TL type `account.passwordInputSettings#c23727c9`. Settings for setting up a new password See https://core.telegram.org/constructor/account.passwordInputSettings for reference. Password recovery email Use SetEmail and GetEmail helpers. Flags, see TL conditional fields¹ Links: 1) https://core.telegram.org/mtproto/TL-combinators#conditional-fields Text hint for the password Use SetHint and GetHint helpers. The SRP algorithm¹ to use Links: 1) https://core.telegram.org/api/srp Use SetNewAlgo and GetNewAlgo helpers. The computed password hash¹ Links: 1) https://core.telegram.org/api/srp Use SetNewPasswordHash and GetNewPasswordHash helpers. Telegram passport¹ settings Links: 1) https://core.telegram.org/passport Use SetNewSecureSettings and GetNewSecureSettings helpers. Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. FillFrom fills AccountPasswordInputSettings from given interface. GetEmail returns value of Email conditional field and boolean which is true if field was set. GetHint returns value of Hint conditional field and boolean which is true if field was set. GetNewAlgo returns value of NewAlgo conditional field and boolean which is true if field was set. GetNewPasswordHash returns value of NewPasswordHash conditional field and boolean which is true if field was set. GetNewSecureSettings returns value of NewSecureSettings conditional field and boolean which is true if field was set. SetEmail sets value of Email conditional field. SetFlags sets flags for non-zero fields. SetHint sets value of Hint conditional field. SetNewAlgo sets value of NewAlgo conditional field. SetNewPasswordHash sets value of NewPasswordHash conditional field. SetNewSecureSettings sets value of NewSecureSettings conditional field. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*AccountPasswordInputSettings) Zero() bool *AccountPasswordInputSettings : github.com/gotd/td/bin.BareDecoder *AccountPasswordInputSettings : github.com/gotd/td/bin.BareEncoder *AccountPasswordInputSettings : github.com/gotd/td/bin.Decoder *AccountPasswordInputSettings : github.com/gotd/td/bin.Encoder *AccountPasswordInputSettings : github.com/gotd/td/bin.Object *AccountPasswordInputSettings : github.com/gotd/td/tdp.Object *AccountPasswordInputSettings : fmt.Stringer func (*AccountUpdatePasswordSettingsRequest).GetNewSettings() (value AccountPasswordInputSettings) func (*AuthRecoverPasswordRequest).GetNewSettings() (value AccountPasswordInputSettings, ok bool) func (*AuthRecoverPasswordRequest).SetNewSettings(value AccountPasswordInputSettings)
AccountPasswordSettings represents TL type `account.passwordSettings#9a5c33e5`. Private info associated to the password info (recovery email, telegram passport¹ info & so on) Links: 1. https://core.telegram.org/passport See https://core.telegram.org/constructor/account.passwordSettings for reference. 2FA Recovery email¹ Links: 1) https://core.telegram.org/api/srp#email-verification Use SetEmail and GetEmail helpers. Flags, see TL conditional fields¹ Links: 1) https://core.telegram.org/mtproto/TL-combinators#conditional-fields Telegram passport¹ settings Links: 1) https://core.telegram.org/passport Use SetSecureSettings and GetSecureSettings helpers. Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. FillFrom fills AccountPasswordSettings from given interface. GetEmail returns value of Email conditional field and boolean which is true if field was set. GetSecureSettings returns value of SecureSettings conditional field and boolean which is true if field was set. SetEmail sets value of Email conditional field. SetFlags sets flags for non-zero fields. SetSecureSettings sets value of SecureSettings conditional field. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*AccountPasswordSettings) Zero() bool *AccountPasswordSettings : github.com/gotd/td/bin.BareDecoder *AccountPasswordSettings : github.com/gotd/td/bin.BareEncoder *AccountPasswordSettings : github.com/gotd/td/bin.Decoder *AccountPasswordSettings : github.com/gotd/td/bin.Encoder *AccountPasswordSettings : github.com/gotd/td/bin.Object *AccountPasswordSettings : github.com/gotd/td/tdp.Object *AccountPasswordSettings : fmt.Stringer func (*Client).AccountGetPasswordSettings(ctx context.Context, password InputCheckPasswordSRPClass) (*AccountPasswordSettings, error)
AccountPrivacyRules represents TL type `account.privacyRules#50a04e45`. Privacy rules See https://core.telegram.org/constructor/account.privacyRules for reference. Chats to which the rules apply Privacy rules Users to which the rules apply Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. FillFrom fills AccountPrivacyRules from given interface. GetChats returns value of Chats field. GetRules returns value of Rules field. GetUsers returns value of Users field. MapChats returns field Chats wrapped in ChatClassArray helper. MapRules returns field Rules wrapped in PrivacyRuleClassArray helper. MapUsers returns field Users wrapped in UserClassArray helper. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*AccountPrivacyRules) Zero() bool *AccountPrivacyRules : github.com/gotd/td/bin.BareDecoder *AccountPrivacyRules : github.com/gotd/td/bin.BareEncoder *AccountPrivacyRules : github.com/gotd/td/bin.Decoder *AccountPrivacyRules : github.com/gotd/td/bin.Encoder *AccountPrivacyRules : github.com/gotd/td/bin.Object *AccountPrivacyRules : github.com/gotd/td/tdp.Object *AccountPrivacyRules : fmt.Stringer func (*Client).AccountGetPrivacy(ctx context.Context, key InputPrivacyKeyClass) (*AccountPrivacyRules, error) func (*Client).AccountSetPrivacy(ctx context.Context, request *AccountSetPrivacyRequest) (*AccountPrivacyRules, error)
AccountRegisterDeviceRequest represents TL type `account.registerDevice#ec86017a`. Register device to receive PUSH notifications¹ Links: 1. https://core.telegram.org/api/push-updates See https://core.telegram.org/method/account.registerDevice for reference. If (boolTrue)¹ is transmitted, a sandbox-certificate will be used during transmission. Links: 1) https://core.telegram.org/constructor/boolTrue Flags, see TL conditional fields¹ Links: 1) https://core.telegram.org/mtproto/TL-combinators#conditional-fields Avoid receiving (silent and invisible background) notifications. Useful to save battery. List of user identifiers of other users currently using the client For FCM and APNS VoIP, optional encryption key used to encrypt push notifications Device token, see PUSH updates¹ for the possible values. Links: 1) https://core.telegram.org/api/push-updates#subscribing-to-notifications Device token type, see PUSH updates¹ for the possible values. Links: 1) https://core.telegram.org/api/push-updates#subscribing-to-notifications Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. FillFrom fills AccountRegisterDeviceRequest from given interface. GetAppSandbox returns value of AppSandbox field. GetNoMuted returns value of NoMuted conditional field. GetOtherUIDs returns value of OtherUIDs field. GetSecret returns value of Secret field. GetToken returns value of Token field. GetTokenType returns value of TokenType field. SetFlags sets flags for non-zero fields. SetNoMuted sets value of NoMuted conditional field. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*AccountRegisterDeviceRequest) Zero() bool *AccountRegisterDeviceRequest : github.com/gotd/td/bin.BareDecoder *AccountRegisterDeviceRequest : github.com/gotd/td/bin.BareEncoder *AccountRegisterDeviceRequest : github.com/gotd/td/bin.Decoder *AccountRegisterDeviceRequest : github.com/gotd/td/bin.Encoder *AccountRegisterDeviceRequest : github.com/gotd/td/bin.Object *AccountRegisterDeviceRequest : github.com/gotd/td/tdp.Object *AccountRegisterDeviceRequest : fmt.Stringer func (*Client).AccountRegisterDevice(ctx context.Context, request *AccountRegisterDeviceRequest) (bool, error)
AccountReorderUsernamesRequest represents TL type `account.reorderUsernames#ef500eab`. Reorder usernames associated with the currently logged-in user. See https://core.telegram.org/method/account.reorderUsernames for reference. The new order for active usernames. All active usernames must be specified. Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. FillFrom fills AccountReorderUsernamesRequest from given interface. GetOrder returns value of Order field. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*AccountReorderUsernamesRequest) Zero() bool *AccountReorderUsernamesRequest : github.com/gotd/td/bin.BareDecoder *AccountReorderUsernamesRequest : github.com/gotd/td/bin.BareEncoder *AccountReorderUsernamesRequest : github.com/gotd/td/bin.Decoder *AccountReorderUsernamesRequest : github.com/gotd/td/bin.Encoder *AccountReorderUsernamesRequest : github.com/gotd/td/bin.Object *AccountReorderUsernamesRequest : github.com/gotd/td/tdp.Object *AccountReorderUsernamesRequest : fmt.Stringer
AccountReportPeerRequest represents TL type `account.reportPeer#c5ba3d86`. Report a peer for violation of telegram's Terms of Service See https://core.telegram.org/method/account.reportPeer for reference. Comment for report moderation The peer to report The reason why this peer is being reported Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. FillFrom fills AccountReportPeerRequest from given interface. GetMessage returns value of Message field. GetPeer returns value of Peer field. GetReason returns value of Reason field. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*AccountReportPeerRequest) Zero() bool *AccountReportPeerRequest : github.com/gotd/td/bin.BareDecoder *AccountReportPeerRequest : github.com/gotd/td/bin.BareEncoder *AccountReportPeerRequest : github.com/gotd/td/bin.Decoder *AccountReportPeerRequest : github.com/gotd/td/bin.Encoder *AccountReportPeerRequest : github.com/gotd/td/bin.Object *AccountReportPeerRequest : github.com/gotd/td/tdp.Object *AccountReportPeerRequest : fmt.Stringer func (*Client).AccountReportPeer(ctx context.Context, request *AccountReportPeerRequest) (bool, error)
AccountReportProfilePhotoRequest represents TL type `account.reportProfilePhoto#fa8cc6f5`. Report a profile photo of a dialog See https://core.telegram.org/method/account.reportProfilePhoto for reference. Comment for report moderation The dialog Dialog photo ID Report reason Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. FillFrom fills AccountReportProfilePhotoRequest from given interface. GetMessage returns value of Message field. GetPeer returns value of Peer field. GetPhotoID returns value of PhotoID field. GetPhotoIDAsNotEmpty returns mapped value of PhotoID field. GetReason returns value of Reason field. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*AccountReportProfilePhotoRequest) Zero() bool *AccountReportProfilePhotoRequest : github.com/gotd/td/bin.BareDecoder *AccountReportProfilePhotoRequest : github.com/gotd/td/bin.BareEncoder *AccountReportProfilePhotoRequest : github.com/gotd/td/bin.Decoder *AccountReportProfilePhotoRequest : github.com/gotd/td/bin.Encoder *AccountReportProfilePhotoRequest : github.com/gotd/td/bin.Object *AccountReportProfilePhotoRequest : github.com/gotd/td/tdp.Object *AccountReportProfilePhotoRequest : fmt.Stringer func (*Client).AccountReportProfilePhoto(ctx context.Context, request *AccountReportProfilePhotoRequest) (bool, error)
AccountResendPasswordEmailRequest represents TL type `account.resendPasswordEmail#7a7f2a15`. Resend the code to verify an email to use as 2FA recovery method¹. Links: 1. https://core.telegram.org/api/srp See https://core.telegram.org/method/account.resendPasswordEmail for reference. Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*AccountResendPasswordEmailRequest) Zero() bool *AccountResendPasswordEmailRequest : github.com/gotd/td/bin.BareDecoder *AccountResendPasswordEmailRequest : github.com/gotd/td/bin.BareEncoder *AccountResendPasswordEmailRequest : github.com/gotd/td/bin.Decoder *AccountResendPasswordEmailRequest : github.com/gotd/td/bin.Encoder *AccountResendPasswordEmailRequest : github.com/gotd/td/bin.Object *AccountResendPasswordEmailRequest : github.com/gotd/td/tdp.Object *AccountResendPasswordEmailRequest : fmt.Stringer
AccountResetAuthorizationRequest represents TL type `account.resetAuthorization#df77f3bc`. Log out an active authorized session¹ by its hash Links: 1. https://core.telegram.org/api/auth See https://core.telegram.org/method/account.resetAuthorization for reference. Hash field of AccountGetChannelDefaultEmojiStatusesRequest. Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. FillFrom fills AccountResetAuthorizationRequest from given interface. GetHash returns value of Hash field. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*AccountResetAuthorizationRequest) Zero() bool *AccountResetAuthorizationRequest : github.com/gotd/td/bin.BareDecoder *AccountResetAuthorizationRequest : github.com/gotd/td/bin.BareEncoder *AccountResetAuthorizationRequest : github.com/gotd/td/bin.Decoder *AccountResetAuthorizationRequest : github.com/gotd/td/bin.Encoder *AccountResetAuthorizationRequest : github.com/gotd/td/bin.Object *AccountResetAuthorizationRequest : github.com/gotd/td/tdp.Object *AccountResetAuthorizationRequest : fmt.Stringer
AccountResetNotifySettingsRequest represents TL type `account.resetNotifySettings#db7e1747`. Resets all notification settings from users and groups. See https://core.telegram.org/method/account.resetNotifySettings for reference. Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*AccountResetNotifySettingsRequest) Zero() bool *AccountResetNotifySettingsRequest : github.com/gotd/td/bin.BareDecoder *AccountResetNotifySettingsRequest : github.com/gotd/td/bin.BareEncoder *AccountResetNotifySettingsRequest : github.com/gotd/td/bin.Decoder *AccountResetNotifySettingsRequest : github.com/gotd/td/bin.Encoder *AccountResetNotifySettingsRequest : github.com/gotd/td/bin.Object *AccountResetNotifySettingsRequest : github.com/gotd/td/tdp.Object *AccountResetNotifySettingsRequest : fmt.Stringer
AccountResetPasswordFailedWait represents TL type `account.resetPasswordFailedWait#e3779861`. You recently requested a password reset that was canceled, please wait until the specified date before requesting another reset. See https://core.telegram.org/constructor/account.resetPasswordFailedWait for reference. Wait until this date before requesting another reset. Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. FillFrom fills AccountResetPasswordFailedWait from given interface. GetRetryDate returns value of RetryDate field. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*AccountResetPasswordFailedWait) Zero() bool *AccountResetPasswordFailedWait : AccountResetPasswordResultClass *AccountResetPasswordFailedWait : github.com/gotd/td/bin.BareDecoder *AccountResetPasswordFailedWait : github.com/gotd/td/bin.BareEncoder *AccountResetPasswordFailedWait : github.com/gotd/td/bin.Decoder *AccountResetPasswordFailedWait : github.com/gotd/td/bin.Encoder *AccountResetPasswordFailedWait : github.com/gotd/td/bin.Object *AccountResetPasswordFailedWait : github.com/gotd/td/tdp.Object *AccountResetPasswordFailedWait : fmt.Stringer func AccountResetPasswordFailedWaitArray.First() (v AccountResetPasswordFailedWait, ok bool) func AccountResetPasswordFailedWaitArray.Last() (v AccountResetPasswordFailedWait, ok bool) func (*AccountResetPasswordFailedWaitArray).Pop() (v AccountResetPasswordFailedWait, ok bool) func (*AccountResetPasswordFailedWaitArray).PopFirst() (v AccountResetPasswordFailedWait, ok bool)
AccountResetPasswordFailedWaitArray is adapter for slice of AccountResetPasswordFailedWait. First returns first element of slice (if exists). Last returns last element of slice (if exists). Pop returns last element of slice (if exists) and deletes it. PopFirst returns first element of slice (if exists) and deletes it. Retain filters in-place slice of AccountResetPasswordFailedWait. Sort sorts slice of AccountResetPasswordFailedWait. SortStable sorts slice of AccountResetPasswordFailedWait. func AccountResetPasswordFailedWaitArray.Retain(keep func(x AccountResetPasswordFailedWait) bool) AccountResetPasswordFailedWaitArray func AccountResetPasswordFailedWaitArray.Sort(less func(a, b AccountResetPasswordFailedWait) bool) AccountResetPasswordFailedWaitArray func AccountResetPasswordFailedWaitArray.SortStable(less func(a, b AccountResetPasswordFailedWait) bool) AccountResetPasswordFailedWaitArray func AccountResetPasswordResultClassArray.AsAccountResetPasswordFailedWait() (to AccountResetPasswordFailedWaitArray)
AccountResetPasswordOk represents TL type `account.resetPasswordOk#e926d63e`. The 2FA password was reset successfully. See https://core.telegram.org/constructor/account.resetPasswordOk for reference. Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*AccountResetPasswordOk) Zero() bool *AccountResetPasswordOk : AccountResetPasswordResultClass *AccountResetPasswordOk : github.com/gotd/td/bin.BareDecoder *AccountResetPasswordOk : github.com/gotd/td/bin.BareEncoder *AccountResetPasswordOk : github.com/gotd/td/bin.Decoder *AccountResetPasswordOk : github.com/gotd/td/bin.Encoder *AccountResetPasswordOk : github.com/gotd/td/bin.Object *AccountResetPasswordOk : github.com/gotd/td/tdp.Object *AccountResetPasswordOk : fmt.Stringer
AccountResetPasswordRequest represents TL type `account.resetPassword#9308ce1b`. Initiate a 2FA password reset: can only be used if the user is already logged-in, see here for more info »¹ Links: 1. https://core.telegram.org/api/srp#password-reset See https://core.telegram.org/method/account.resetPassword for reference. Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*AccountResetPasswordRequest) Zero() bool *AccountResetPasswordRequest : github.com/gotd/td/bin.BareDecoder *AccountResetPasswordRequest : github.com/gotd/td/bin.BareEncoder *AccountResetPasswordRequest : github.com/gotd/td/bin.Decoder *AccountResetPasswordRequest : github.com/gotd/td/bin.Encoder *AccountResetPasswordRequest : github.com/gotd/td/bin.Object *AccountResetPasswordRequest : github.com/gotd/td/tdp.Object *AccountResetPasswordRequest : fmt.Stringer
AccountResetPasswordRequestedWait represents TL type `account.resetPasswordRequestedWait#e9effc7d`. You successfully requested a password reset, please wait until the specified date before finalizing the reset. See https://core.telegram.org/constructor/account.resetPasswordRequestedWait for reference. Wait until this date before finalizing the reset. Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. FillFrom fills AccountResetPasswordRequestedWait from given interface. GetUntilDate returns value of UntilDate field. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*AccountResetPasswordRequestedWait) Zero() bool *AccountResetPasswordRequestedWait : AccountResetPasswordResultClass *AccountResetPasswordRequestedWait : github.com/gotd/td/bin.BareDecoder *AccountResetPasswordRequestedWait : github.com/gotd/td/bin.BareEncoder *AccountResetPasswordRequestedWait : github.com/gotd/td/bin.Decoder *AccountResetPasswordRequestedWait : github.com/gotd/td/bin.Encoder *AccountResetPasswordRequestedWait : github.com/gotd/td/bin.Object *AccountResetPasswordRequestedWait : github.com/gotd/td/tdp.Object *AccountResetPasswordRequestedWait : fmt.Stringer func AccountResetPasswordRequestedWaitArray.First() (v AccountResetPasswordRequestedWait, ok bool) func AccountResetPasswordRequestedWaitArray.Last() (v AccountResetPasswordRequestedWait, ok bool) func (*AccountResetPasswordRequestedWaitArray).Pop() (v AccountResetPasswordRequestedWait, ok bool) func (*AccountResetPasswordRequestedWaitArray).PopFirst() (v AccountResetPasswordRequestedWait, ok bool)
AccountResetPasswordRequestedWaitArray is adapter for slice of AccountResetPasswordRequestedWait. First returns first element of slice (if exists). Last returns last element of slice (if exists). Pop returns last element of slice (if exists) and deletes it. PopFirst returns first element of slice (if exists) and deletes it. Retain filters in-place slice of AccountResetPasswordRequestedWait. Sort sorts slice of AccountResetPasswordRequestedWait. SortStable sorts slice of AccountResetPasswordRequestedWait. func AccountResetPasswordRequestedWaitArray.Retain(keep func(x AccountResetPasswordRequestedWait) bool) AccountResetPasswordRequestedWaitArray func AccountResetPasswordRequestedWaitArray.Sort(less func(a, b AccountResetPasswordRequestedWait) bool) AccountResetPasswordRequestedWaitArray func AccountResetPasswordRequestedWaitArray.SortStable(less func(a, b AccountResetPasswordRequestedWait) bool) AccountResetPasswordRequestedWaitArray func AccountResetPasswordResultClassArray.AsAccountResetPasswordRequestedWait() (to AccountResetPasswordRequestedWaitArray)
AccountResetPasswordResult boxes the AccountResetPasswordResultClass providing a helper. ResetPasswordResult AccountResetPasswordResultClass Decode implements bin.Decoder for AccountResetPasswordResultBox. Encode implements bin.Encode for AccountResetPasswordResultBox. *AccountResetPasswordResultBox : github.com/gotd/td/bin.Decoder *AccountResetPasswordResultBox : github.com/gotd/td/bin.Encoder *AccountResetPasswordResultBox : github.com/gotd/td/bin.Object
AccountResetPasswordResultClass represents account.ResetPasswordResult generic type. See https://core.telegram.org/type/account.ResetPasswordResult for reference. Example: g, err := tg.DecodeAccountResetPasswordResult(buf) if err != nil { panic(err) } switch v := g.(type) { case *tg.AccountResetPasswordFailedWait: // account.resetPasswordFailedWait#e3779861 case *tg.AccountResetPasswordRequestedWait: // account.resetPasswordRequestedWait#e9effc7d case *tg.AccountResetPasswordOk: // account.resetPasswordOk#e926d63e default: panic(v) } ( AccountResetPasswordResultClass) Decode(b *bin.Buffer) error ( AccountResetPasswordResultClass) DecodeBare(b *bin.Buffer) error ( AccountResetPasswordResultClass) Encode(b *bin.Buffer) error ( AccountResetPasswordResultClass) EncodeBare(b *bin.Buffer) error String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeName returns name of type in TL schema. Zero returns true if current object has a zero value. *AccountResetPasswordFailedWait *AccountResetPasswordOk *AccountResetPasswordRequestedWait AccountResetPasswordResultClass : github.com/gotd/td/bin.BareDecoder AccountResetPasswordResultClass : github.com/gotd/td/bin.BareEncoder AccountResetPasswordResultClass : github.com/gotd/td/bin.Decoder AccountResetPasswordResultClass : github.com/gotd/td/bin.Encoder AccountResetPasswordResultClass : github.com/gotd/td/bin.Object AccountResetPasswordResultClass : fmt.Stringer func DecodeAccountResetPasswordResult(buf *bin.Buffer) (AccountResetPasswordResultClass, error) func AccountResetPasswordResultClassArray.First() (v AccountResetPasswordResultClass, ok bool) func AccountResetPasswordResultClassArray.Last() (v AccountResetPasswordResultClass, ok bool) func (*AccountResetPasswordResultClassArray).Pop() (v AccountResetPasswordResultClass, ok bool) func (*AccountResetPasswordResultClassArray).PopFirst() (v AccountResetPasswordResultClass, ok bool) func (*Client).AccountResetPassword(ctx context.Context) (AccountResetPasswordResultClass, error)
AccountResetPasswordResultClassArray is adapter for slice of AccountResetPasswordResultClass. AsAccountResetPasswordFailedWait returns copy with only AccountResetPasswordFailedWait constructors. AsAccountResetPasswordRequestedWait returns copy with only AccountResetPasswordRequestedWait constructors. First returns first element of slice (if exists). Last returns last element of slice (if exists). Pop returns last element of slice (if exists) and deletes it. PopFirst returns first element of slice (if exists) and deletes it. Retain filters in-place slice of AccountResetPasswordResultClass. Sort sorts slice of AccountResetPasswordResultClass. SortStable sorts slice of AccountResetPasswordResultClass. func AccountResetPasswordResultClassArray.Retain(keep func(x AccountResetPasswordResultClass) bool) AccountResetPasswordResultClassArray func AccountResetPasswordResultClassArray.Sort(less func(a, b AccountResetPasswordResultClass) bool) AccountResetPasswordResultClassArray func AccountResetPasswordResultClassArray.SortStable(less func(a, b AccountResetPasswordResultClass) bool) AccountResetPasswordResultClassArray
AccountResetWallPapersRequest represents TL type `account.resetWallPapers#bb3b9804`. Delete all installed wallpapers¹, reverting to the default wallpaper set. Links: 1. https://core.telegram.org/api/wallpapers See https://core.telegram.org/method/account.resetWallPapers for reference. Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*AccountResetWallPapersRequest) Zero() bool *AccountResetWallPapersRequest : github.com/gotd/td/bin.BareDecoder *AccountResetWallPapersRequest : github.com/gotd/td/bin.BareEncoder *AccountResetWallPapersRequest : github.com/gotd/td/bin.Decoder *AccountResetWallPapersRequest : github.com/gotd/td/bin.Encoder *AccountResetWallPapersRequest : github.com/gotd/td/bin.Object *AccountResetWallPapersRequest : github.com/gotd/td/tdp.Object *AccountResetWallPapersRequest : fmt.Stringer
AccountResetWebAuthorizationRequest represents TL type `account.resetWebAuthorization#2d01b9ef`. Log out an active web telegram login¹ session Links: 1. https://core.telegram.org/widgets/login See https://core.telegram.org/method/account.resetWebAuthorization for reference. Hash field of AccountGetChannelDefaultEmojiStatusesRequest. Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. FillFrom fills AccountResetWebAuthorizationRequest from given interface. GetHash returns value of Hash field. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*AccountResetWebAuthorizationRequest) Zero() bool *AccountResetWebAuthorizationRequest : github.com/gotd/td/bin.BareDecoder *AccountResetWebAuthorizationRequest : github.com/gotd/td/bin.BareEncoder *AccountResetWebAuthorizationRequest : github.com/gotd/td/bin.Decoder *AccountResetWebAuthorizationRequest : github.com/gotd/td/bin.Encoder *AccountResetWebAuthorizationRequest : github.com/gotd/td/bin.Object *AccountResetWebAuthorizationRequest : github.com/gotd/td/tdp.Object *AccountResetWebAuthorizationRequest : fmt.Stringer
AccountResetWebAuthorizationsRequest represents TL type `account.resetWebAuthorizations#682d2594`. Reset all active web telegram login¹ sessions Links: 1. https://core.telegram.org/widgets/login See https://core.telegram.org/method/account.resetWebAuthorizations for reference. Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*AccountResetWebAuthorizationsRequest) Zero() bool *AccountResetWebAuthorizationsRequest : github.com/gotd/td/bin.BareDecoder *AccountResetWebAuthorizationsRequest : github.com/gotd/td/bin.BareEncoder *AccountResetWebAuthorizationsRequest : github.com/gotd/td/bin.Decoder *AccountResetWebAuthorizationsRequest : github.com/gotd/td/bin.Encoder *AccountResetWebAuthorizationsRequest : github.com/gotd/td/bin.Object *AccountResetWebAuthorizationsRequest : github.com/gotd/td/tdp.Object *AccountResetWebAuthorizationsRequest : fmt.Stringer
AccountSaveAutoDownloadSettingsRequest represents TL type `account.saveAutoDownloadSettings#76f36233`. Change media autodownload settings See https://core.telegram.org/method/account.saveAutoDownloadSettings for reference. Flags, see TL conditional fields¹ Links: 1) https://core.telegram.org/mtproto/TL-combinators#conditional-fields Whether to save media in the high data usage preset Whether to save media in the low data usage preset Media autodownload settings Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. FillFrom fills AccountSaveAutoDownloadSettingsRequest from given interface. GetHigh returns value of High conditional field. GetLow returns value of Low conditional field. GetSettings returns value of Settings field. SetFlags sets flags for non-zero fields. SetHigh sets value of High conditional field. SetLow sets value of Low conditional field. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*AccountSaveAutoDownloadSettingsRequest) Zero() bool *AccountSaveAutoDownloadSettingsRequest : github.com/gotd/td/bin.BareDecoder *AccountSaveAutoDownloadSettingsRequest : github.com/gotd/td/bin.BareEncoder *AccountSaveAutoDownloadSettingsRequest : github.com/gotd/td/bin.Decoder *AccountSaveAutoDownloadSettingsRequest : github.com/gotd/td/bin.Encoder *AccountSaveAutoDownloadSettingsRequest : github.com/gotd/td/bin.Object *AccountSaveAutoDownloadSettingsRequest : github.com/gotd/td/tdp.Object *AccountSaveAutoDownloadSettingsRequest : fmt.Stringer func (*Client).AccountSaveAutoDownloadSettings(ctx context.Context, request *AccountSaveAutoDownloadSettingsRequest) (bool, error)
AccountSaveAutoSaveSettingsRequest represents TL type `account.saveAutoSaveSettings#d69b8361`. Modify autosave settings See https://core.telegram.org/method/account.saveAutoSaveSettings for reference. Whether the new settings should affect all channels¹ Links: 1) https://core.telegram.org/api/channel Whether the new settings should affect all groups Flags, see TL conditional fields¹ Links: 1) https://core.telegram.org/mtproto/TL-combinators#conditional-fields Whether the new settings should affect a specific peer Use SetPeer and GetPeer helpers. The new autosave settings Whether the new settings should affect all private chats Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. FillFrom fills AccountSaveAutoSaveSettingsRequest from given interface. GetBroadcasts returns value of Broadcasts conditional field. GetChats returns value of Chats conditional field. GetPeer returns value of Peer conditional field and boolean which is true if field was set. GetSettings returns value of Settings field. GetUsers returns value of Users conditional field. SetBroadcasts sets value of Broadcasts conditional field. SetChats sets value of Chats conditional field. SetFlags sets flags for non-zero fields. SetPeer sets value of Peer conditional field. SetUsers sets value of Users conditional field. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*AccountSaveAutoSaveSettingsRequest) Zero() bool *AccountSaveAutoSaveSettingsRequest : github.com/gotd/td/bin.BareDecoder *AccountSaveAutoSaveSettingsRequest : github.com/gotd/td/bin.BareEncoder *AccountSaveAutoSaveSettingsRequest : github.com/gotd/td/bin.Decoder *AccountSaveAutoSaveSettingsRequest : github.com/gotd/td/bin.Encoder *AccountSaveAutoSaveSettingsRequest : github.com/gotd/td/bin.Object *AccountSaveAutoSaveSettingsRequest : github.com/gotd/td/tdp.Object *AccountSaveAutoSaveSettingsRequest : fmt.Stringer func (*Client).AccountSaveAutoSaveSettings(ctx context.Context, request *AccountSaveAutoSaveSettingsRequest) (bool, error)
AccountSavedRingtone represents TL type `account.savedRingtone#b7263f6d`. The notification sound was already in MP3 format and was saved without any modification See https://core.telegram.org/constructor/account.savedRingtone for reference. Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*AccountSavedRingtone) Zero() bool *AccountSavedRingtone : AccountSavedRingtoneClass *AccountSavedRingtone : github.com/gotd/td/bin.BareDecoder *AccountSavedRingtone : github.com/gotd/td/bin.BareEncoder *AccountSavedRingtone : github.com/gotd/td/bin.Decoder *AccountSavedRingtone : github.com/gotd/td/bin.Encoder *AccountSavedRingtone : github.com/gotd/td/bin.Object *AccountSavedRingtone : github.com/gotd/td/tdp.Object *AccountSavedRingtone : fmt.Stringer
AccountSavedRingtone boxes the AccountSavedRingtoneClass providing a helper. SavedRingtone AccountSavedRingtoneClass Decode implements bin.Decoder for AccountSavedRingtoneBox. Encode implements bin.Encode for AccountSavedRingtoneBox. *AccountSavedRingtoneBox : github.com/gotd/td/bin.Decoder *AccountSavedRingtoneBox : github.com/gotd/td/bin.Encoder *AccountSavedRingtoneBox : github.com/gotd/td/bin.Object
AccountSavedRingtoneClass represents account.SavedRingtone generic type. See https://core.telegram.org/type/account.SavedRingtone for reference. Example: g, err := tg.DecodeAccountSavedRingtone(buf) if err != nil { panic(err) } switch v := g.(type) { case *tg.AccountSavedRingtone: // account.savedRingtone#b7263f6d case *tg.AccountSavedRingtoneConverted: // account.savedRingtoneConverted#1f307eb7 default: panic(v) } ( AccountSavedRingtoneClass) Decode(b *bin.Buffer) error ( AccountSavedRingtoneClass) DecodeBare(b *bin.Buffer) error ( AccountSavedRingtoneClass) Encode(b *bin.Buffer) error ( AccountSavedRingtoneClass) EncodeBare(b *bin.Buffer) error String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeName returns name of type in TL schema. Zero returns true if current object has a zero value. *AccountSavedRingtone *AccountSavedRingtoneConverted AccountSavedRingtoneClass : github.com/gotd/td/bin.BareDecoder AccountSavedRingtoneClass : github.com/gotd/td/bin.BareEncoder AccountSavedRingtoneClass : github.com/gotd/td/bin.Decoder AccountSavedRingtoneClass : github.com/gotd/td/bin.Encoder AccountSavedRingtoneClass : github.com/gotd/td/bin.Object AccountSavedRingtoneClass : fmt.Stringer func DecodeAccountSavedRingtone(buf *bin.Buffer) (AccountSavedRingtoneClass, error) func AccountSavedRingtoneClassArray.First() (v AccountSavedRingtoneClass, ok bool) func AccountSavedRingtoneClassArray.Last() (v AccountSavedRingtoneClass, ok bool) func (*AccountSavedRingtoneClassArray).Pop() (v AccountSavedRingtoneClass, ok bool) func (*AccountSavedRingtoneClassArray).PopFirst() (v AccountSavedRingtoneClass, ok bool) func (*Client).AccountSaveRingtone(ctx context.Context, request *AccountSaveRingtoneRequest) (AccountSavedRingtoneClass, error)
AccountSavedRingtoneClassArray is adapter for slice of AccountSavedRingtoneClass. AsAccountSavedRingtoneConverted returns copy with only AccountSavedRingtoneConverted constructors. First returns first element of slice (if exists). Last returns last element of slice (if exists). Pop returns last element of slice (if exists) and deletes it. PopFirst returns first element of slice (if exists) and deletes it. Retain filters in-place slice of AccountSavedRingtoneClass. Sort sorts slice of AccountSavedRingtoneClass. SortStable sorts slice of AccountSavedRingtoneClass. func AccountSavedRingtoneClassArray.Retain(keep func(x AccountSavedRingtoneClass) bool) AccountSavedRingtoneClassArray func AccountSavedRingtoneClassArray.Sort(less func(a, b AccountSavedRingtoneClass) bool) AccountSavedRingtoneClassArray func AccountSavedRingtoneClassArray.SortStable(less func(a, b AccountSavedRingtoneClass) bool) AccountSavedRingtoneClassArray
AccountSavedRingtoneConverted represents TL type `account.savedRingtoneConverted#1f307eb7`. The notification sound was not in MP3 format and was successfully converted and saved, use the returned Document¹ to refer to the notification sound from now on Links: 1. https://core.telegram.org/type/Document See https://core.telegram.org/constructor/account.savedRingtoneConverted for reference. The converted notification sound Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. FillFrom fills AccountSavedRingtoneConverted from given interface. GetDocument returns value of Document field. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*AccountSavedRingtoneConverted) Zero() bool *AccountSavedRingtoneConverted : AccountSavedRingtoneClass *AccountSavedRingtoneConverted : github.com/gotd/td/bin.BareDecoder *AccountSavedRingtoneConverted : github.com/gotd/td/bin.BareEncoder *AccountSavedRingtoneConverted : github.com/gotd/td/bin.Decoder *AccountSavedRingtoneConverted : github.com/gotd/td/bin.Encoder *AccountSavedRingtoneConverted : github.com/gotd/td/bin.Object *AccountSavedRingtoneConverted : github.com/gotd/td/tdp.Object *AccountSavedRingtoneConverted : fmt.Stringer func AccountSavedRingtoneConvertedArray.First() (v AccountSavedRingtoneConverted, ok bool) func AccountSavedRingtoneConvertedArray.Last() (v AccountSavedRingtoneConverted, ok bool) func (*AccountSavedRingtoneConvertedArray).Pop() (v AccountSavedRingtoneConverted, ok bool) func (*AccountSavedRingtoneConvertedArray).PopFirst() (v AccountSavedRingtoneConverted, ok bool)
AccountSavedRingtoneConvertedArray is adapter for slice of AccountSavedRingtoneConverted. First returns first element of slice (if exists). Last returns last element of slice (if exists). Pop returns last element of slice (if exists) and deletes it. PopFirst returns first element of slice (if exists) and deletes it. Retain filters in-place slice of AccountSavedRingtoneConverted. Sort sorts slice of AccountSavedRingtoneConverted. SortStable sorts slice of AccountSavedRingtoneConverted. func AccountSavedRingtoneClassArray.AsAccountSavedRingtoneConverted() (to AccountSavedRingtoneConvertedArray) func AccountSavedRingtoneConvertedArray.Retain(keep func(x AccountSavedRingtoneConverted) bool) AccountSavedRingtoneConvertedArray func AccountSavedRingtoneConvertedArray.Sort(less func(a, b AccountSavedRingtoneConverted) bool) AccountSavedRingtoneConvertedArray func AccountSavedRingtoneConvertedArray.SortStable(less func(a, b AccountSavedRingtoneConverted) bool) AccountSavedRingtoneConvertedArray
AccountSavedRingtones represents TL type `account.savedRingtones#c1e92cc5`. A list of saved notification sounds See https://core.telegram.org/constructor/account.savedRingtones for reference. Hash for pagination, for more info click here¹ Links: 1) https://core.telegram.org/api/offsets#hash-generation Saved notification sounds AsModified tries to map AccountSavedRingtones to AccountSavedRingtones. Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. FillFrom fills AccountSavedRingtones from given interface. GetHash returns value of Hash field. GetRingtones returns value of Ringtones field. MapRingtones returns field Ringtones wrapped in DocumentClassArray helper. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*AccountSavedRingtones) Zero() bool *AccountSavedRingtones : AccountSavedRingtonesClass *AccountSavedRingtones : github.com/gotd/td/bin.BareDecoder *AccountSavedRingtones : github.com/gotd/td/bin.BareEncoder *AccountSavedRingtones : github.com/gotd/td/bin.Decoder *AccountSavedRingtones : github.com/gotd/td/bin.Encoder *AccountSavedRingtones : github.com/gotd/td/bin.Object *AccountSavedRingtones : github.com/gotd/td/tdp.Object *AccountSavedRingtones : fmt.Stringer func (*AccountSavedRingtones).AsModified() (*AccountSavedRingtones, bool) func AccountSavedRingtonesArray.First() (v AccountSavedRingtones, ok bool) func AccountSavedRingtonesArray.Last() (v AccountSavedRingtones, ok bool) func (*AccountSavedRingtonesArray).Pop() (v AccountSavedRingtones, ok bool) func (*AccountSavedRingtonesArray).PopFirst() (v AccountSavedRingtones, ok bool) func AccountSavedRingtonesClass.AsModified() (*AccountSavedRingtones, bool) func AccountSavedRingtonesClassArray.AppendOnlyModified(to []*AccountSavedRingtones) []*AccountSavedRingtones func AccountSavedRingtonesClassArray.AsModified() (to []*AccountSavedRingtones) func AccountSavedRingtonesClassArray.FirstAsModified() (v *AccountSavedRingtones, ok bool) func AccountSavedRingtonesClassArray.LastAsModified() (v *AccountSavedRingtones, ok bool) func (*AccountSavedRingtonesClassArray).PopAsModified() (v *AccountSavedRingtones, ok bool) func (*AccountSavedRingtonesClassArray).PopFirstAsModified() (v *AccountSavedRingtones, ok bool) func (*AccountSavedRingtonesNotModified).AsModified() (*AccountSavedRingtones, bool) func AccountSavedRingtonesClassArray.AppendOnlyModified(to []*AccountSavedRingtones) []*AccountSavedRingtones
AccountSavedRingtonesArray is adapter for slice of AccountSavedRingtones. First returns first element of slice (if exists). Last returns last element of slice (if exists). Pop returns last element of slice (if exists) and deletes it. PopFirst returns first element of slice (if exists) and deletes it. Retain filters in-place slice of AccountSavedRingtones. Sort sorts slice of AccountSavedRingtones. SortStable sorts slice of AccountSavedRingtones. func AccountSavedRingtonesArray.Retain(keep func(x AccountSavedRingtones) bool) AccountSavedRingtonesArray func AccountSavedRingtonesArray.Sort(less func(a, b AccountSavedRingtones) bool) AccountSavedRingtonesArray func AccountSavedRingtonesArray.SortStable(less func(a, b AccountSavedRingtones) bool) AccountSavedRingtonesArray func AccountSavedRingtonesClassArray.AsAccountSavedRingtones() (to AccountSavedRingtonesArray)
AccountSavedRingtones boxes the AccountSavedRingtonesClass providing a helper. SavedRingtones AccountSavedRingtonesClass Decode implements bin.Decoder for AccountSavedRingtonesBox. Encode implements bin.Encode for AccountSavedRingtonesBox. *AccountSavedRingtonesBox : github.com/gotd/td/bin.Decoder *AccountSavedRingtonesBox : github.com/gotd/td/bin.Encoder *AccountSavedRingtonesBox : github.com/gotd/td/bin.Object
AccountSavedRingtonesClass represents account.SavedRingtones generic type. See https://core.telegram.org/type/account.SavedRingtones for reference. Example: g, err := tg.DecodeAccountSavedRingtones(buf) if err != nil { panic(err) } switch v := g.(type) { case *tg.AccountSavedRingtonesNotModified: // account.savedRingtonesNotModified#fbf6e8b1 case *tg.AccountSavedRingtones: // account.savedRingtones#c1e92cc5 default: panic(v) } AsModified tries to map AccountSavedRingtonesClass to AccountSavedRingtones. ( AccountSavedRingtonesClass) Decode(b *bin.Buffer) error ( AccountSavedRingtonesClass) DecodeBare(b *bin.Buffer) error ( AccountSavedRingtonesClass) Encode(b *bin.Buffer) error ( AccountSavedRingtonesClass) EncodeBare(b *bin.Buffer) error String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeName returns name of type in TL schema. Zero returns true if current object has a zero value. *AccountSavedRingtones *AccountSavedRingtonesNotModified AccountSavedRingtonesClass : github.com/gotd/td/bin.BareDecoder AccountSavedRingtonesClass : github.com/gotd/td/bin.BareEncoder AccountSavedRingtonesClass : github.com/gotd/td/bin.Decoder AccountSavedRingtonesClass : github.com/gotd/td/bin.Encoder AccountSavedRingtonesClass : github.com/gotd/td/bin.Object AccountSavedRingtonesClass : fmt.Stringer func DecodeAccountSavedRingtones(buf *bin.Buffer) (AccountSavedRingtonesClass, error) func AccountSavedRingtonesClassArray.First() (v AccountSavedRingtonesClass, ok bool) func AccountSavedRingtonesClassArray.Last() (v AccountSavedRingtonesClass, ok bool) func (*AccountSavedRingtonesClassArray).Pop() (v AccountSavedRingtonesClass, ok bool) func (*AccountSavedRingtonesClassArray).PopFirst() (v AccountSavedRingtonesClass, ok bool) func (*Client).AccountGetSavedRingtones(ctx context.Context, hash int64) (AccountSavedRingtonesClass, error)
AccountSavedRingtonesClassArray is adapter for slice of AccountSavedRingtonesClass. AppendOnlyModified appends only Modified constructors to given slice. AsAccountSavedRingtones returns copy with only AccountSavedRingtones constructors. AsModified returns copy with only Modified constructors. First returns first element of slice (if exists). FirstAsModified returns first element of slice (if exists). Last returns last element of slice (if exists). LastAsModified returns last element of slice (if exists). Pop returns last element of slice (if exists) and deletes it. PopAsModified returns element of slice (if exists). PopFirst returns first element of slice (if exists) and deletes it. PopFirstAsModified returns element of slice (if exists). Retain filters in-place slice of AccountSavedRingtonesClass. Sort sorts slice of AccountSavedRingtonesClass. SortStable sorts slice of AccountSavedRingtonesClass. func AccountSavedRingtonesClassArray.Retain(keep func(x AccountSavedRingtonesClass) bool) AccountSavedRingtonesClassArray func AccountSavedRingtonesClassArray.Sort(less func(a, b AccountSavedRingtonesClass) bool) AccountSavedRingtonesClassArray func AccountSavedRingtonesClassArray.SortStable(less func(a, b AccountSavedRingtonesClass) bool) AccountSavedRingtonesClassArray
AccountSavedRingtonesNotModified represents TL type `account.savedRingtonesNotModified#fbf6e8b1`. The notification sound list hasn't changed. See https://core.telegram.org/constructor/account.savedRingtonesNotModified for reference. AsModified tries to map AccountSavedRingtonesNotModified to AccountSavedRingtones. Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*AccountSavedRingtonesNotModified) Zero() bool *AccountSavedRingtonesNotModified : AccountSavedRingtonesClass *AccountSavedRingtonesNotModified : github.com/gotd/td/bin.BareDecoder *AccountSavedRingtonesNotModified : github.com/gotd/td/bin.BareEncoder *AccountSavedRingtonesNotModified : github.com/gotd/td/bin.Decoder *AccountSavedRingtonesNotModified : github.com/gotd/td/bin.Encoder *AccountSavedRingtonesNotModified : github.com/gotd/td/bin.Object *AccountSavedRingtonesNotModified : github.com/gotd/td/tdp.Object *AccountSavedRingtonesNotModified : fmt.Stringer
AccountSaveRingtoneRequest represents TL type `account.saveRingtone#3dea5b03`. Save or remove saved notification sound. If the notification sound is already in MP3 format, account.savedRingtone¹ will be returned. Otherwise, it will be automatically converted and a account.savedRingtoneConverted² will be returned, containing a new document³ object that should be used to refer to the ringtone from now on (ie when deleting it using the unsave parameter, or when downloading it). Links: 1. https://core.telegram.org/constructor/account.savedRingtone 2. https://core.telegram.org/constructor/account.savedRingtoneConverted 3. https://core.telegram.org/constructor/document See https://core.telegram.org/method/account.saveRingtone for reference. Notification sound uploaded using account.uploadRingtone¹ Links: 1) https://core.telegram.org/method/account.uploadRingtone Whether to add or delete the notification sound Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. FillFrom fills AccountSaveRingtoneRequest from given interface. GetID returns value of ID field. GetIDAsNotEmpty returns mapped value of ID field. GetUnsave returns value of Unsave field. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*AccountSaveRingtoneRequest) Zero() bool *AccountSaveRingtoneRequest : github.com/gotd/td/bin.BareDecoder *AccountSaveRingtoneRequest : github.com/gotd/td/bin.BareEncoder *AccountSaveRingtoneRequest : github.com/gotd/td/bin.Decoder *AccountSaveRingtoneRequest : github.com/gotd/td/bin.Encoder *AccountSaveRingtoneRequest : github.com/gotd/td/bin.Object *AccountSaveRingtoneRequest : github.com/gotd/td/tdp.Object *AccountSaveRingtoneRequest : fmt.Stringer func (*Client).AccountSaveRingtone(ctx context.Context, request *AccountSaveRingtoneRequest) (AccountSavedRingtoneClass, error)
AccountSaveSecureValueRequest represents TL type `account.saveSecureValue#899fe31d`. Securely save Telegram Passport¹ document, for more info see the passport docs »² Links: 1. https://core.telegram.org/passport 2. https://core.telegram.org/passport/encryption#encryption See https://core.telegram.org/method/account.saveSecureValue for reference. Passport secret hash, for more info see the passport docs »¹ Links: 1) https://core.telegram.org/passport/encryption#encryption Secure value, for more info see the passport docs »¹ Links: 1) https://core.telegram.org/passport/encryption#encryption Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. FillFrom fills AccountSaveSecureValueRequest from given interface. GetSecureSecretID returns value of SecureSecretID field. GetValue returns value of Value field. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*AccountSaveSecureValueRequest) Zero() bool *AccountSaveSecureValueRequest : github.com/gotd/td/bin.BareDecoder *AccountSaveSecureValueRequest : github.com/gotd/td/bin.BareEncoder *AccountSaveSecureValueRequest : github.com/gotd/td/bin.Decoder *AccountSaveSecureValueRequest : github.com/gotd/td/bin.Encoder *AccountSaveSecureValueRequest : github.com/gotd/td/bin.Object *AccountSaveSecureValueRequest : github.com/gotd/td/tdp.Object *AccountSaveSecureValueRequest : fmt.Stringer func (*Client).AccountSaveSecureValue(ctx context.Context, request *AccountSaveSecureValueRequest) (*SecureValue, error)
AccountSaveThemeRequest represents TL type `account.saveTheme#f257106c`. Save a theme See https://core.telegram.org/method/account.saveTheme for reference. Theme to save Unsave Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. FillFrom fills AccountSaveThemeRequest from given interface. GetTheme returns value of Theme field. GetUnsave returns value of Unsave field. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*AccountSaveThemeRequest) Zero() bool *AccountSaveThemeRequest : github.com/gotd/td/bin.BareDecoder *AccountSaveThemeRequest : github.com/gotd/td/bin.BareEncoder *AccountSaveThemeRequest : github.com/gotd/td/bin.Decoder *AccountSaveThemeRequest : github.com/gotd/td/bin.Encoder *AccountSaveThemeRequest : github.com/gotd/td/bin.Object *AccountSaveThemeRequest : github.com/gotd/td/tdp.Object *AccountSaveThemeRequest : fmt.Stringer func (*Client).AccountSaveTheme(ctx context.Context, request *AccountSaveThemeRequest) (bool, error)
AccountSaveWallPaperRequest represents TL type `account.saveWallPaper#6c5a5b37`. Install/uninstall wallpaper¹ Links: 1. https://core.telegram.org/api/wallpapers See https://core.telegram.org/method/account.saveWallPaper for reference. Wallpaper settings Uninstall wallpaper? Wallpaper¹ to install or uninstall Links: 1) https://core.telegram.org/api/wallpapers Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. FillFrom fills AccountSaveWallPaperRequest from given interface. GetSettings returns value of Settings field. GetUnsave returns value of Unsave field. GetWallpaper returns value of Wallpaper field. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*AccountSaveWallPaperRequest) Zero() bool *AccountSaveWallPaperRequest : github.com/gotd/td/bin.BareDecoder *AccountSaveWallPaperRequest : github.com/gotd/td/bin.BareEncoder *AccountSaveWallPaperRequest : github.com/gotd/td/bin.Decoder *AccountSaveWallPaperRequest : github.com/gotd/td/bin.Encoder *AccountSaveWallPaperRequest : github.com/gotd/td/bin.Object *AccountSaveWallPaperRequest : github.com/gotd/td/tdp.Object *AccountSaveWallPaperRequest : fmt.Stringer func (*Client).AccountSaveWallPaper(ctx context.Context, request *AccountSaveWallPaperRequest) (bool, error)
AccountSendChangePhoneCodeRequest represents TL type `account.sendChangePhoneCode#82574ae5`. Verify a new phone number to associate to the current account See https://core.telegram.org/method/account.sendChangePhoneCode for reference. New phone number Phone code settings Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. FillFrom fills AccountSendChangePhoneCodeRequest from given interface. GetPhoneNumber returns value of PhoneNumber field. GetSettings returns value of Settings field. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*AccountSendChangePhoneCodeRequest) Zero() bool *AccountSendChangePhoneCodeRequest : github.com/gotd/td/bin.BareDecoder *AccountSendChangePhoneCodeRequest : github.com/gotd/td/bin.BareEncoder *AccountSendChangePhoneCodeRequest : github.com/gotd/td/bin.Decoder *AccountSendChangePhoneCodeRequest : github.com/gotd/td/bin.Encoder *AccountSendChangePhoneCodeRequest : github.com/gotd/td/bin.Object *AccountSendChangePhoneCodeRequest : github.com/gotd/td/tdp.Object *AccountSendChangePhoneCodeRequest : fmt.Stringer func (*Client).AccountSendChangePhoneCode(ctx context.Context, request *AccountSendChangePhoneCodeRequest) (AuthSentCodeClass, error)
AccountSendConfirmPhoneCodeRequest represents TL type `account.sendConfirmPhoneCode#1b3faa88`. Send confirmation code to cancel account deletion, for more info click here »¹ Links: 1. https://core.telegram.org/api/account-deletion See https://core.telegram.org/method/account.sendConfirmPhoneCode for reference. The hash from the service notification, for more info click here »¹ Links: 1) https://core.telegram.org/api/account-deletion Phone code settings Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. FillFrom fills AccountSendConfirmPhoneCodeRequest from given interface. GetHash returns value of Hash field. GetSettings returns value of Settings field. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*AccountSendConfirmPhoneCodeRequest) Zero() bool *AccountSendConfirmPhoneCodeRequest : github.com/gotd/td/bin.BareDecoder *AccountSendConfirmPhoneCodeRequest : github.com/gotd/td/bin.BareEncoder *AccountSendConfirmPhoneCodeRequest : github.com/gotd/td/bin.Decoder *AccountSendConfirmPhoneCodeRequest : github.com/gotd/td/bin.Encoder *AccountSendConfirmPhoneCodeRequest : github.com/gotd/td/bin.Object *AccountSendConfirmPhoneCodeRequest : github.com/gotd/td/tdp.Object *AccountSendConfirmPhoneCodeRequest : fmt.Stringer func (*Client).AccountSendConfirmPhoneCode(ctx context.Context, request *AccountSendConfirmPhoneCodeRequest) (AuthSentCodeClass, error)
AccountSendVerifyEmailCodeRequest represents TL type `account.sendVerifyEmailCode#98e037bb`. Send an email verification code. See https://core.telegram.org/method/account.sendVerifyEmailCode for reference. The email where to send the code. Verification purpose. Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. FillFrom fills AccountSendVerifyEmailCodeRequest from given interface. GetEmail returns value of Email field. GetPurpose returns value of Purpose field. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*AccountSendVerifyEmailCodeRequest) Zero() bool *AccountSendVerifyEmailCodeRequest : github.com/gotd/td/bin.BareDecoder *AccountSendVerifyEmailCodeRequest : github.com/gotd/td/bin.BareEncoder *AccountSendVerifyEmailCodeRequest : github.com/gotd/td/bin.Decoder *AccountSendVerifyEmailCodeRequest : github.com/gotd/td/bin.Encoder *AccountSendVerifyEmailCodeRequest : github.com/gotd/td/bin.Object *AccountSendVerifyEmailCodeRequest : github.com/gotd/td/tdp.Object *AccountSendVerifyEmailCodeRequest : fmt.Stringer func (*Client).AccountSendVerifyEmailCode(ctx context.Context, request *AccountSendVerifyEmailCodeRequest) (*AccountSentEmailCode, error)
AccountSendVerifyPhoneCodeRequest represents TL type `account.sendVerifyPhoneCode#a5a356f9`. Send the verification phone code for telegram passport¹. Links: 1. https://core.telegram.org/passport See https://core.telegram.org/method/account.sendVerifyPhoneCode for reference. New phone number Phone code settings Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. FillFrom fills AccountSendVerifyPhoneCodeRequest from given interface. GetPhoneNumber returns value of PhoneNumber field. GetSettings returns value of Settings field. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*AccountSendVerifyPhoneCodeRequest) Zero() bool *AccountSendVerifyPhoneCodeRequest : github.com/gotd/td/bin.BareDecoder *AccountSendVerifyPhoneCodeRequest : github.com/gotd/td/bin.BareEncoder *AccountSendVerifyPhoneCodeRequest : github.com/gotd/td/bin.Decoder *AccountSendVerifyPhoneCodeRequest : github.com/gotd/td/bin.Encoder *AccountSendVerifyPhoneCodeRequest : github.com/gotd/td/bin.Object *AccountSendVerifyPhoneCodeRequest : github.com/gotd/td/tdp.Object *AccountSendVerifyPhoneCodeRequest : fmt.Stringer func (*Client).AccountSendVerifyPhoneCode(ctx context.Context, request *AccountSendVerifyPhoneCodeRequest) (AuthSentCodeClass, error)
AccountSentEmailCode represents TL type `account.sentEmailCode#811f854f`. The sent email code See https://core.telegram.org/constructor/account.sentEmailCode for reference. The email (to which the code was sent) must match this pattern¹ Links: 1) https://core.telegram.org/api/pattern The length of the verification code Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. FillFrom fills AccountSentEmailCode from given interface. GetEmailPattern returns value of EmailPattern field. GetLength returns value of Length field. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*AccountSentEmailCode) Zero() bool *AccountSentEmailCode : github.com/gotd/td/bin.BareDecoder *AccountSentEmailCode : github.com/gotd/td/bin.BareEncoder *AccountSentEmailCode : github.com/gotd/td/bin.Decoder *AccountSentEmailCode : github.com/gotd/td/bin.Encoder *AccountSentEmailCode : github.com/gotd/td/bin.Object *AccountSentEmailCode : github.com/gotd/td/tdp.Object *AccountSentEmailCode : fmt.Stringer func (*Client).AccountSendVerifyEmailCode(ctx context.Context, request *AccountSendVerifyEmailCodeRequest) (*AccountSentEmailCode, error)
AccountSetAccountTTLRequest represents TL type `account.setAccountTTL#2442485e`. Set account self-destruction period See https://core.telegram.org/method/account.setAccountTTL for reference. Time to live in days Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. FillFrom fills AccountSetAccountTTLRequest from given interface. GetTTL returns value of TTL field. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*AccountSetAccountTTLRequest) Zero() bool *AccountSetAccountTTLRequest : github.com/gotd/td/bin.BareDecoder *AccountSetAccountTTLRequest : github.com/gotd/td/bin.BareEncoder *AccountSetAccountTTLRequest : github.com/gotd/td/bin.Decoder *AccountSetAccountTTLRequest : github.com/gotd/td/bin.Encoder *AccountSetAccountTTLRequest : github.com/gotd/td/bin.Object *AccountSetAccountTTLRequest : github.com/gotd/td/tdp.Object *AccountSetAccountTTLRequest : fmt.Stringer
AccountSetAuthorizationTTLRequest represents TL type `account.setAuthorizationTTL#bf899aa0`. Set time-to-live of current session See https://core.telegram.org/method/account.setAuthorizationTTL for reference. Time-to-live of current session in days Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. FillFrom fills AccountSetAuthorizationTTLRequest from given interface. GetAuthorizationTTLDays returns value of AuthorizationTTLDays field. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*AccountSetAuthorizationTTLRequest) Zero() bool *AccountSetAuthorizationTTLRequest : github.com/gotd/td/bin.BareDecoder *AccountSetAuthorizationTTLRequest : github.com/gotd/td/bin.BareEncoder *AccountSetAuthorizationTTLRequest : github.com/gotd/td/bin.Decoder *AccountSetAuthorizationTTLRequest : github.com/gotd/td/bin.Encoder *AccountSetAuthorizationTTLRequest : github.com/gotd/td/bin.Object *AccountSetAuthorizationTTLRequest : github.com/gotd/td/tdp.Object *AccountSetAuthorizationTTLRequest : fmt.Stringer
AccountSetContactSignUpNotificationRequest represents TL type `account.setContactSignUpNotification#cff43f61`. Toggle contact sign up notifications See https://core.telegram.org/method/account.setContactSignUpNotification for reference. Whether to disable contact sign up notifications Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. FillFrom fills AccountSetContactSignUpNotificationRequest from given interface. GetSilent returns value of Silent field. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*AccountSetContactSignUpNotificationRequest) Zero() bool *AccountSetContactSignUpNotificationRequest : github.com/gotd/td/bin.BareDecoder *AccountSetContactSignUpNotificationRequest : github.com/gotd/td/bin.BareEncoder *AccountSetContactSignUpNotificationRequest : github.com/gotd/td/bin.Decoder *AccountSetContactSignUpNotificationRequest : github.com/gotd/td/bin.Encoder *AccountSetContactSignUpNotificationRequest : github.com/gotd/td/bin.Object *AccountSetContactSignUpNotificationRequest : github.com/gotd/td/tdp.Object *AccountSetContactSignUpNotificationRequest : fmt.Stringer
AccountSetContentSettingsRequest represents TL type `account.setContentSettings#b574b16b`. Set sensitive content settings (for viewing or hiding NSFW content) See https://core.telegram.org/method/account.setContentSettings for reference. Flags, see TL conditional fields¹ Links: 1) https://core.telegram.org/mtproto/TL-combinators#conditional-fields Enable NSFW content Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. FillFrom fills AccountSetContentSettingsRequest from given interface. GetSensitiveEnabled returns value of SensitiveEnabled conditional field. SetFlags sets flags for non-zero fields. SetSensitiveEnabled sets value of SensitiveEnabled conditional field. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*AccountSetContentSettingsRequest) Zero() bool *AccountSetContentSettingsRequest : github.com/gotd/td/bin.BareDecoder *AccountSetContentSettingsRequest : github.com/gotd/td/bin.BareEncoder *AccountSetContentSettingsRequest : github.com/gotd/td/bin.Decoder *AccountSetContentSettingsRequest : github.com/gotd/td/bin.Encoder *AccountSetContentSettingsRequest : github.com/gotd/td/bin.Object *AccountSetContentSettingsRequest : github.com/gotd/td/tdp.Object *AccountSetContentSettingsRequest : fmt.Stringer func (*Client).AccountSetContentSettings(ctx context.Context, request *AccountSetContentSettingsRequest) (bool, error)
AccountSetGlobalPrivacySettingsRequest represents TL type `account.setGlobalPrivacySettings#1edaaac2`. Set global privacy settings See https://core.telegram.org/method/account.setGlobalPrivacySettings for reference. Global privacy settings Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. FillFrom fills AccountSetGlobalPrivacySettingsRequest from given interface. GetSettings returns value of Settings field. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*AccountSetGlobalPrivacySettingsRequest) Zero() bool *AccountSetGlobalPrivacySettingsRequest : github.com/gotd/td/bin.BareDecoder *AccountSetGlobalPrivacySettingsRequest : github.com/gotd/td/bin.BareEncoder *AccountSetGlobalPrivacySettingsRequest : github.com/gotd/td/bin.Decoder *AccountSetGlobalPrivacySettingsRequest : github.com/gotd/td/bin.Encoder *AccountSetGlobalPrivacySettingsRequest : github.com/gotd/td/bin.Object *AccountSetGlobalPrivacySettingsRequest : github.com/gotd/td/tdp.Object *AccountSetGlobalPrivacySettingsRequest : fmt.Stringer
AccountSetPrivacyRequest represents TL type `account.setPrivacy#c9f81ce8`. Change privacy settings of current account See https://core.telegram.org/method/account.setPrivacy for reference. New privacy rule Peers to which the privacy rule will apply. Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. FillFrom fills AccountSetPrivacyRequest from given interface. GetKey returns value of Key field. GetRules returns value of Rules field. MapRules returns field Rules wrapped in InputPrivacyRuleClassArray helper. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*AccountSetPrivacyRequest) Zero() bool *AccountSetPrivacyRequest : github.com/gotd/td/bin.BareDecoder *AccountSetPrivacyRequest : github.com/gotd/td/bin.BareEncoder *AccountSetPrivacyRequest : github.com/gotd/td/bin.Decoder *AccountSetPrivacyRequest : github.com/gotd/td/bin.Encoder *AccountSetPrivacyRequest : github.com/gotd/td/bin.Object *AccountSetPrivacyRequest : github.com/gotd/td/tdp.Object *AccountSetPrivacyRequest : fmt.Stringer func (*Client).AccountSetPrivacy(ctx context.Context, request *AccountSetPrivacyRequest) (*AccountPrivacyRules, error)
AccountTakeout represents TL type `account.takeout#4dba4501`. Takeout info See https://core.telegram.org/constructor/account.takeout for reference. Takeout ID Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. FillFrom fills AccountTakeout from given interface. GetID returns value of ID field. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*AccountTakeout) Zero() bool *AccountTakeout : github.com/gotd/td/bin.BareDecoder *AccountTakeout : github.com/gotd/td/bin.BareEncoder *AccountTakeout : github.com/gotd/td/bin.Decoder *AccountTakeout : github.com/gotd/td/bin.Encoder *AccountTakeout : github.com/gotd/td/bin.Object *AccountTakeout : github.com/gotd/td/tdp.Object *AccountTakeout : fmt.Stringer func (*Client).AccountInitTakeoutSession(ctx context.Context, request *AccountInitTakeoutSessionRequest) (*AccountTakeout, error)
AccountThemes represents TL type `account.themes#9a3d8c6d`. Installed themes See https://core.telegram.org/constructor/account.themes for reference. Hash for pagination, for more info click here¹ Links: 1) https://core.telegram.org/api/offsets#hash-generation Themes AsModified tries to map AccountThemes to AccountThemes. Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. FillFrom fills AccountThemes from given interface. GetHash returns value of Hash field. GetThemes returns value of Themes field. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*AccountThemes) Zero() bool *AccountThemes : AccountThemesClass *AccountThemes : github.com/gotd/td/bin.BareDecoder *AccountThemes : github.com/gotd/td/bin.BareEncoder *AccountThemes : github.com/gotd/td/bin.Decoder *AccountThemes : github.com/gotd/td/bin.Encoder *AccountThemes : github.com/gotd/td/bin.Object *AccountThemes : github.com/gotd/td/tdp.Object *AccountThemes : fmt.Stringer func (*AccountThemes).AsModified() (*AccountThemes, bool) func AccountThemesArray.First() (v AccountThemes, ok bool) func AccountThemesArray.Last() (v AccountThemes, ok bool) func (*AccountThemesArray).Pop() (v AccountThemes, ok bool) func (*AccountThemesArray).PopFirst() (v AccountThemes, ok bool) func AccountThemesClass.AsModified() (*AccountThemes, bool) func AccountThemesClassArray.AppendOnlyModified(to []*AccountThemes) []*AccountThemes func AccountThemesClassArray.AsModified() (to []*AccountThemes) func AccountThemesClassArray.FirstAsModified() (v *AccountThemes, ok bool) func AccountThemesClassArray.LastAsModified() (v *AccountThemes, ok bool) func (*AccountThemesClassArray).PopAsModified() (v *AccountThemes, ok bool) func (*AccountThemesClassArray).PopFirstAsModified() (v *AccountThemes, ok bool) func (*AccountThemesNotModified).AsModified() (*AccountThemes, bool) func AccountThemesClassArray.AppendOnlyModified(to []*AccountThemes) []*AccountThemes
AccountThemesArray is adapter for slice of AccountThemes. First returns first element of slice (if exists). Last returns last element of slice (if exists). Pop returns last element of slice (if exists) and deletes it. PopFirst returns first element of slice (if exists) and deletes it. Retain filters in-place slice of AccountThemes. Sort sorts slice of AccountThemes. SortStable sorts slice of AccountThemes. func AccountThemesArray.Retain(keep func(x AccountThemes) bool) AccountThemesArray func AccountThemesArray.Sort(less func(a, b AccountThemes) bool) AccountThemesArray func AccountThemesArray.SortStable(less func(a, b AccountThemes) bool) AccountThemesArray func AccountThemesClassArray.AsAccountThemes() (to AccountThemesArray)
AccountThemes boxes the AccountThemesClass providing a helper. Themes AccountThemesClass Decode implements bin.Decoder for AccountThemesBox. Encode implements bin.Encode for AccountThemesBox. *AccountThemesBox : github.com/gotd/td/bin.Decoder *AccountThemesBox : github.com/gotd/td/bin.Encoder *AccountThemesBox : github.com/gotd/td/bin.Object
AccountThemesClass represents account.Themes generic type. See https://core.telegram.org/type/account.Themes for reference. Example: g, err := tg.DecodeAccountThemes(buf) if err != nil { panic(err) } switch v := g.(type) { case *tg.AccountThemesNotModified: // account.themesNotModified#f41eb622 case *tg.AccountThemes: // account.themes#9a3d8c6d default: panic(v) } AsModified tries to map AccountThemesClass to AccountThemes. ( AccountThemesClass) Decode(b *bin.Buffer) error ( AccountThemesClass) DecodeBare(b *bin.Buffer) error ( AccountThemesClass) Encode(b *bin.Buffer) error ( AccountThemesClass) EncodeBare(b *bin.Buffer) error String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeName returns name of type in TL schema. Zero returns true if current object has a zero value. *AccountThemes *AccountThemesNotModified AccountThemesClass : github.com/gotd/td/bin.BareDecoder AccountThemesClass : github.com/gotd/td/bin.BareEncoder AccountThemesClass : github.com/gotd/td/bin.Decoder AccountThemesClass : github.com/gotd/td/bin.Encoder AccountThemesClass : github.com/gotd/td/bin.Object AccountThemesClass : fmt.Stringer func DecodeAccountThemes(buf *bin.Buffer) (AccountThemesClass, error) func AccountThemesClassArray.First() (v AccountThemesClass, ok bool) func AccountThemesClassArray.Last() (v AccountThemesClass, ok bool) func (*AccountThemesClassArray).Pop() (v AccountThemesClass, ok bool) func (*AccountThemesClassArray).PopFirst() (v AccountThemesClass, ok bool) func (*Client).AccountGetChatThemes(ctx context.Context, hash int64) (AccountThemesClass, error) func (*Client).AccountGetThemes(ctx context.Context, request *AccountGetThemesRequest) (AccountThemesClass, error)
AccountThemesClassArray is adapter for slice of AccountThemesClass. AppendOnlyModified appends only Modified constructors to given slice. AsAccountThemes returns copy with only AccountThemes constructors. AsModified returns copy with only Modified constructors. First returns first element of slice (if exists). FirstAsModified returns first element of slice (if exists). Last returns last element of slice (if exists). LastAsModified returns last element of slice (if exists). Pop returns last element of slice (if exists) and deletes it. PopAsModified returns element of slice (if exists). PopFirst returns first element of slice (if exists) and deletes it. PopFirstAsModified returns element of slice (if exists). Retain filters in-place slice of AccountThemesClass. Sort sorts slice of AccountThemesClass. SortStable sorts slice of AccountThemesClass. func AccountThemesClassArray.Retain(keep func(x AccountThemesClass) bool) AccountThemesClassArray func AccountThemesClassArray.Sort(less func(a, b AccountThemesClass) bool) AccountThemesClassArray func AccountThemesClassArray.SortStable(less func(a, b AccountThemesClass) bool) AccountThemesClassArray
AccountThemesNotModified represents TL type `account.themesNotModified#f41eb622`. No new themes were installed See https://core.telegram.org/constructor/account.themesNotModified for reference. AsModified tries to map AccountThemesNotModified to AccountThemes. Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*AccountThemesNotModified) Zero() bool *AccountThemesNotModified : AccountThemesClass *AccountThemesNotModified : github.com/gotd/td/bin.BareDecoder *AccountThemesNotModified : github.com/gotd/td/bin.BareEncoder *AccountThemesNotModified : github.com/gotd/td/bin.Decoder *AccountThemesNotModified : github.com/gotd/td/bin.Encoder *AccountThemesNotModified : github.com/gotd/td/bin.Object *AccountThemesNotModified : github.com/gotd/td/tdp.Object *AccountThemesNotModified : fmt.Stringer
AccountTmpPassword represents TL type `account.tmpPassword#db64fd34`. Temporary payment password See https://core.telegram.org/constructor/account.tmpPassword for reference. Temporary password Validity period Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. FillFrom fills AccountTmpPassword from given interface. GetTmpPassword returns value of TmpPassword field. GetValidUntil returns value of ValidUntil field. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*AccountTmpPassword) Zero() bool *AccountTmpPassword : github.com/gotd/td/bin.BareDecoder *AccountTmpPassword : github.com/gotd/td/bin.BareEncoder *AccountTmpPassword : github.com/gotd/td/bin.Decoder *AccountTmpPassword : github.com/gotd/td/bin.Encoder *AccountTmpPassword : github.com/gotd/td/bin.Object *AccountTmpPassword : github.com/gotd/td/tdp.Object *AccountTmpPassword : fmt.Stringer func (*Client).AccountGetTmpPassword(ctx context.Context, request *AccountGetTmpPasswordRequest) (*AccountTmpPassword, error)
AccountToggleUsernameRequest represents TL type `account.toggleUsername#58d6b376`. Activate or deactivate a purchased fragment.com¹ username associated to the currently logged-in user. Links: 1. https://fragment.com See https://core.telegram.org/method/account.toggleUsername for reference. Whether to activate or deactivate it Username Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. FillFrom fills AccountToggleUsernameRequest from given interface. GetActive returns value of Active field. GetUsername returns value of Username field. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*AccountToggleUsernameRequest) Zero() bool *AccountToggleUsernameRequest : github.com/gotd/td/bin.BareDecoder *AccountToggleUsernameRequest : github.com/gotd/td/bin.BareEncoder *AccountToggleUsernameRequest : github.com/gotd/td/bin.Decoder *AccountToggleUsernameRequest : github.com/gotd/td/bin.Encoder *AccountToggleUsernameRequest : github.com/gotd/td/bin.Object *AccountToggleUsernameRequest : github.com/gotd/td/tdp.Object *AccountToggleUsernameRequest : fmt.Stringer func (*Client).AccountToggleUsername(ctx context.Context, request *AccountToggleUsernameRequest) (bool, error)
AccountUnregisterDeviceRequest represents TL type `account.unregisterDevice#6a0d3206`. Deletes a device by its token, stops sending PUSH-notifications to it. See https://core.telegram.org/method/account.unregisterDevice for reference. List of user identifiers of other users currently using the client Device token, see PUSH updates¹ for the possible values. Links: 1) https://core.telegram.org/api/push-updates#subscribing-to-notifications Device token type, see PUSH updates¹ for the possible values. Links: 1) https://core.telegram.org/api/push-updates#subscribing-to-notifications Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. FillFrom fills AccountUnregisterDeviceRequest from given interface. GetOtherUIDs returns value of OtherUIDs field. GetToken returns value of Token field. GetTokenType returns value of TokenType field. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*AccountUnregisterDeviceRequest) Zero() bool *AccountUnregisterDeviceRequest : github.com/gotd/td/bin.BareDecoder *AccountUnregisterDeviceRequest : github.com/gotd/td/bin.BareEncoder *AccountUnregisterDeviceRequest : github.com/gotd/td/bin.Decoder *AccountUnregisterDeviceRequest : github.com/gotd/td/bin.Encoder *AccountUnregisterDeviceRequest : github.com/gotd/td/bin.Object *AccountUnregisterDeviceRequest : github.com/gotd/td/tdp.Object *AccountUnregisterDeviceRequest : fmt.Stringer func (*Client).AccountUnregisterDevice(ctx context.Context, request *AccountUnregisterDeviceRequest) (bool, error)
AccountUpdateColorRequest represents TL type `account.updateColor#7cefa15d`. Update the accent color and background custom emoji »¹ of the current account. Links: 1. https://core.telegram.org/api/colors See https://core.telegram.org/method/account.updateColor for reference. Custom emoji ID used in the accent color pattern. Use SetBackgroundEmojiID and GetBackgroundEmojiID helpers. ID of the accent color palette »¹ to use (not RGB24, see here »² for more info). Links: 1) https://core.telegram.org/api/colors 2) https://core.telegram.org/api/colors Use SetColor and GetColor helpers. Flags, see TL conditional fields¹ Links: 1) https://core.telegram.org/mtproto/TL-combinators#conditional-fields Whether to change the accent color emoji pattern of the profile page; otherwise, the accent color and emoji pattern of messages will be changed. Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. FillFrom fills AccountUpdateColorRequest from given interface. GetBackgroundEmojiID returns value of BackgroundEmojiID conditional field and boolean which is true if field was set. GetColor returns value of Color conditional field and boolean which is true if field was set. GetForProfile returns value of ForProfile conditional field. SetBackgroundEmojiID sets value of BackgroundEmojiID conditional field. SetColor sets value of Color conditional field. SetFlags sets flags for non-zero fields. SetForProfile sets value of ForProfile conditional field. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*AccountUpdateColorRequest) Zero() bool *AccountUpdateColorRequest : github.com/gotd/td/bin.BareDecoder *AccountUpdateColorRequest : github.com/gotd/td/bin.BareEncoder *AccountUpdateColorRequest : github.com/gotd/td/bin.Decoder *AccountUpdateColorRequest : github.com/gotd/td/bin.Encoder *AccountUpdateColorRequest : github.com/gotd/td/bin.Object *AccountUpdateColorRequest : github.com/gotd/td/tdp.Object *AccountUpdateColorRequest : fmt.Stringer func (*Client).AccountUpdateColor(ctx context.Context, request *AccountUpdateColorRequest) (bool, error)
AccountUpdateDeviceLockedRequest represents TL type `account.updateDeviceLocked#38df3532`. When client-side passcode lock feature is enabled, will not show message texts in incoming PUSH notifications¹. Links: 1. https://core.telegram.org/api/push-updates See https://core.telegram.org/method/account.updateDeviceLocked for reference. Inactivity period after which to start hiding message texts in PUSH notifications¹. Links: 1) https://core.telegram.org/api/push-updates Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. FillFrom fills AccountUpdateDeviceLockedRequest from given interface. GetPeriod returns value of Period field. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*AccountUpdateDeviceLockedRequest) Zero() bool *AccountUpdateDeviceLockedRequest : github.com/gotd/td/bin.BareDecoder *AccountUpdateDeviceLockedRequest : github.com/gotd/td/bin.BareEncoder *AccountUpdateDeviceLockedRequest : github.com/gotd/td/bin.Decoder *AccountUpdateDeviceLockedRequest : github.com/gotd/td/bin.Encoder *AccountUpdateDeviceLockedRequest : github.com/gotd/td/bin.Object *AccountUpdateDeviceLockedRequest : github.com/gotd/td/tdp.Object *AccountUpdateDeviceLockedRequest : fmt.Stringer
AccountUpdateEmojiStatusRequest represents TL type `account.updateEmojiStatus#fbd3de6b`. Set an emoji status¹ Links: 1. https://core.telegram.org/api/emoji-status See https://core.telegram.org/method/account.updateEmojiStatus for reference. Emoji status¹ to set Links: 1) https://core.telegram.org/api/emoji-status Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. FillFrom fills AccountUpdateEmojiStatusRequest from given interface. GetEmojiStatus returns value of EmojiStatus field. GetEmojiStatusAsNotEmpty returns mapped value of EmojiStatus field. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*AccountUpdateEmojiStatusRequest) Zero() bool *AccountUpdateEmojiStatusRequest : github.com/gotd/td/bin.BareDecoder *AccountUpdateEmojiStatusRequest : github.com/gotd/td/bin.BareEncoder *AccountUpdateEmojiStatusRequest : github.com/gotd/td/bin.Decoder *AccountUpdateEmojiStatusRequest : github.com/gotd/td/bin.Encoder *AccountUpdateEmojiStatusRequest : github.com/gotd/td/bin.Object *AccountUpdateEmojiStatusRequest : github.com/gotd/td/tdp.Object *AccountUpdateEmojiStatusRequest : fmt.Stringer
AccountUpdateNotifySettingsRequest represents TL type `account.updateNotifySettings#84be5b93`. Edits notification settings from a given user/group, from all users/all groups. See https://core.telegram.org/method/account.updateNotifySettings for reference. Notification source Notification settings Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. FillFrom fills AccountUpdateNotifySettingsRequest from given interface. GetPeer returns value of Peer field. GetSettings returns value of Settings field. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*AccountUpdateNotifySettingsRequest) Zero() bool *AccountUpdateNotifySettingsRequest : github.com/gotd/td/bin.BareDecoder *AccountUpdateNotifySettingsRequest : github.com/gotd/td/bin.BareEncoder *AccountUpdateNotifySettingsRequest : github.com/gotd/td/bin.Decoder *AccountUpdateNotifySettingsRequest : github.com/gotd/td/bin.Encoder *AccountUpdateNotifySettingsRequest : github.com/gotd/td/bin.Object *AccountUpdateNotifySettingsRequest : github.com/gotd/td/tdp.Object *AccountUpdateNotifySettingsRequest : fmt.Stringer func (*Client).AccountUpdateNotifySettings(ctx context.Context, request *AccountUpdateNotifySettingsRequest) (bool, error)
AccountUpdatePasswordSettingsRequest represents TL type `account.updatePasswordSettings#a59b102f`. Set a new 2FA password See https://core.telegram.org/method/account.updatePasswordSettings for reference. The new password (see SRP¹) Links: 1) https://core.telegram.org/api/srp The old password (see SRP¹) Links: 1) https://core.telegram.org/api/srp Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. FillFrom fills AccountUpdatePasswordSettingsRequest from given interface. GetNewSettings returns value of NewSettings field. GetPassword returns value of Password field. GetPasswordAsNotEmpty returns mapped value of Password field. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*AccountUpdatePasswordSettingsRequest) Zero() bool *AccountUpdatePasswordSettingsRequest : github.com/gotd/td/bin.BareDecoder *AccountUpdatePasswordSettingsRequest : github.com/gotd/td/bin.BareEncoder *AccountUpdatePasswordSettingsRequest : github.com/gotd/td/bin.Decoder *AccountUpdatePasswordSettingsRequest : github.com/gotd/td/bin.Encoder *AccountUpdatePasswordSettingsRequest : github.com/gotd/td/bin.Object *AccountUpdatePasswordSettingsRequest : github.com/gotd/td/tdp.Object *AccountUpdatePasswordSettingsRequest : fmt.Stringer func (*Client).AccountUpdatePasswordSettings(ctx context.Context, request *AccountUpdatePasswordSettingsRequest) (bool, error)
AccountUpdateProfileRequest represents TL type `account.updateProfile#78515775`. Updates user profile. See https://core.telegram.org/method/account.updateProfile for reference. New bio Use SetAbout and GetAbout helpers. New user first name Use SetFirstName and GetFirstName helpers. Flags, see TL conditional fields¹ Links: 1) https://core.telegram.org/mtproto/TL-combinators#conditional-fields New user last name Use SetLastName and GetLastName helpers. Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. FillFrom fills AccountUpdateProfileRequest from given interface. GetAbout returns value of About conditional field and boolean which is true if field was set. GetFirstName returns value of FirstName conditional field and boolean which is true if field was set. GetLastName returns value of LastName conditional field and boolean which is true if field was set. SetAbout sets value of About conditional field. SetFirstName sets value of FirstName conditional field. SetFlags sets flags for non-zero fields. SetLastName sets value of LastName conditional field. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*AccountUpdateProfileRequest) Zero() bool *AccountUpdateProfileRequest : github.com/gotd/td/bin.BareDecoder *AccountUpdateProfileRequest : github.com/gotd/td/bin.BareEncoder *AccountUpdateProfileRequest : github.com/gotd/td/bin.Decoder *AccountUpdateProfileRequest : github.com/gotd/td/bin.Encoder *AccountUpdateProfileRequest : github.com/gotd/td/bin.Object *AccountUpdateProfileRequest : github.com/gotd/td/tdp.Object *AccountUpdateProfileRequest : fmt.Stringer func (*Client).AccountUpdateProfile(ctx context.Context, request *AccountUpdateProfileRequest) (UserClass, error)
AccountUpdateStatusRequest represents TL type `account.updateStatus#6628562c`. Updates online user status. See https://core.telegram.org/method/account.updateStatus for reference. If (boolTrue)¹ is transmitted, user status will change to (userStatusOffline)². Links: 1) https://core.telegram.org/constructor/boolTrue 2) https://core.telegram.org/constructor/userStatusOffline Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. FillFrom fills AccountUpdateStatusRequest from given interface. GetOffline returns value of Offline field. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*AccountUpdateStatusRequest) Zero() bool *AccountUpdateStatusRequest : github.com/gotd/td/bin.BareDecoder *AccountUpdateStatusRequest : github.com/gotd/td/bin.BareEncoder *AccountUpdateStatusRequest : github.com/gotd/td/bin.Decoder *AccountUpdateStatusRequest : github.com/gotd/td/bin.Encoder *AccountUpdateStatusRequest : github.com/gotd/td/bin.Object *AccountUpdateStatusRequest : github.com/gotd/td/tdp.Object *AccountUpdateStatusRequest : fmt.Stringer
AccountUpdateThemeRequest represents TL type `account.updateTheme#2bf40ccc`. Update theme See https://core.telegram.org/method/account.updateTheme for reference. Theme file Use SetDocument and GetDocument helpers. Flags, see TL conditional fields¹ Links: 1) https://core.telegram.org/mtproto/TL-combinators#conditional-fields Theme format, a string that identifies the theming engines supported by the client Theme settings Use SetSettings and GetSettings helpers. Unique theme ID Use SetSlug and GetSlug helpers. Theme to update Theme name Use SetTitle and GetTitle helpers. Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. FillFrom fills AccountUpdateThemeRequest from given interface. GetDocument returns value of Document conditional field and boolean which is true if field was set. GetDocumentAsNotEmpty returns mapped value of Document conditional field and boolean which is true if field was set. GetFormat returns value of Format field. GetSettings returns value of Settings conditional field and boolean which is true if field was set. GetSlug returns value of Slug conditional field and boolean which is true if field was set. GetTheme returns value of Theme field. GetTitle returns value of Title conditional field and boolean which is true if field was set. SetDocument sets value of Document conditional field. SetFlags sets flags for non-zero fields. SetSettings sets value of Settings conditional field. SetSlug sets value of Slug conditional field. SetTitle sets value of Title conditional field. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*AccountUpdateThemeRequest) Zero() bool *AccountUpdateThemeRequest : github.com/gotd/td/bin.BareDecoder *AccountUpdateThemeRequest : github.com/gotd/td/bin.BareEncoder *AccountUpdateThemeRequest : github.com/gotd/td/bin.Decoder *AccountUpdateThemeRequest : github.com/gotd/td/bin.Encoder *AccountUpdateThemeRequest : github.com/gotd/td/bin.Object *AccountUpdateThemeRequest : github.com/gotd/td/tdp.Object *AccountUpdateThemeRequest : fmt.Stringer func (*Client).AccountUpdateTheme(ctx context.Context, request *AccountUpdateThemeRequest) (*Theme, error)
AccountUpdateUsernameRequest represents TL type `account.updateUsername#3e0bdd7c`. Changes username for the current user. See https://core.telegram.org/method/account.updateUsername for reference. usernameAccepted characters: A-z (case-insensitive), 0-9 and underscores.Length: 5-32 characters. Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. FillFrom fills AccountUpdateUsernameRequest from given interface. GetUsername returns value of Username field. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*AccountUpdateUsernameRequest) Zero() bool *AccountUpdateUsernameRequest : github.com/gotd/td/bin.BareDecoder *AccountUpdateUsernameRequest : github.com/gotd/td/bin.BareEncoder *AccountUpdateUsernameRequest : github.com/gotd/td/bin.Decoder *AccountUpdateUsernameRequest : github.com/gotd/td/bin.Encoder *AccountUpdateUsernameRequest : github.com/gotd/td/bin.Object *AccountUpdateUsernameRequest : github.com/gotd/td/tdp.Object *AccountUpdateUsernameRequest : fmt.Stringer
AccountUploadRingtoneRequest represents TL type `account.uploadRingtone#831a83a2`. Upload notification sound, use account.saveRingtone¹ to convert it and add it to the list of saved notification sounds. Links: 1. https://core.telegram.org/method/account.saveRingtone See https://core.telegram.org/method/account.uploadRingtone for reference. Notification sound File name MIME type of file Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. FillFrom fills AccountUploadRingtoneRequest from given interface. GetFile returns value of File field. GetFileName returns value of FileName field. GetMimeType returns value of MimeType field. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*AccountUploadRingtoneRequest) Zero() bool *AccountUploadRingtoneRequest : github.com/gotd/td/bin.BareDecoder *AccountUploadRingtoneRequest : github.com/gotd/td/bin.BareEncoder *AccountUploadRingtoneRequest : github.com/gotd/td/bin.Decoder *AccountUploadRingtoneRequest : github.com/gotd/td/bin.Encoder *AccountUploadRingtoneRequest : github.com/gotd/td/bin.Object *AccountUploadRingtoneRequest : github.com/gotd/td/tdp.Object *AccountUploadRingtoneRequest : fmt.Stringer func (*Client).AccountUploadRingtone(ctx context.Context, request *AccountUploadRingtoneRequest) (DocumentClass, error)
AccountUploadThemeRequest represents TL type `account.uploadTheme#1c3db333`. Upload theme See https://core.telegram.org/method/account.uploadTheme for reference. Previously uploaded¹ theme file with platform-specific colors for UI components, can be left unset when creating themes that only modify the wallpaper or accent colors. Links: 1) https://core.telegram.org/api/themes#uploading-theme-files File name Flags, see TL conditional fields¹ Links: 1) https://core.telegram.org/mtproto/TL-combinators#conditional-fields MIME type, must be application/x-tgtheme-{format}, where format depends on the client Thumbnail Use SetThumb and GetThumb helpers. Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. FillFrom fills AccountUploadThemeRequest from given interface. GetFile returns value of File field. GetFileName returns value of FileName field. GetMimeType returns value of MimeType field. GetThumb returns value of Thumb conditional field and boolean which is true if field was set. SetFlags sets flags for non-zero fields. SetThumb sets value of Thumb conditional field. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*AccountUploadThemeRequest) Zero() bool *AccountUploadThemeRequest : github.com/gotd/td/bin.BareDecoder *AccountUploadThemeRequest : github.com/gotd/td/bin.BareEncoder *AccountUploadThemeRequest : github.com/gotd/td/bin.Decoder *AccountUploadThemeRequest : github.com/gotd/td/bin.Encoder *AccountUploadThemeRequest : github.com/gotd/td/bin.Object *AccountUploadThemeRequest : github.com/gotd/td/tdp.Object *AccountUploadThemeRequest : fmt.Stringer func (*Client).AccountUploadTheme(ctx context.Context, request *AccountUploadThemeRequest) (DocumentClass, error)
AccountUploadWallPaperRequest represents TL type `account.uploadWallPaper#e39a8f03`. Create and upload a new wallpaper¹ Links: 1. https://core.telegram.org/api/wallpapers See https://core.telegram.org/method/account.uploadWallPaper for reference. The JPG/PNG wallpaper Flags, see TL conditional fields¹ Links: 1) https://core.telegram.org/mtproto/TL-combinators#conditional-fields Set this flag when uploading wallpapers to be passed to messages.setChatWallPaper¹. Links: 1) https://core.telegram.org/method/messages.setChatWallPaper MIME type of uploaded wallpaper Wallpaper settings Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. FillFrom fills AccountUploadWallPaperRequest from given interface. GetFile returns value of File field. GetForChat returns value of ForChat conditional field. GetMimeType returns value of MimeType field. GetSettings returns value of Settings field. SetFlags sets flags for non-zero fields. SetForChat sets value of ForChat conditional field. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*AccountUploadWallPaperRequest) Zero() bool *AccountUploadWallPaperRequest : github.com/gotd/td/bin.BareDecoder *AccountUploadWallPaperRequest : github.com/gotd/td/bin.BareEncoder *AccountUploadWallPaperRequest : github.com/gotd/td/bin.Decoder *AccountUploadWallPaperRequest : github.com/gotd/td/bin.Encoder *AccountUploadWallPaperRequest : github.com/gotd/td/bin.Object *AccountUploadWallPaperRequest : github.com/gotd/td/tdp.Object *AccountUploadWallPaperRequest : fmt.Stringer func (*Client).AccountUploadWallPaper(ctx context.Context, request *AccountUploadWallPaperRequest) (WallPaperClass, error)
AccountVerifyEmailRequest represents TL type `account.verifyEmail#32da4cf`. Verify an email address. See https://core.telegram.org/method/account.verifyEmail for reference. Verification purpose Email verification code or token Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. FillFrom fills AccountVerifyEmailRequest from given interface. GetPurpose returns value of Purpose field. GetVerification returns value of Verification field. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*AccountVerifyEmailRequest) Zero() bool *AccountVerifyEmailRequest : github.com/gotd/td/bin.BareDecoder *AccountVerifyEmailRequest : github.com/gotd/td/bin.BareEncoder *AccountVerifyEmailRequest : github.com/gotd/td/bin.Decoder *AccountVerifyEmailRequest : github.com/gotd/td/bin.Encoder *AccountVerifyEmailRequest : github.com/gotd/td/bin.Object *AccountVerifyEmailRequest : github.com/gotd/td/tdp.Object *AccountVerifyEmailRequest : fmt.Stringer func (*Client).AccountVerifyEmail(ctx context.Context, request *AccountVerifyEmailRequest) (AccountEmailVerifiedClass, error)
AccountVerifyPhoneRequest represents TL type `account.verifyPhone#4dd3a7f6`. Verify a phone number for telegram passport¹. Links: 1. https://core.telegram.org/passport See https://core.telegram.org/method/account.verifyPhone for reference. Phone code received when calling account.sendChangePhoneCode¹ Links: 1) https://core.telegram.org/method/account.sendChangePhoneCode Phone code hash received when calling account.sendChangePhoneCode¹ Links: 1) https://core.telegram.org/method/account.sendChangePhoneCode New phone number Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. FillFrom fills AccountVerifyPhoneRequest from given interface. GetPhoneCode returns value of PhoneCode field. GetPhoneCodeHash returns value of PhoneCodeHash field. GetPhoneNumber returns value of PhoneNumber field. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*AccountVerifyPhoneRequest) Zero() bool *AccountVerifyPhoneRequest : github.com/gotd/td/bin.BareDecoder *AccountVerifyPhoneRequest : github.com/gotd/td/bin.BareEncoder *AccountVerifyPhoneRequest : github.com/gotd/td/bin.Decoder *AccountVerifyPhoneRequest : github.com/gotd/td/bin.Encoder *AccountVerifyPhoneRequest : github.com/gotd/td/bin.Object *AccountVerifyPhoneRequest : github.com/gotd/td/tdp.Object *AccountVerifyPhoneRequest : fmt.Stringer func (*Client).AccountVerifyPhone(ctx context.Context, request *AccountVerifyPhoneRequest) (bool, error)
AccountWallPapers represents TL type `account.wallPapers#cdc3858c`. Installed wallpapers¹ Links: 1. https://core.telegram.org/api/wallpapers See https://core.telegram.org/constructor/account.wallPapers for reference. Hash for pagination, for more info click here¹ Links: 1) https://core.telegram.org/api/offsets#hash-generation Wallpapers¹ Links: 1) https://core.telegram.org/api/wallpapers AsModified tries to map AccountWallPapers to AccountWallPapers. Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. FillFrom fills AccountWallPapers from given interface. GetHash returns value of Hash field. GetWallpapers returns value of Wallpapers field. MapWallpapers returns field Wallpapers wrapped in WallPaperClassArray helper. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*AccountWallPapers) Zero() bool *AccountWallPapers : AccountWallPapersClass *AccountWallPapers : github.com/gotd/td/bin.BareDecoder *AccountWallPapers : github.com/gotd/td/bin.BareEncoder *AccountWallPapers : github.com/gotd/td/bin.Decoder *AccountWallPapers : github.com/gotd/td/bin.Encoder *AccountWallPapers : github.com/gotd/td/bin.Object *AccountWallPapers : github.com/gotd/td/tdp.Object *AccountWallPapers : fmt.Stringer func (*AccountWallPapers).AsModified() (*AccountWallPapers, bool) func AccountWallPapersArray.First() (v AccountWallPapers, ok bool) func AccountWallPapersArray.Last() (v AccountWallPapers, ok bool) func (*AccountWallPapersArray).Pop() (v AccountWallPapers, ok bool) func (*AccountWallPapersArray).PopFirst() (v AccountWallPapers, ok bool) func AccountWallPapersClass.AsModified() (*AccountWallPapers, bool) func AccountWallPapersClassArray.AppendOnlyModified(to []*AccountWallPapers) []*AccountWallPapers func AccountWallPapersClassArray.AsModified() (to []*AccountWallPapers) func AccountWallPapersClassArray.FirstAsModified() (v *AccountWallPapers, ok bool) func AccountWallPapersClassArray.LastAsModified() (v *AccountWallPapers, ok bool) func (*AccountWallPapersClassArray).PopAsModified() (v *AccountWallPapers, ok bool) func (*AccountWallPapersClassArray).PopFirstAsModified() (v *AccountWallPapers, ok bool) func (*AccountWallPapersNotModified).AsModified() (*AccountWallPapers, bool) func AccountWallPapersClassArray.AppendOnlyModified(to []*AccountWallPapers) []*AccountWallPapers
AccountWallPapersArray is adapter for slice of AccountWallPapers. First returns first element of slice (if exists). Last returns last element of slice (if exists). Pop returns last element of slice (if exists) and deletes it. PopFirst returns first element of slice (if exists) and deletes it. Retain filters in-place slice of AccountWallPapers. Sort sorts slice of AccountWallPapers. SortStable sorts slice of AccountWallPapers. func AccountWallPapersArray.Retain(keep func(x AccountWallPapers) bool) AccountWallPapersArray func AccountWallPapersArray.Sort(less func(a, b AccountWallPapers) bool) AccountWallPapersArray func AccountWallPapersArray.SortStable(less func(a, b AccountWallPapers) bool) AccountWallPapersArray func AccountWallPapersClassArray.AsAccountWallPapers() (to AccountWallPapersArray)
AccountWallPapers boxes the AccountWallPapersClass providing a helper. WallPapers AccountWallPapersClass Decode implements bin.Decoder for AccountWallPapersBox. Encode implements bin.Encode for AccountWallPapersBox. *AccountWallPapersBox : github.com/gotd/td/bin.Decoder *AccountWallPapersBox : github.com/gotd/td/bin.Encoder *AccountWallPapersBox : github.com/gotd/td/bin.Object
AccountWallPapersClass represents account.WallPapers generic type. See https://core.telegram.org/type/account.WallPapers for reference. Example: g, err := tg.DecodeAccountWallPapers(buf) if err != nil { panic(err) } switch v := g.(type) { case *tg.AccountWallPapersNotModified: // account.wallPapersNotModified#1c199183 case *tg.AccountWallPapers: // account.wallPapers#cdc3858c default: panic(v) } AsModified tries to map AccountWallPapersClass to AccountWallPapers. ( AccountWallPapersClass) Decode(b *bin.Buffer) error ( AccountWallPapersClass) DecodeBare(b *bin.Buffer) error ( AccountWallPapersClass) Encode(b *bin.Buffer) error ( AccountWallPapersClass) EncodeBare(b *bin.Buffer) error String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeName returns name of type in TL schema. Zero returns true if current object has a zero value. *AccountWallPapers *AccountWallPapersNotModified AccountWallPapersClass : github.com/gotd/td/bin.BareDecoder AccountWallPapersClass : github.com/gotd/td/bin.BareEncoder AccountWallPapersClass : github.com/gotd/td/bin.Decoder AccountWallPapersClass : github.com/gotd/td/bin.Encoder AccountWallPapersClass : github.com/gotd/td/bin.Object AccountWallPapersClass : fmt.Stringer func DecodeAccountWallPapers(buf *bin.Buffer) (AccountWallPapersClass, error) func AccountWallPapersClassArray.First() (v AccountWallPapersClass, ok bool) func AccountWallPapersClassArray.Last() (v AccountWallPapersClass, ok bool) func (*AccountWallPapersClassArray).Pop() (v AccountWallPapersClass, ok bool) func (*AccountWallPapersClassArray).PopFirst() (v AccountWallPapersClass, ok bool) func (*Client).AccountGetWallPapers(ctx context.Context, hash int64) (AccountWallPapersClass, error)
AccountWallPapersClassArray is adapter for slice of AccountWallPapersClass. AppendOnlyModified appends only Modified constructors to given slice. AsAccountWallPapers returns copy with only AccountWallPapers constructors. AsModified returns copy with only Modified constructors. First returns first element of slice (if exists). FirstAsModified returns first element of slice (if exists). Last returns last element of slice (if exists). LastAsModified returns last element of slice (if exists). Pop returns last element of slice (if exists) and deletes it. PopAsModified returns element of slice (if exists). PopFirst returns first element of slice (if exists) and deletes it. PopFirstAsModified returns element of slice (if exists). Retain filters in-place slice of AccountWallPapersClass. Sort sorts slice of AccountWallPapersClass. SortStable sorts slice of AccountWallPapersClass. func AccountWallPapersClassArray.Retain(keep func(x AccountWallPapersClass) bool) AccountWallPapersClassArray func AccountWallPapersClassArray.Sort(less func(a, b AccountWallPapersClass) bool) AccountWallPapersClassArray func AccountWallPapersClassArray.SortStable(less func(a, b AccountWallPapersClass) bool) AccountWallPapersClassArray
AccountWallPapersNotModified represents TL type `account.wallPapersNotModified#1c199183`. No new wallpapers¹ were found Links: 1. https://core.telegram.org/api/wallpapers See https://core.telegram.org/constructor/account.wallPapersNotModified for reference. AsModified tries to map AccountWallPapersNotModified to AccountWallPapers. Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*AccountWallPapersNotModified) Zero() bool *AccountWallPapersNotModified : AccountWallPapersClass *AccountWallPapersNotModified : github.com/gotd/td/bin.BareDecoder *AccountWallPapersNotModified : github.com/gotd/td/bin.BareEncoder *AccountWallPapersNotModified : github.com/gotd/td/bin.Decoder *AccountWallPapersNotModified : github.com/gotd/td/bin.Encoder *AccountWallPapersNotModified : github.com/gotd/td/bin.Object *AccountWallPapersNotModified : github.com/gotd/td/tdp.Object *AccountWallPapersNotModified : fmt.Stringer
AccountWebAuthorizations represents TL type `account.webAuthorizations#ed56c9fc`. Web authorizations See https://core.telegram.org/constructor/account.webAuthorizations for reference. Web authorization list Users Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. FillFrom fills AccountWebAuthorizations from given interface. GetAuthorizations returns value of Authorizations field. GetUsers returns value of Users field. MapUsers returns field Users wrapped in UserClassArray helper. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*AccountWebAuthorizations) Zero() bool *AccountWebAuthorizations : github.com/gotd/td/bin.BareDecoder *AccountWebAuthorizations : github.com/gotd/td/bin.BareEncoder *AccountWebAuthorizations : github.com/gotd/td/bin.Decoder *AccountWebAuthorizations : github.com/gotd/td/bin.Encoder *AccountWebAuthorizations : github.com/gotd/td/bin.Object *AccountWebAuthorizations : github.com/gotd/td/tdp.Object *AccountWebAuthorizations : fmt.Stringer func (*Client).AccountGetWebAuthorizations(ctx context.Context) (*AccountWebAuthorizations, error)
AppWebViewResultURL represents TL type `appWebViewResultUrl#3c1b4f0d`. Contains the link that must be used to open a named Mini App¹. Links: 1. https://core.telegram.org/api/bots/webapps#named-mini-apps See https://core.telegram.org/constructor/appWebViewResultUrl for reference. The URL to open Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. FillFrom fills AppWebViewResultURL from given interface. GetURL returns value of URL field. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*AppWebViewResultURL) Zero() bool *AppWebViewResultURL : github.com/gotd/td/bin.BareDecoder *AppWebViewResultURL : github.com/gotd/td/bin.BareEncoder *AppWebViewResultURL : github.com/gotd/td/bin.Decoder *AppWebViewResultURL : github.com/gotd/td/bin.Encoder *AppWebViewResultURL : github.com/gotd/td/bin.Object *AppWebViewResultURL : github.com/gotd/td/tdp.Object *AppWebViewResultURL : fmt.Stringer func (*Client).MessagesRequestAppWebView(ctx context.Context, request *MessagesRequestAppWebViewRequest) (*AppWebViewResultURL, error)
AttachMenuBot represents TL type `attachMenuBot#d90d8dfe`. Represents a bot mini app that can be launched from the attachment/side menu »¹ At least one of the show_in_attach_menu or the show_in_side_menu flags will always be set. Links: 1. https://core.telegram.org/api/bots/attach See https://core.telegram.org/constructor/attachMenuBot for reference. Bot ID Flags, see TL conditional fields¹ Links: 1) https://core.telegram.org/mtproto/TL-combinators#conditional-fields Deprecated flag, can be ignored. List of platform-specific static icons and animations to use for the attachment menu button If set, before launching the mini app the client should ask the user to add the mini app to the attachment/side menu, and only if the user accepts, after invoking messages toggleBotInAttachMenu¹ the app should be opened. Links: 1) https://core.telegram.org/method/messages.toggleBotInAttachMenu List of dialog types where this attachment menu entry should be shown Use SetPeerTypes and GetPeerTypes helpers. Whether the bot would like to send messages to the user. Attachment menu item name Whether, when installed, an attachment menu entry should be shown for the Mini App. Whether, when installed, an entry in the main view side menu should be shown for the Mini App. If inactive if set and the user hasn't previously accepted the third-party mini apps Terms of Service¹ for this bot, when showing the mini app installation prompt, an additional mandatory checkbox to accept the mini apps TOS² and a disclaimer indicating that this Mini App is not affiliated to Telegram should be shown. Links: 1) https://telegram.org/tos/mini-apps 2) https://telegram.org/tos/mini-apps Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. FillFrom fills AttachMenuBot from given interface. GetBotID returns value of BotID field. GetHasSettings returns value of HasSettings conditional field. GetIcons returns value of Icons field. GetInactive returns value of Inactive conditional field. GetPeerTypes returns value of PeerTypes conditional field and boolean which is true if field was set. GetRequestWriteAccess returns value of RequestWriteAccess conditional field. GetShortName returns value of ShortName field. GetShowInAttachMenu returns value of ShowInAttachMenu conditional field. GetShowInSideMenu returns value of ShowInSideMenu conditional field. GetSideMenuDisclaimerNeeded returns value of SideMenuDisclaimerNeeded conditional field. MapPeerTypes returns field PeerTypes wrapped in AttachMenuPeerTypeClassArray helper. SetFlags sets flags for non-zero fields. SetHasSettings sets value of HasSettings conditional field. SetInactive sets value of Inactive conditional field. SetPeerTypes sets value of PeerTypes conditional field. SetRequestWriteAccess sets value of RequestWriteAccess conditional field. SetShowInAttachMenu sets value of ShowInAttachMenu conditional field. SetShowInSideMenu sets value of ShowInSideMenu conditional field. SetSideMenuDisclaimerNeeded sets value of SideMenuDisclaimerNeeded conditional field. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*AttachMenuBot) Zero() bool *AttachMenuBot : github.com/gotd/td/bin.BareDecoder *AttachMenuBot : github.com/gotd/td/bin.BareEncoder *AttachMenuBot : github.com/gotd/td/bin.Decoder *AttachMenuBot : github.com/gotd/td/bin.Encoder *AttachMenuBot : github.com/gotd/td/bin.Object *AttachMenuBot : github.com/gotd/td/tdp.Object *AttachMenuBot : fmt.Stringer func (*AttachMenuBots).GetBots() (value []AttachMenuBot) func (*AttachMenuBotsBot).GetBot() (value AttachMenuBot)
AttachMenuBotIcon represents TL type `attachMenuBotIcon#b2a7386b`. Represents an attachment menu icon for bot mini apps »¹ Links: 1. https://core.telegram.org/api/bots/attach See https://core.telegram.org/constructor/attachMenuBotIcon for reference. Attachment menu icon colors. Use SetColors and GetColors helpers. Flags, see TL conditional fields¹ Links: 1) https://core.telegram.org/mtproto/TL-combinators#conditional-fields The actual icon file. One of the following values: note that animated icons must be played when the user clicks on the button, activating the bot mini app. default_static - Default attachment menu icon in SVG format placeholder_static - Default placeholder for opened Web Apps in SVG format ios_static - Attachment menu icon in SVG format for the official iOS app ios_animated - Animated attachment menu icon in TGS format for the official iOS app android_animated - Animated attachment menu icon in TGS format for the official Android app macos_animated - Animated attachment menu icon in TGS format for the official native Mac OS app ios_side_menu_static - Side menu icon in PNG format for the official iOS app android_side_menu_static - Side menu icon in SVG format for the official android app macos_side_menu_static - Side menu icon in PNG format for the official native Mac OS app Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. FillFrom fills AttachMenuBotIcon from given interface. GetColors returns value of Colors conditional field and boolean which is true if field was set. GetIcon returns value of Icon field. GetIconAsNotEmpty returns mapped value of Icon field. GetName returns value of Name field. SetColors sets value of Colors conditional field. SetFlags sets flags for non-zero fields. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*AttachMenuBotIcon) Zero() bool *AttachMenuBotIcon : github.com/gotd/td/bin.BareDecoder *AttachMenuBotIcon : github.com/gotd/td/bin.BareEncoder *AttachMenuBotIcon : github.com/gotd/td/bin.Decoder *AttachMenuBotIcon : github.com/gotd/td/bin.Encoder *AttachMenuBotIcon : github.com/gotd/td/bin.Object *AttachMenuBotIcon : github.com/gotd/td/tdp.Object *AttachMenuBotIcon : fmt.Stringer func (*AttachMenuBot).GetIcons() (value []AttachMenuBotIcon)
AttachMenuBotIconColor represents TL type `attachMenuBotIconColor#4576f3f0`. Represents an attachment menu icon color for bot mini apps »¹ Links: 1. https://core.telegram.org/api/bots/attach See https://core.telegram.org/constructor/attachMenuBotIconColor for reference. Color in RGB24 format One of the following values: light_icon - Color of the attachment menu icon (light mode) light_text - Color of the attachment menu label, once selected (light mode) dark_icon - Color of the attachment menu icon (dark mode) dark_text - Color of the attachment menu label, once selected (dark mode) Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. FillFrom fills AttachMenuBotIconColor from given interface. GetColor returns value of Color field. GetName returns value of Name field. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*AttachMenuBotIconColor) Zero() bool *AttachMenuBotIconColor : github.com/gotd/td/bin.BareDecoder *AttachMenuBotIconColor : github.com/gotd/td/bin.BareEncoder *AttachMenuBotIconColor : github.com/gotd/td/bin.Decoder *AttachMenuBotIconColor : github.com/gotd/td/bin.Encoder *AttachMenuBotIconColor : github.com/gotd/td/bin.Object *AttachMenuBotIconColor : github.com/gotd/td/tdp.Object *AttachMenuBotIconColor : fmt.Stringer func (*AttachMenuBotIcon).GetColors() (value []AttachMenuBotIconColor, ok bool) func (*AttachMenuBotIcon).SetColors(value []AttachMenuBotIconColor)
AttachMenuBots represents TL type `attachMenuBots#3c4301c0`. Represents a list of bot mini apps that can be launched from the attachment menu »¹ Links: 1. https://core.telegram.org/api/bots/attach See https://core.telegram.org/constructor/attachMenuBots for reference. List of bot mini apps that can be launched from the attachment menu »¹ Links: 1) https://core.telegram.org/api/bots/attach Hash for pagination, for more info click here¹ Links: 1) https://core.telegram.org/api/offsets#hash-generation Info about related users/bots AsModified tries to map AttachMenuBots to AttachMenuBots. Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. FillFrom fills AttachMenuBots from given interface. GetBots returns value of Bots field. GetHash returns value of Hash field. GetUsers returns value of Users field. MapUsers returns field Users wrapped in UserClassArray helper. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*AttachMenuBots) Zero() bool *AttachMenuBots : AttachMenuBotsClass *AttachMenuBots : github.com/gotd/td/bin.BareDecoder *AttachMenuBots : github.com/gotd/td/bin.BareEncoder *AttachMenuBots : github.com/gotd/td/bin.Decoder *AttachMenuBots : github.com/gotd/td/bin.Encoder *AttachMenuBots : github.com/gotd/td/bin.Object *AttachMenuBots : github.com/gotd/td/tdp.Object *AttachMenuBots : fmt.Stringer func (*AttachMenuBots).AsModified() (*AttachMenuBots, bool) func AttachMenuBotsArray.First() (v AttachMenuBots, ok bool) func AttachMenuBotsArray.Last() (v AttachMenuBots, ok bool) func (*AttachMenuBotsArray).Pop() (v AttachMenuBots, ok bool) func (*AttachMenuBotsArray).PopFirst() (v AttachMenuBots, ok bool) func AttachMenuBotsClass.AsModified() (*AttachMenuBots, bool) func AttachMenuBotsClassArray.AppendOnlyModified(to []*AttachMenuBots) []*AttachMenuBots func AttachMenuBotsClassArray.AsModified() (to []*AttachMenuBots) func AttachMenuBotsClassArray.FirstAsModified() (v *AttachMenuBots, ok bool) func AttachMenuBotsClassArray.LastAsModified() (v *AttachMenuBots, ok bool) func (*AttachMenuBotsClassArray).PopAsModified() (v *AttachMenuBots, ok bool) func (*AttachMenuBotsClassArray).PopFirstAsModified() (v *AttachMenuBots, ok bool) func (*AttachMenuBotsNotModified).AsModified() (*AttachMenuBots, bool) func AttachMenuBotsClassArray.AppendOnlyModified(to []*AttachMenuBots) []*AttachMenuBots
AttachMenuBotsArray is adapter for slice of AttachMenuBots. First returns first element of slice (if exists). Last returns last element of slice (if exists). Pop returns last element of slice (if exists) and deletes it. PopFirst returns first element of slice (if exists) and deletes it. Retain filters in-place slice of AttachMenuBots. Sort sorts slice of AttachMenuBots. SortStable sorts slice of AttachMenuBots. func AttachMenuBotsArray.Retain(keep func(x AttachMenuBots) bool) AttachMenuBotsArray func AttachMenuBotsArray.Sort(less func(a, b AttachMenuBots) bool) AttachMenuBotsArray func AttachMenuBotsArray.SortStable(less func(a, b AttachMenuBots) bool) AttachMenuBotsArray func AttachMenuBotsClassArray.AsAttachMenuBots() (to AttachMenuBotsArray)
AttachMenuBotsBot represents TL type `attachMenuBotsBot#93bf667f`. Represents a bot mini app that can be launched from the attachment menu »¹ Links: 1. https://core.telegram.org/api/bots/attach See https://core.telegram.org/constructor/attachMenuBotsBot for reference. Represents a bot mini app that can be launched from the attachment menu »¹ Links: 1) https://core.telegram.org/api/bots/attach Info about related users and bots Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. FillFrom fills AttachMenuBotsBot from given interface. GetBot returns value of Bot field. GetUsers returns value of Users field. MapUsers returns field Users wrapped in UserClassArray helper. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*AttachMenuBotsBot) Zero() bool *AttachMenuBotsBot : github.com/gotd/td/bin.BareDecoder *AttachMenuBotsBot : github.com/gotd/td/bin.BareEncoder *AttachMenuBotsBot : github.com/gotd/td/bin.Decoder *AttachMenuBotsBot : github.com/gotd/td/bin.Encoder *AttachMenuBotsBot : github.com/gotd/td/bin.Object *AttachMenuBotsBot : github.com/gotd/td/tdp.Object *AttachMenuBotsBot : fmt.Stringer func (*Client).MessagesGetAttachMenuBot(ctx context.Context, bot InputUserClass) (*AttachMenuBotsBot, error)
AttachMenuBots boxes the AttachMenuBotsClass providing a helper. AttachMenuBots AttachMenuBotsClass Decode implements bin.Decoder for AttachMenuBotsBox. Encode implements bin.Encode for AttachMenuBotsBox. *AttachMenuBotsBox : github.com/gotd/td/bin.Decoder *AttachMenuBotsBox : github.com/gotd/td/bin.Encoder *AttachMenuBotsBox : github.com/gotd/td/bin.Object
AttachMenuBotsClass represents AttachMenuBots generic type. See https://core.telegram.org/type/AttachMenuBots for reference. Example: g, err := tg.DecodeAttachMenuBots(buf) if err != nil { panic(err) } switch v := g.(type) { case *tg.AttachMenuBotsNotModified: // attachMenuBotsNotModified#f1d88a5c case *tg.AttachMenuBots: // attachMenuBots#3c4301c0 default: panic(v) } AsModified tries to map AttachMenuBotsClass to AttachMenuBots. ( AttachMenuBotsClass) Decode(b *bin.Buffer) error ( AttachMenuBotsClass) DecodeBare(b *bin.Buffer) error ( AttachMenuBotsClass) Encode(b *bin.Buffer) error ( AttachMenuBotsClass) EncodeBare(b *bin.Buffer) error String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeName returns name of type in TL schema. Zero returns true if current object has a zero value. *AttachMenuBots *AttachMenuBotsNotModified AttachMenuBotsClass : github.com/gotd/td/bin.BareDecoder AttachMenuBotsClass : github.com/gotd/td/bin.BareEncoder AttachMenuBotsClass : github.com/gotd/td/bin.Decoder AttachMenuBotsClass : github.com/gotd/td/bin.Encoder AttachMenuBotsClass : github.com/gotd/td/bin.Object AttachMenuBotsClass : fmt.Stringer func DecodeAttachMenuBots(buf *bin.Buffer) (AttachMenuBotsClass, error) func AttachMenuBotsClassArray.First() (v AttachMenuBotsClass, ok bool) func AttachMenuBotsClassArray.Last() (v AttachMenuBotsClass, ok bool) func (*AttachMenuBotsClassArray).Pop() (v AttachMenuBotsClass, ok bool) func (*AttachMenuBotsClassArray).PopFirst() (v AttachMenuBotsClass, ok bool) func (*Client).MessagesGetAttachMenuBots(ctx context.Context, hash int64) (AttachMenuBotsClass, error)
AttachMenuBotsClassArray is adapter for slice of AttachMenuBotsClass. AppendOnlyModified appends only Modified constructors to given slice. AsAttachMenuBots returns copy with only AttachMenuBots constructors. AsModified returns copy with only Modified constructors. First returns first element of slice (if exists). FirstAsModified returns first element of slice (if exists). Last returns last element of slice (if exists). LastAsModified returns last element of slice (if exists). Pop returns last element of slice (if exists) and deletes it. PopAsModified returns element of slice (if exists). PopFirst returns first element of slice (if exists) and deletes it. PopFirstAsModified returns element of slice (if exists). Retain filters in-place slice of AttachMenuBotsClass. Sort sorts slice of AttachMenuBotsClass. SortStable sorts slice of AttachMenuBotsClass. func AttachMenuBotsClassArray.Retain(keep func(x AttachMenuBotsClass) bool) AttachMenuBotsClassArray func AttachMenuBotsClassArray.Sort(less func(a, b AttachMenuBotsClass) bool) AttachMenuBotsClassArray func AttachMenuBotsClassArray.SortStable(less func(a, b AttachMenuBotsClass) bool) AttachMenuBotsClassArray
AttachMenuBotsHandler is a AttachMenuBots event handler. func UpdateDispatcher.OnAttachMenuBots(handler AttachMenuBotsHandler)
AttachMenuBotsNotModified represents TL type `attachMenuBotsNotModified#f1d88a5c`. The list of bot mini apps hasn't changed See https://core.telegram.org/constructor/attachMenuBotsNotModified for reference. AsModified tries to map AttachMenuBotsNotModified to AttachMenuBots. Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*AttachMenuBotsNotModified) Zero() bool *AttachMenuBotsNotModified : AttachMenuBotsClass *AttachMenuBotsNotModified : github.com/gotd/td/bin.BareDecoder *AttachMenuBotsNotModified : github.com/gotd/td/bin.BareEncoder *AttachMenuBotsNotModified : github.com/gotd/td/bin.Decoder *AttachMenuBotsNotModified : github.com/gotd/td/bin.Encoder *AttachMenuBotsNotModified : github.com/gotd/td/bin.Object *AttachMenuBotsNotModified : github.com/gotd/td/tdp.Object *AttachMenuBotsNotModified : fmt.Stringer
AttachMenuPeerTypeBotPM represents TL type `attachMenuPeerTypeBotPM#c32bfa1a`. The bot attachment menu entry is available in private chats with other bots (excluding the bot that offers the current attachment menu) See https://core.telegram.org/constructor/attachMenuPeerTypeBotPM for reference. Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*AttachMenuPeerTypeBotPM) Zero() bool *AttachMenuPeerTypeBotPM : AttachMenuPeerTypeClass *AttachMenuPeerTypeBotPM : github.com/gotd/td/bin.BareDecoder *AttachMenuPeerTypeBotPM : github.com/gotd/td/bin.BareEncoder *AttachMenuPeerTypeBotPM : github.com/gotd/td/bin.Decoder *AttachMenuPeerTypeBotPM : github.com/gotd/td/bin.Encoder *AttachMenuPeerTypeBotPM : github.com/gotd/td/bin.Object *AttachMenuPeerTypeBotPM : github.com/gotd/td/tdp.Object *AttachMenuPeerTypeBotPM : fmt.Stringer
AttachMenuPeerType boxes the AttachMenuPeerTypeClass providing a helper. AttachMenuPeerType AttachMenuPeerTypeClass Decode implements bin.Decoder for AttachMenuPeerTypeBox. Encode implements bin.Encode for AttachMenuPeerTypeBox. *AttachMenuPeerTypeBox : github.com/gotd/td/bin.Decoder *AttachMenuPeerTypeBox : github.com/gotd/td/bin.Encoder *AttachMenuPeerTypeBox : github.com/gotd/td/bin.Object
AttachMenuPeerTypeBroadcast represents TL type `attachMenuPeerTypeBroadcast#7bfbdefc`. The bot attachment menu entry is available in channels See https://core.telegram.org/constructor/attachMenuPeerTypeBroadcast for reference. Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*AttachMenuPeerTypeBroadcast) Zero() bool *AttachMenuPeerTypeBroadcast : AttachMenuPeerTypeClass *AttachMenuPeerTypeBroadcast : github.com/gotd/td/bin.BareDecoder *AttachMenuPeerTypeBroadcast : github.com/gotd/td/bin.BareEncoder *AttachMenuPeerTypeBroadcast : github.com/gotd/td/bin.Decoder *AttachMenuPeerTypeBroadcast : github.com/gotd/td/bin.Encoder *AttachMenuPeerTypeBroadcast : github.com/gotd/td/bin.Object *AttachMenuPeerTypeBroadcast : github.com/gotd/td/tdp.Object *AttachMenuPeerTypeBroadcast : fmt.Stringer
AttachMenuPeerTypeChat represents TL type `attachMenuPeerTypeChat#509113f`. The bot attachment menu entry is available in groups and supergroups¹ Links: 1. https://core.telegram.org/api/channel See https://core.telegram.org/constructor/attachMenuPeerTypeChat for reference. Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*AttachMenuPeerTypeChat) Zero() bool *AttachMenuPeerTypeChat : AttachMenuPeerTypeClass *AttachMenuPeerTypeChat : github.com/gotd/td/bin.BareDecoder *AttachMenuPeerTypeChat : github.com/gotd/td/bin.BareEncoder *AttachMenuPeerTypeChat : github.com/gotd/td/bin.Decoder *AttachMenuPeerTypeChat : github.com/gotd/td/bin.Encoder *AttachMenuPeerTypeChat : github.com/gotd/td/bin.Object *AttachMenuPeerTypeChat : github.com/gotd/td/tdp.Object *AttachMenuPeerTypeChat : fmt.Stringer
AttachMenuPeerTypeClass represents AttachMenuPeerType generic type. See https://core.telegram.org/type/AttachMenuPeerType for reference. Example: g, err := tg.DecodeAttachMenuPeerType(buf) if err != nil { panic(err) } switch v := g.(type) { case *tg.AttachMenuPeerTypeSameBotPM: // attachMenuPeerTypeSameBotPM#7d6be90e case *tg.AttachMenuPeerTypeBotPM: // attachMenuPeerTypeBotPM#c32bfa1a case *tg.AttachMenuPeerTypePM: // attachMenuPeerTypePM#f146d31f case *tg.AttachMenuPeerTypeChat: // attachMenuPeerTypeChat#509113f case *tg.AttachMenuPeerTypeBroadcast: // attachMenuPeerTypeBroadcast#7bfbdefc default: panic(v) } ( AttachMenuPeerTypeClass) Decode(b *bin.Buffer) error ( AttachMenuPeerTypeClass) DecodeBare(b *bin.Buffer) error ( AttachMenuPeerTypeClass) Encode(b *bin.Buffer) error ( AttachMenuPeerTypeClass) EncodeBare(b *bin.Buffer) error String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeName returns name of type in TL schema. Zero returns true if current object has a zero value. *AttachMenuPeerTypeBotPM *AttachMenuPeerTypeBroadcast *AttachMenuPeerTypeChat *AttachMenuPeerTypePM *AttachMenuPeerTypeSameBotPM AttachMenuPeerTypeClass : github.com/gotd/td/bin.BareDecoder AttachMenuPeerTypeClass : github.com/gotd/td/bin.BareEncoder AttachMenuPeerTypeClass : github.com/gotd/td/bin.Decoder AttachMenuPeerTypeClass : github.com/gotd/td/bin.Encoder AttachMenuPeerTypeClass : github.com/gotd/td/bin.Object AttachMenuPeerTypeClass : fmt.Stringer func DecodeAttachMenuPeerType(buf *bin.Buffer) (AttachMenuPeerTypeClass, error) func (*AttachMenuBot).GetPeerTypes() (value []AttachMenuPeerTypeClass, ok bool) func AttachMenuPeerTypeClassArray.First() (v AttachMenuPeerTypeClass, ok bool) func AttachMenuPeerTypeClassArray.Last() (v AttachMenuPeerTypeClass, ok bool) func (*AttachMenuPeerTypeClassArray).Pop() (v AttachMenuPeerTypeClass, ok bool) func (*AttachMenuPeerTypeClassArray).PopFirst() (v AttachMenuPeerTypeClass, ok bool) func (*AttachMenuBot).SetPeerTypes(value []AttachMenuPeerTypeClass)
AttachMenuPeerTypeClassArray is adapter for slice of AttachMenuPeerTypeClass. First returns first element of slice (if exists). Last returns last element of slice (if exists). Pop returns last element of slice (if exists) and deletes it. PopFirst returns first element of slice (if exists) and deletes it. Retain filters in-place slice of AttachMenuPeerTypeClass. Sort sorts slice of AttachMenuPeerTypeClass. SortStable sorts slice of AttachMenuPeerTypeClass. func (*AttachMenuBot).MapPeerTypes() (value AttachMenuPeerTypeClassArray, ok bool) func AttachMenuPeerTypeClassArray.Retain(keep func(x AttachMenuPeerTypeClass) bool) AttachMenuPeerTypeClassArray func AttachMenuPeerTypeClassArray.Sort(less func(a, b AttachMenuPeerTypeClass) bool) AttachMenuPeerTypeClassArray func AttachMenuPeerTypeClassArray.SortStable(less func(a, b AttachMenuPeerTypeClass) bool) AttachMenuPeerTypeClassArray
AttachMenuPeerTypePM represents TL type `attachMenuPeerTypePM#f146d31f`. The bot attachment menu entry is available in private chats with other users (not bots) See https://core.telegram.org/constructor/attachMenuPeerTypePM for reference. Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*AttachMenuPeerTypePM) Zero() bool *AttachMenuPeerTypePM : AttachMenuPeerTypeClass *AttachMenuPeerTypePM : github.com/gotd/td/bin.BareDecoder *AttachMenuPeerTypePM : github.com/gotd/td/bin.BareEncoder *AttachMenuPeerTypePM : github.com/gotd/td/bin.Decoder *AttachMenuPeerTypePM : github.com/gotd/td/bin.Encoder *AttachMenuPeerTypePM : github.com/gotd/td/bin.Object *AttachMenuPeerTypePM : github.com/gotd/td/tdp.Object *AttachMenuPeerTypePM : fmt.Stringer
AttachMenuPeerTypeSameBotPM represents TL type `attachMenuPeerTypeSameBotPM#7d6be90e`. The bot attachment menu entry is available in the chat with the bot that offers it See https://core.telegram.org/constructor/attachMenuPeerTypeSameBotPM for reference. Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*AttachMenuPeerTypeSameBotPM) Zero() bool *AttachMenuPeerTypeSameBotPM : AttachMenuPeerTypeClass *AttachMenuPeerTypeSameBotPM : github.com/gotd/td/bin.BareDecoder *AttachMenuPeerTypeSameBotPM : github.com/gotd/td/bin.BareEncoder *AttachMenuPeerTypeSameBotPM : github.com/gotd/td/bin.Decoder *AttachMenuPeerTypeSameBotPM : github.com/gotd/td/bin.Encoder *AttachMenuPeerTypeSameBotPM : github.com/gotd/td/bin.Object *AttachMenuPeerTypeSameBotPM : github.com/gotd/td/tdp.Object *AttachMenuPeerTypeSameBotPM : fmt.Stringer
AuthAcceptLoginTokenRequest represents TL type `auth.acceptLoginToken#e894ad4d`. Accept QR code login token, logging in the app that generated it. Returns info about the new session. For more info, see login via QR code¹. Links: 1. https://core.telegram.org/api/qr-login See https://core.telegram.org/method/auth.acceptLoginToken for reference. Login token embedded in QR code, for more info, see login via QR code¹. Links: 1) https://core.telegram.org/api/qr-login Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. FillFrom fills AuthAcceptLoginTokenRequest from given interface. GetToken returns value of Token field. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*AuthAcceptLoginTokenRequest) Zero() bool *AuthAcceptLoginTokenRequest : github.com/gotd/td/bin.BareDecoder *AuthAcceptLoginTokenRequest : github.com/gotd/td/bin.BareEncoder *AuthAcceptLoginTokenRequest : github.com/gotd/td/bin.Decoder *AuthAcceptLoginTokenRequest : github.com/gotd/td/bin.Encoder *AuthAcceptLoginTokenRequest : github.com/gotd/td/bin.Object *AuthAcceptLoginTokenRequest : github.com/gotd/td/tdp.Object *AuthAcceptLoginTokenRequest : fmt.Stringer
AuthAuthorization represents TL type `auth.authorization#2ea2c0d4`. Contains user authorization info. See https://core.telegram.org/constructor/auth.authorization for reference. Flags, see TL conditional fields¹ Links: 1) https://core.telegram.org/mtproto/TL-combinators#conditional-fields A future auth token¹ Links: 1) https://core.telegram.org/api/auth#future-auth-tokens Use SetFutureAuthToken and GetFutureAuthToken helpers. Iff setup_password_required is set and the user declines to set a 2-step verification password, they will be able to log into their account via SMS again only after this many days pass. Use SetOtherwiseReloginDays and GetOtherwiseReloginDays helpers. Suggests the user to set up a 2-step verification password to be able to log in again Temporary passport¹ sessions Links: 1) https://core.telegram.org/passport Use SetTmpSessions and GetTmpSessions helpers. Info on authorized user Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. FillFrom fills AuthAuthorization from given interface. GetFutureAuthToken returns value of FutureAuthToken conditional field and boolean which is true if field was set. GetOtherwiseReloginDays returns value of OtherwiseReloginDays conditional field and boolean which is true if field was set. GetSetupPasswordRequired returns value of SetupPasswordRequired conditional field. GetTmpSessions returns value of TmpSessions conditional field and boolean which is true if field was set. GetUser returns value of User field. SetFlags sets flags for non-zero fields. SetFutureAuthToken sets value of FutureAuthToken conditional field. SetOtherwiseReloginDays sets value of OtherwiseReloginDays conditional field. SetSetupPasswordRequired sets value of SetupPasswordRequired conditional field. SetTmpSessions sets value of TmpSessions conditional field. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*AuthAuthorization) Zero() bool *AuthAuthorization : AuthAuthorizationClass *AuthAuthorization : github.com/gotd/td/bin.BareDecoder *AuthAuthorization : github.com/gotd/td/bin.BareEncoder *AuthAuthorization : github.com/gotd/td/bin.Decoder *AuthAuthorization : github.com/gotd/td/bin.Encoder *AuthAuthorization : github.com/gotd/td/bin.Object *AuthAuthorization : github.com/gotd/td/tdp.Object *AuthAuthorization : fmt.Stringer func AuthAuthorizationArray.First() (v AuthAuthorization, ok bool) func AuthAuthorizationArray.Last() (v AuthAuthorization, ok bool) func (*AuthAuthorizationArray).Pop() (v AuthAuthorization, ok bool) func (*AuthAuthorizationArray).PopFirst() (v AuthAuthorization, ok bool) func github.com/gotd/td/telegram/auth.(*Client).Bot(ctx context.Context, token string) (*AuthAuthorization, error) func github.com/gotd/td/telegram/auth.(*Client).Password(ctx context.Context, password string) (*AuthAuthorization, error) func github.com/gotd/td/telegram/auth.(*Client).SignIn(ctx context.Context, phone, code, codeHash string) (*AuthAuthorization, error) func github.com/gotd/td/telegram/auth.(*Client).SignUp(ctx context.Context, s auth.SignUp) (*AuthAuthorization, error) func github.com/gotd/td/telegram/auth.FlowClient.Password(ctx context.Context, password string) (*AuthAuthorization, error) func github.com/gotd/td/telegram/auth.FlowClient.SignIn(ctx context.Context, phone, code, codeHash string) (*AuthAuthorization, error) func github.com/gotd/td/telegram/auth.FlowClient.SignUp(ctx context.Context, s auth.SignUp) (*AuthAuthorization, error) func github.com/gotd/td/telegram/auth/qrlogin.QR.Auth(ctx context.Context, loggedIn qrlogin.LoggedIn, show func(ctx context.Context, token qrlogin.Token) error, exceptIDs ...int64) (*AuthAuthorization, error) func github.com/gotd/td/telegram/auth/qrlogin.QR.Import(ctx context.Context) (*AuthAuthorization, error)
AuthAuthorizationArray is adapter for slice of AuthAuthorization. First returns first element of slice (if exists). Last returns last element of slice (if exists). Pop returns last element of slice (if exists) and deletes it. PopFirst returns first element of slice (if exists) and deletes it. Retain filters in-place slice of AuthAuthorization. Sort sorts slice of AuthAuthorization. SortStable sorts slice of AuthAuthorization. func AuthAuthorizationArray.Retain(keep func(x AuthAuthorization) bool) AuthAuthorizationArray func AuthAuthorizationArray.Sort(less func(a, b AuthAuthorization) bool) AuthAuthorizationArray func AuthAuthorizationArray.SortStable(less func(a, b AuthAuthorization) bool) AuthAuthorizationArray func AuthAuthorizationClassArray.AsAuthAuthorization() (to AuthAuthorizationArray)
AuthAuthorization boxes the AuthAuthorizationClass providing a helper. Authorization AuthAuthorizationClass Decode implements bin.Decoder for AuthAuthorizationBox. Encode implements bin.Encode for AuthAuthorizationBox. *AuthAuthorizationBox : github.com/gotd/td/bin.Decoder *AuthAuthorizationBox : github.com/gotd/td/bin.Encoder *AuthAuthorizationBox : github.com/gotd/td/bin.Object
AuthAuthorizationClass represents auth.Authorization generic type. See https://core.telegram.org/type/auth.Authorization for reference. Example: g, err := tg.DecodeAuthAuthorization(buf) if err != nil { panic(err) } switch v := g.(type) { case *tg.AuthAuthorization: // auth.authorization#2ea2c0d4 case *tg.AuthAuthorizationSignUpRequired: // auth.authorizationSignUpRequired#44747e9a default: panic(v) } ( AuthAuthorizationClass) Decode(b *bin.Buffer) error ( AuthAuthorizationClass) DecodeBare(b *bin.Buffer) error ( AuthAuthorizationClass) Encode(b *bin.Buffer) error ( AuthAuthorizationClass) EncodeBare(b *bin.Buffer) error String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeName returns name of type in TL schema. Zero returns true if current object has a zero value. *AuthAuthorization *AuthAuthorizationSignUpRequired AuthAuthorizationClass : github.com/gotd/td/bin.BareDecoder AuthAuthorizationClass : github.com/gotd/td/bin.BareEncoder AuthAuthorizationClass : github.com/gotd/td/bin.Decoder AuthAuthorizationClass : github.com/gotd/td/bin.Encoder AuthAuthorizationClass : github.com/gotd/td/bin.Object AuthAuthorizationClass : fmt.Stringer func DecodeAuthAuthorization(buf *bin.Buffer) (AuthAuthorizationClass, error) func AuthAuthorizationClassArray.First() (v AuthAuthorizationClass, ok bool) func AuthAuthorizationClassArray.Last() (v AuthAuthorizationClass, ok bool) func (*AuthAuthorizationClassArray).Pop() (v AuthAuthorizationClass, ok bool) func (*AuthAuthorizationClassArray).PopFirst() (v AuthAuthorizationClass, ok bool) func (*AuthLoginTokenSuccess).GetAuthorization() (value AuthAuthorizationClass) func (*AuthSentCodeSuccess).GetAuthorization() (value AuthAuthorizationClass) func (*Client).AuthCheckPassword(ctx context.Context, password InputCheckPasswordSRPClass) (AuthAuthorizationClass, error) func (*Client).AuthImportAuthorization(ctx context.Context, request *AuthImportAuthorizationRequest) (AuthAuthorizationClass, error) func (*Client).AuthImportBotAuthorization(ctx context.Context, request *AuthImportBotAuthorizationRequest) (AuthAuthorizationClass, error) func (*Client).AuthImportWebTokenAuthorization(ctx context.Context, request *AuthImportWebTokenAuthorizationRequest) (AuthAuthorizationClass, error) func (*Client).AuthRecoverPassword(ctx context.Context, request *AuthRecoverPasswordRequest) (AuthAuthorizationClass, error) func (*Client).AuthSignIn(ctx context.Context, request *AuthSignInRequest) (AuthAuthorizationClass, error) func (*Client).AuthSignUp(ctx context.Context, request *AuthSignUpRequest) (AuthAuthorizationClass, error)
AuthAuthorizationClassArray is adapter for slice of AuthAuthorizationClass. AsAuthAuthorization returns copy with only AuthAuthorization constructors. AsAuthAuthorizationSignUpRequired returns copy with only AuthAuthorizationSignUpRequired constructors. First returns first element of slice (if exists). Last returns last element of slice (if exists). Pop returns last element of slice (if exists) and deletes it. PopFirst returns first element of slice (if exists) and deletes it. Retain filters in-place slice of AuthAuthorizationClass. Sort sorts slice of AuthAuthorizationClass. SortStable sorts slice of AuthAuthorizationClass. func AuthAuthorizationClassArray.Retain(keep func(x AuthAuthorizationClass) bool) AuthAuthorizationClassArray func AuthAuthorizationClassArray.Sort(less func(a, b AuthAuthorizationClass) bool) AuthAuthorizationClassArray func AuthAuthorizationClassArray.SortStable(less func(a, b AuthAuthorizationClass) bool) AuthAuthorizationClassArray
AuthAuthorizationSignUpRequired represents TL type `auth.authorizationSignUpRequired#44747e9a`. An account with this phone number doesn't exist on telegram: the user has to enter basic information and sign up¹ Links: 1. https://core.telegram.org/api/auth See https://core.telegram.org/constructor/auth.authorizationSignUpRequired for reference. Flags, see TL conditional fields¹ Links: 1) https://core.telegram.org/mtproto/TL-combinators#conditional-fields Telegram's terms of service: the user must read and accept the terms of service before signing up to telegram Use SetTermsOfService and GetTermsOfService helpers. Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. FillFrom fills AuthAuthorizationSignUpRequired from given interface. GetTermsOfService returns value of TermsOfService conditional field and boolean which is true if field was set. SetFlags sets flags for non-zero fields. SetTermsOfService sets value of TermsOfService conditional field. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*AuthAuthorizationSignUpRequired) Zero() bool *AuthAuthorizationSignUpRequired : AuthAuthorizationClass *AuthAuthorizationSignUpRequired : github.com/gotd/td/bin.BareDecoder *AuthAuthorizationSignUpRequired : github.com/gotd/td/bin.BareEncoder *AuthAuthorizationSignUpRequired : github.com/gotd/td/bin.Decoder *AuthAuthorizationSignUpRequired : github.com/gotd/td/bin.Encoder *AuthAuthorizationSignUpRequired : github.com/gotd/td/bin.Object *AuthAuthorizationSignUpRequired : github.com/gotd/td/tdp.Object *AuthAuthorizationSignUpRequired : fmt.Stringer func AuthAuthorizationSignUpRequiredArray.First() (v AuthAuthorizationSignUpRequired, ok bool) func AuthAuthorizationSignUpRequiredArray.Last() (v AuthAuthorizationSignUpRequired, ok bool) func (*AuthAuthorizationSignUpRequiredArray).Pop() (v AuthAuthorizationSignUpRequired, ok bool) func (*AuthAuthorizationSignUpRequiredArray).PopFirst() (v AuthAuthorizationSignUpRequired, ok bool)
AuthAuthorizationSignUpRequiredArray is adapter for slice of AuthAuthorizationSignUpRequired. First returns first element of slice (if exists). Last returns last element of slice (if exists). Pop returns last element of slice (if exists) and deletes it. PopFirst returns first element of slice (if exists) and deletes it. Retain filters in-place slice of AuthAuthorizationSignUpRequired. Sort sorts slice of AuthAuthorizationSignUpRequired. SortStable sorts slice of AuthAuthorizationSignUpRequired. func AuthAuthorizationClassArray.AsAuthAuthorizationSignUpRequired() (to AuthAuthorizationSignUpRequiredArray) func AuthAuthorizationSignUpRequiredArray.Retain(keep func(x AuthAuthorizationSignUpRequired) bool) AuthAuthorizationSignUpRequiredArray func AuthAuthorizationSignUpRequiredArray.Sort(less func(a, b AuthAuthorizationSignUpRequired) bool) AuthAuthorizationSignUpRequiredArray func AuthAuthorizationSignUpRequiredArray.SortStable(less func(a, b AuthAuthorizationSignUpRequired) bool) AuthAuthorizationSignUpRequiredArray
AuthBindTempAuthKeyRequest represents TL type `auth.bindTempAuthKey#cdd42a05`. Binds a temporary authorization key temp_auth_key_id to the permanent authorization key perm_auth_key_id. Each permanent key may only be bound to one temporary key at a time, binding a new temporary key overwrites the previous one. For more information, see Perfect Forward Secrecy¹. Links: 1. https://core.telegram.org/api/pfs See https://core.telegram.org/method/auth.bindTempAuthKey for reference. See Generating encrypted_message¹ Links: 1) https://core.telegram.org#generating-encrypted-message Unix timestamp to invalidate temporary key, see Binding message contents¹ Links: 1) https://core.telegram.org#binding-message-contents Random long from Binding message contents¹ Links: 1) https://core.telegram.org#binding-message-contents Permanent auth_key_id to bind to Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. FillFrom fills AuthBindTempAuthKeyRequest from given interface. GetEncryptedMessage returns value of EncryptedMessage field. GetExpiresAt returns value of ExpiresAt field. GetNonce returns value of Nonce field. GetPermAuthKeyID returns value of PermAuthKeyID field. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*AuthBindTempAuthKeyRequest) Zero() bool *AuthBindTempAuthKeyRequest : github.com/gotd/td/bin.BareDecoder *AuthBindTempAuthKeyRequest : github.com/gotd/td/bin.BareEncoder *AuthBindTempAuthKeyRequest : github.com/gotd/td/bin.Decoder *AuthBindTempAuthKeyRequest : github.com/gotd/td/bin.Encoder *AuthBindTempAuthKeyRequest : github.com/gotd/td/bin.Object *AuthBindTempAuthKeyRequest : github.com/gotd/td/tdp.Object *AuthBindTempAuthKeyRequest : fmt.Stringer func (*Client).AuthBindTempAuthKey(ctx context.Context, request *AuthBindTempAuthKeyRequest) (bool, error)
AuthCancelCodeRequest represents TL type `auth.cancelCode#1f040578`. Cancel the login verification code See https://core.telegram.org/method/auth.cancelCode for reference. Phone code hash from auth.sendCode¹ Links: 1) https://core.telegram.org/method/auth.sendCode Phone number Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. FillFrom fills AuthCancelCodeRequest from given interface. GetPhoneCodeHash returns value of PhoneCodeHash field. GetPhoneNumber returns value of PhoneNumber field. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*AuthCancelCodeRequest) Zero() bool *AuthCancelCodeRequest : github.com/gotd/td/bin.BareDecoder *AuthCancelCodeRequest : github.com/gotd/td/bin.BareEncoder *AuthCancelCodeRequest : github.com/gotd/td/bin.Decoder *AuthCancelCodeRequest : github.com/gotd/td/bin.Encoder *AuthCancelCodeRequest : github.com/gotd/td/bin.Object *AuthCancelCodeRequest : github.com/gotd/td/tdp.Object *AuthCancelCodeRequest : fmt.Stringer func (*Client).AuthCancelCode(ctx context.Context, request *AuthCancelCodeRequest) (bool, error)
AuthCheckPasswordRequest represents TL type `auth.checkPassword#d18b4d16`. Try logging to an account protected by a 2FA password¹. Links: 1. https://core.telegram.org/api/srp See https://core.telegram.org/method/auth.checkPassword for reference. The password (see SRP¹) Links: 1) https://core.telegram.org/api/srp Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. FillFrom fills AuthCheckPasswordRequest from given interface. GetPassword returns value of Password field. GetPasswordAsNotEmpty returns mapped value of Password field. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*AuthCheckPasswordRequest) Zero() bool *AuthCheckPasswordRequest : github.com/gotd/td/bin.BareDecoder *AuthCheckPasswordRequest : github.com/gotd/td/bin.BareEncoder *AuthCheckPasswordRequest : github.com/gotd/td/bin.Decoder *AuthCheckPasswordRequest : github.com/gotd/td/bin.Encoder *AuthCheckPasswordRequest : github.com/gotd/td/bin.Object *AuthCheckPasswordRequest : github.com/gotd/td/tdp.Object *AuthCheckPasswordRequest : fmt.Stringer
AuthCheckRecoveryPasswordRequest represents TL type `auth.checkRecoveryPassword#d36bf79`. Check if the 2FA recovery code¹ sent using auth.requestPasswordRecovery² is valid, before passing it to auth.recoverPassword³. Links: 1. https://core.telegram.org/api/srp 2. https://core.telegram.org/method/auth.requestPasswordRecovery 3. https://core.telegram.org/method/auth.recoverPassword See https://core.telegram.org/method/auth.checkRecoveryPassword for reference. The phone code that was received after setting a recovery email¹ Links: 1) https://core.telegram.org/api/srp#email-verification Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. FillFrom fills AuthCheckRecoveryPasswordRequest from given interface. GetCode returns value of Code field. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*AuthCheckRecoveryPasswordRequest) Zero() bool *AuthCheckRecoveryPasswordRequest : github.com/gotd/td/bin.BareDecoder *AuthCheckRecoveryPasswordRequest : github.com/gotd/td/bin.BareEncoder *AuthCheckRecoveryPasswordRequest : github.com/gotd/td/bin.Decoder *AuthCheckRecoveryPasswordRequest : github.com/gotd/td/bin.Encoder *AuthCheckRecoveryPasswordRequest : github.com/gotd/td/bin.Object *AuthCheckRecoveryPasswordRequest : github.com/gotd/td/tdp.Object *AuthCheckRecoveryPasswordRequest : fmt.Stringer
AuthCodeType boxes the AuthCodeTypeClass providing a helper. CodeType AuthCodeTypeClass Decode implements bin.Decoder for AuthCodeTypeBox. Encode implements bin.Encode for AuthCodeTypeBox. *AuthCodeTypeBox : github.com/gotd/td/bin.Decoder *AuthCodeTypeBox : github.com/gotd/td/bin.Encoder *AuthCodeTypeBox : github.com/gotd/td/bin.Object
AuthCodeTypeCall represents TL type `auth.codeTypeCall#741cd3e3`. The next time, the authentication code is to be delivered via an outgoing phone call. See https://core.telegram.org/constructor/auth.codeTypeCall for reference. Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*AuthCodeTypeCall) Zero() bool *AuthCodeTypeCall : AuthCodeTypeClass *AuthCodeTypeCall : github.com/gotd/td/bin.BareDecoder *AuthCodeTypeCall : github.com/gotd/td/bin.BareEncoder *AuthCodeTypeCall : github.com/gotd/td/bin.Decoder *AuthCodeTypeCall : github.com/gotd/td/bin.Encoder *AuthCodeTypeCall : github.com/gotd/td/bin.Object *AuthCodeTypeCall : github.com/gotd/td/tdp.Object *AuthCodeTypeCall : fmt.Stringer
AuthCodeTypeClass represents auth.CodeType generic type. See https://core.telegram.org/type/auth.CodeType for reference. Example: g, err := tg.DecodeAuthCodeType(buf) if err != nil { panic(err) } switch v := g.(type) { case *tg.AuthCodeTypeSMS: // auth.codeTypeSms#72a3158c case *tg.AuthCodeTypeCall: // auth.codeTypeCall#741cd3e3 case *tg.AuthCodeTypeFlashCall: // auth.codeTypeFlashCall#226ccefb case *tg.AuthCodeTypeMissedCall: // auth.codeTypeMissedCall#d61ad6ee case *tg.AuthCodeTypeFragmentSMS: // auth.codeTypeFragmentSms#6ed998c default: panic(v) } ( AuthCodeTypeClass) Decode(b *bin.Buffer) error ( AuthCodeTypeClass) DecodeBare(b *bin.Buffer) error ( AuthCodeTypeClass) Encode(b *bin.Buffer) error ( AuthCodeTypeClass) EncodeBare(b *bin.Buffer) error String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeName returns name of type in TL schema. Zero returns true if current object has a zero value. *AuthCodeTypeCall *AuthCodeTypeFlashCall *AuthCodeTypeFragmentSMS *AuthCodeTypeMissedCall *AuthCodeTypeSMS AuthCodeTypeClass : github.com/gotd/td/bin.BareDecoder AuthCodeTypeClass : github.com/gotd/td/bin.BareEncoder AuthCodeTypeClass : github.com/gotd/td/bin.Decoder AuthCodeTypeClass : github.com/gotd/td/bin.Encoder AuthCodeTypeClass : github.com/gotd/td/bin.Object AuthCodeTypeClass : fmt.Stringer func DecodeAuthCodeType(buf *bin.Buffer) (AuthCodeTypeClass, error) func AuthCodeTypeClassArray.First() (v AuthCodeTypeClass, ok bool) func AuthCodeTypeClassArray.Last() (v AuthCodeTypeClass, ok bool) func (*AuthCodeTypeClassArray).Pop() (v AuthCodeTypeClass, ok bool) func (*AuthCodeTypeClassArray).PopFirst() (v AuthCodeTypeClass, ok bool) func (*AuthSentCode).GetNextType() (value AuthCodeTypeClass, ok bool) func (*AuthSentCode).SetNextType(value AuthCodeTypeClass)
AuthCodeTypeClassArray is adapter for slice of AuthCodeTypeClass. First returns first element of slice (if exists). Last returns last element of slice (if exists). Pop returns last element of slice (if exists) and deletes it. PopFirst returns first element of slice (if exists) and deletes it. Retain filters in-place slice of AuthCodeTypeClass. Sort sorts slice of AuthCodeTypeClass. SortStable sorts slice of AuthCodeTypeClass. func AuthCodeTypeClassArray.Retain(keep func(x AuthCodeTypeClass) bool) AuthCodeTypeClassArray func AuthCodeTypeClassArray.Sort(less func(a, b AuthCodeTypeClass) bool) AuthCodeTypeClassArray func AuthCodeTypeClassArray.SortStable(less func(a, b AuthCodeTypeClass) bool) AuthCodeTypeClassArray
AuthCodeTypeFlashCall represents TL type `auth.codeTypeFlashCall#226ccefb`. The next time, the authentication code will be delivered via an immediately canceled incoming call. See https://core.telegram.org/constructor/auth.codeTypeFlashCall for reference. Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*AuthCodeTypeFlashCall) Zero() bool *AuthCodeTypeFlashCall : AuthCodeTypeClass *AuthCodeTypeFlashCall : github.com/gotd/td/bin.BareDecoder *AuthCodeTypeFlashCall : github.com/gotd/td/bin.BareEncoder *AuthCodeTypeFlashCall : github.com/gotd/td/bin.Decoder *AuthCodeTypeFlashCall : github.com/gotd/td/bin.Encoder *AuthCodeTypeFlashCall : github.com/gotd/td/bin.Object *AuthCodeTypeFlashCall : github.com/gotd/td/tdp.Object *AuthCodeTypeFlashCall : fmt.Stringer
AuthCodeTypeFragmentSMS represents TL type `auth.codeTypeFragmentSms#6ed998c`. The next time, the authentication code will be delivered via fragment.com¹ Links: 1. https://fragment.com See https://core.telegram.org/constructor/auth.codeTypeFragmentSms for reference. Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*AuthCodeTypeFragmentSMS) Zero() bool *AuthCodeTypeFragmentSMS : AuthCodeTypeClass *AuthCodeTypeFragmentSMS : github.com/gotd/td/bin.BareDecoder *AuthCodeTypeFragmentSMS : github.com/gotd/td/bin.BareEncoder *AuthCodeTypeFragmentSMS : github.com/gotd/td/bin.Decoder *AuthCodeTypeFragmentSMS : github.com/gotd/td/bin.Encoder *AuthCodeTypeFragmentSMS : github.com/gotd/td/bin.Object *AuthCodeTypeFragmentSMS : github.com/gotd/td/tdp.Object *AuthCodeTypeFragmentSMS : fmt.Stringer
AuthCodeTypeMissedCall represents TL type `auth.codeTypeMissedCall#d61ad6ee`. The next time, the authentication code will be delivered via an immediately canceled incoming call, handled manually by the user. See https://core.telegram.org/constructor/auth.codeTypeMissedCall for reference. Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*AuthCodeTypeMissedCall) Zero() bool *AuthCodeTypeMissedCall : AuthCodeTypeClass *AuthCodeTypeMissedCall : github.com/gotd/td/bin.BareDecoder *AuthCodeTypeMissedCall : github.com/gotd/td/bin.BareEncoder *AuthCodeTypeMissedCall : github.com/gotd/td/bin.Decoder *AuthCodeTypeMissedCall : github.com/gotd/td/bin.Encoder *AuthCodeTypeMissedCall : github.com/gotd/td/bin.Object *AuthCodeTypeMissedCall : github.com/gotd/td/tdp.Object *AuthCodeTypeMissedCall : fmt.Stringer
AuthCodeTypeSMS represents TL type `auth.codeTypeSms#72a3158c`. The next time, the authentication code will be delivered via an immediately canceled incoming call. See https://core.telegram.org/constructor/auth.codeTypeSms for reference. Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*AuthCodeTypeSMS) Zero() bool *AuthCodeTypeSMS : AuthCodeTypeClass *AuthCodeTypeSMS : github.com/gotd/td/bin.BareDecoder *AuthCodeTypeSMS : github.com/gotd/td/bin.BareEncoder *AuthCodeTypeSMS : github.com/gotd/td/bin.Decoder *AuthCodeTypeSMS : github.com/gotd/td/bin.Encoder *AuthCodeTypeSMS : github.com/gotd/td/bin.Object *AuthCodeTypeSMS : github.com/gotd/td/tdp.Object *AuthCodeTypeSMS : fmt.Stringer
AuthDropTempAuthKeysRequest represents TL type `auth.dropTempAuthKeys#8e48a188`. Delete all temporary authorization keys except for the ones specified See https://core.telegram.org/method/auth.dropTempAuthKeys for reference. The auth keys that shouldn't be dropped. Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. FillFrom fills AuthDropTempAuthKeysRequest from given interface. GetExceptAuthKeys returns value of ExceptAuthKeys field. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*AuthDropTempAuthKeysRequest) Zero() bool *AuthDropTempAuthKeysRequest : github.com/gotd/td/bin.BareDecoder *AuthDropTempAuthKeysRequest : github.com/gotd/td/bin.BareEncoder *AuthDropTempAuthKeysRequest : github.com/gotd/td/bin.Decoder *AuthDropTempAuthKeysRequest : github.com/gotd/td/bin.Encoder *AuthDropTempAuthKeysRequest : github.com/gotd/td/bin.Object *AuthDropTempAuthKeysRequest : github.com/gotd/td/tdp.Object *AuthDropTempAuthKeysRequest : fmt.Stringer
AuthExportAuthorizationRequest represents TL type `auth.exportAuthorization#e5bfffcd`. Returns data for copying authorization to another data-center. See https://core.telegram.org/method/auth.exportAuthorization for reference. Number of a target data-center Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. FillFrom fills AuthExportAuthorizationRequest from given interface. GetDCID returns value of DCID field. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*AuthExportAuthorizationRequest) Zero() bool *AuthExportAuthorizationRequest : github.com/gotd/td/bin.BareDecoder *AuthExportAuthorizationRequest : github.com/gotd/td/bin.BareEncoder *AuthExportAuthorizationRequest : github.com/gotd/td/bin.Decoder *AuthExportAuthorizationRequest : github.com/gotd/td/bin.Encoder *AuthExportAuthorizationRequest : github.com/gotd/td/bin.Object *AuthExportAuthorizationRequest : github.com/gotd/td/tdp.Object *AuthExportAuthorizationRequest : fmt.Stringer
AuthExportedAuthorization represents TL type `auth.exportedAuthorization#b434e2b8`. Data for copying of authorization between data centers. See https://core.telegram.org/constructor/auth.exportedAuthorization for reference. authorizes key current user identifier Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. FillFrom fills AuthExportedAuthorization from given interface. GetBytes returns value of Bytes field. GetID returns value of ID field. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*AuthExportedAuthorization) Zero() bool *AuthExportedAuthorization : github.com/gotd/td/bin.BareDecoder *AuthExportedAuthorization : github.com/gotd/td/bin.BareEncoder *AuthExportedAuthorization : github.com/gotd/td/bin.Decoder *AuthExportedAuthorization : github.com/gotd/td/bin.Encoder *AuthExportedAuthorization : github.com/gotd/td/bin.Object *AuthExportedAuthorization : github.com/gotd/td/tdp.Object *AuthExportedAuthorization : fmt.Stringer func (*Client).AuthExportAuthorization(ctx context.Context, dcid int) (*AuthExportedAuthorization, error)
AuthExportLoginTokenRequest represents TL type `auth.exportLoginToken#b7e085fe`. Generate a login token, for login via QR code¹. The generated login token should be encoded using base64url, then shown as a tg://login?token=base64encodedtoken deep link »² in the QR code. For more info, see login via QR code¹. Links: 1. https://core.telegram.org/api/qr-login 2. https://core.telegram.org/api/links#qr-code-login-links 3. https://core.telegram.org/api/qr-login See https://core.telegram.org/method/auth.exportLoginToken for reference. Application identifier hash (see. App configuration¹) Links: 1) https://core.telegram.org/myapp Application identifier (see. App configuration¹) Links: 1) https://core.telegram.org/myapp List of already logged-in user IDs, to prevent logging in twice with the same user Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. FillFrom fills AuthExportLoginTokenRequest from given interface. GetAPIHash returns value of APIHash field. GetAPIID returns value of APIID field. GetExceptIDs returns value of ExceptIDs field. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*AuthExportLoginTokenRequest) Zero() bool *AuthExportLoginTokenRequest : github.com/gotd/td/bin.BareDecoder *AuthExportLoginTokenRequest : github.com/gotd/td/bin.BareEncoder *AuthExportLoginTokenRequest : github.com/gotd/td/bin.Decoder *AuthExportLoginTokenRequest : github.com/gotd/td/bin.Encoder *AuthExportLoginTokenRequest : github.com/gotd/td/bin.Object *AuthExportLoginTokenRequest : github.com/gotd/td/tdp.Object *AuthExportLoginTokenRequest : fmt.Stringer func (*Client).AuthExportLoginToken(ctx context.Context, request *AuthExportLoginTokenRequest) (AuthLoginTokenClass, error)
AuthImportAuthorizationRequest represents TL type `auth.importAuthorization#a57a7dad`. Logs in a user using a key transmitted from his native data-center. See https://core.telegram.org/method/auth.importAuthorization for reference. authorizes key current user identifier Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. FillFrom fills AuthImportAuthorizationRequest from given interface. GetBytes returns value of Bytes field. GetID returns value of ID field. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*AuthImportAuthorizationRequest) Zero() bool *AuthImportAuthorizationRequest : github.com/gotd/td/bin.BareDecoder *AuthImportAuthorizationRequest : github.com/gotd/td/bin.BareEncoder *AuthImportAuthorizationRequest : github.com/gotd/td/bin.Decoder *AuthImportAuthorizationRequest : github.com/gotd/td/bin.Encoder *AuthImportAuthorizationRequest : github.com/gotd/td/bin.Object *AuthImportAuthorizationRequest : github.com/gotd/td/tdp.Object *AuthImportAuthorizationRequest : fmt.Stringer func (*Client).AuthImportAuthorization(ctx context.Context, request *AuthImportAuthorizationRequest) (AuthAuthorizationClass, error)
AuthImportBotAuthorizationRequest represents TL type `auth.importBotAuthorization#67a3ff2c`. Login as a bot See https://core.telegram.org/method/auth.importBotAuthorization for reference. Application identifier hash (see. App configuration¹) Links: 1) https://core.telegram.org/myapp Application identifier (see. App configuration¹) Links: 1) https://core.telegram.org/myapp Bot token (see bots¹) Links: 1) https://core.telegram.org/bots Reserved for future use Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. FillFrom fills AuthImportBotAuthorizationRequest from given interface. GetAPIHash returns value of APIHash field. GetAPIID returns value of APIID field. GetBotAuthToken returns value of BotAuthToken field. GetFlags returns value of Flags field. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*AuthImportBotAuthorizationRequest) Zero() bool *AuthImportBotAuthorizationRequest : github.com/gotd/td/bin.BareDecoder *AuthImportBotAuthorizationRequest : github.com/gotd/td/bin.BareEncoder *AuthImportBotAuthorizationRequest : github.com/gotd/td/bin.Decoder *AuthImportBotAuthorizationRequest : github.com/gotd/td/bin.Encoder *AuthImportBotAuthorizationRequest : github.com/gotd/td/bin.Object *AuthImportBotAuthorizationRequest : github.com/gotd/td/tdp.Object *AuthImportBotAuthorizationRequest : fmt.Stringer func (*Client).AuthImportBotAuthorization(ctx context.Context, request *AuthImportBotAuthorizationRequest) (AuthAuthorizationClass, error)
AuthImportLoginTokenRequest represents TL type `auth.importLoginToken#95ac5ce4`. Login using a redirected login token, generated in case of DC mismatch during QR code login¹. For more info, see login via QR code¹. Links: 1. https://core.telegram.org/api/qr-login 2. https://core.telegram.org/api/qr-login See https://core.telegram.org/method/auth.importLoginToken for reference. Login token embedded in QR code, for more info, see login via QR code¹. Links: 1) https://core.telegram.org/api/qr-login Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. FillFrom fills AuthImportLoginTokenRequest from given interface. GetToken returns value of Token field. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*AuthImportLoginTokenRequest) Zero() bool *AuthImportLoginTokenRequest : github.com/gotd/td/bin.BareDecoder *AuthImportLoginTokenRequest : github.com/gotd/td/bin.BareEncoder *AuthImportLoginTokenRequest : github.com/gotd/td/bin.Decoder *AuthImportLoginTokenRequest : github.com/gotd/td/bin.Encoder *AuthImportLoginTokenRequest : github.com/gotd/td/bin.Object *AuthImportLoginTokenRequest : github.com/gotd/td/tdp.Object *AuthImportLoginTokenRequest : fmt.Stringer
AuthImportWebTokenAuthorizationRequest represents TL type `auth.importWebTokenAuthorization#2db873a9`. Login by importing an authorization token See https://core.telegram.org/method/auth.importWebTokenAuthorization for reference. API hash¹ Links: 1) https://core.telegram.org/api/obtaining_api_id API ID¹ Links: 1) https://core.telegram.org/api/obtaining_api_id The authorization token Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. FillFrom fills AuthImportWebTokenAuthorizationRequest from given interface. GetAPIHash returns value of APIHash field. GetAPIID returns value of APIID field. GetWebAuthToken returns value of WebAuthToken field. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*AuthImportWebTokenAuthorizationRequest) Zero() bool *AuthImportWebTokenAuthorizationRequest : github.com/gotd/td/bin.BareDecoder *AuthImportWebTokenAuthorizationRequest : github.com/gotd/td/bin.BareEncoder *AuthImportWebTokenAuthorizationRequest : github.com/gotd/td/bin.Decoder *AuthImportWebTokenAuthorizationRequest : github.com/gotd/td/bin.Encoder *AuthImportWebTokenAuthorizationRequest : github.com/gotd/td/bin.Object *AuthImportWebTokenAuthorizationRequest : github.com/gotd/td/tdp.Object *AuthImportWebTokenAuthorizationRequest : fmt.Stringer func (*Client).AuthImportWebTokenAuthorization(ctx context.Context, request *AuthImportWebTokenAuthorizationRequest) (AuthAuthorizationClass, error)
AuthLoggedOut represents TL type `auth.loggedOut#c3a2835f`. Future auth token »¹ to be used on subsequent authorizations Links: 1. https://core.telegram.org/api/auth#future-auth-tokens See https://core.telegram.org/constructor/auth.loggedOut for reference. Flags, see TL conditional fields¹ Links: 1) https://core.telegram.org/mtproto/TL-combinators#conditional-fields Future auth token »¹ to be used on subsequent authorizations Links: 1) https://core.telegram.org/api/auth#future-auth-tokens Use SetFutureAuthToken and GetFutureAuthToken helpers. Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. FillFrom fills AuthLoggedOut from given interface. GetFutureAuthToken returns value of FutureAuthToken conditional field and boolean which is true if field was set. SetFlags sets flags for non-zero fields. SetFutureAuthToken sets value of FutureAuthToken conditional field. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*AuthLoggedOut) Zero() bool *AuthLoggedOut : github.com/gotd/td/bin.BareDecoder *AuthLoggedOut : github.com/gotd/td/bin.BareEncoder *AuthLoggedOut : github.com/gotd/td/bin.Decoder *AuthLoggedOut : github.com/gotd/td/bin.Encoder *AuthLoggedOut : github.com/gotd/td/bin.Object *AuthLoggedOut : github.com/gotd/td/tdp.Object *AuthLoggedOut : fmt.Stringer func (*Client).AuthLogOut(ctx context.Context) (*AuthLoggedOut, error)
AuthLoginToken represents TL type `auth.loginToken#629f1980`. Login token (for QR code login¹) Links: 1. https://core.telegram.org/api/qr-login See https://core.telegram.org/constructor/auth.loginToken for reference. Expiration date of QR code Token to render in QR code Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. FillFrom fills AuthLoginToken from given interface. GetExpires returns value of Expires field. GetToken returns value of Token field. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*AuthLoginToken) Zero() bool *AuthLoginToken : AuthLoginTokenClass *AuthLoginToken : github.com/gotd/td/bin.BareDecoder *AuthLoginToken : github.com/gotd/td/bin.BareEncoder *AuthLoginToken : github.com/gotd/td/bin.Decoder *AuthLoginToken : github.com/gotd/td/bin.Encoder *AuthLoginToken : github.com/gotd/td/bin.Object *AuthLoginToken : github.com/gotd/td/tdp.Object *AuthLoginToken : fmt.Stringer func AuthLoginTokenArray.First() (v AuthLoginToken, ok bool) func AuthLoginTokenArray.Last() (v AuthLoginToken, ok bool) func (*AuthLoginTokenArray).Pop() (v AuthLoginToken, ok bool) func (*AuthLoginTokenArray).PopFirst() (v AuthLoginToken, ok bool)
AuthLoginTokenArray is adapter for slice of AuthLoginToken. First returns first element of slice (if exists). Last returns last element of slice (if exists). Pop returns last element of slice (if exists) and deletes it. PopFirst returns first element of slice (if exists) and deletes it. Retain filters in-place slice of AuthLoginToken. Sort sorts slice of AuthLoginToken. SortStable sorts slice of AuthLoginToken. func AuthLoginTokenArray.Retain(keep func(x AuthLoginToken) bool) AuthLoginTokenArray func AuthLoginTokenArray.Sort(less func(a, b AuthLoginToken) bool) AuthLoginTokenArray func AuthLoginTokenArray.SortStable(less func(a, b AuthLoginToken) bool) AuthLoginTokenArray func AuthLoginTokenClassArray.AsAuthLoginToken() (to AuthLoginTokenArray)
AuthLoginToken boxes the AuthLoginTokenClass providing a helper. LoginToken AuthLoginTokenClass Decode implements bin.Decoder for AuthLoginTokenBox. Encode implements bin.Encode for AuthLoginTokenBox. *AuthLoginTokenBox : github.com/gotd/td/bin.Decoder *AuthLoginTokenBox : github.com/gotd/td/bin.Encoder *AuthLoginTokenBox : github.com/gotd/td/bin.Object
AuthLoginTokenClass represents auth.LoginToken generic type. See https://core.telegram.org/type/auth.LoginToken for reference. Example: g, err := tg.DecodeAuthLoginToken(buf) if err != nil { panic(err) } switch v := g.(type) { case *tg.AuthLoginToken: // auth.loginToken#629f1980 case *tg.AuthLoginTokenMigrateTo: // auth.loginTokenMigrateTo#68e9916 case *tg.AuthLoginTokenSuccess: // auth.loginTokenSuccess#390d5c5e default: panic(v) } ( AuthLoginTokenClass) Decode(b *bin.Buffer) error ( AuthLoginTokenClass) DecodeBare(b *bin.Buffer) error ( AuthLoginTokenClass) Encode(b *bin.Buffer) error ( AuthLoginTokenClass) EncodeBare(b *bin.Buffer) error String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeName returns name of type in TL schema. Zero returns true if current object has a zero value. *AuthLoginToken *AuthLoginTokenMigrateTo *AuthLoginTokenSuccess AuthLoginTokenClass : github.com/gotd/td/bin.BareDecoder AuthLoginTokenClass : github.com/gotd/td/bin.BareEncoder AuthLoginTokenClass : github.com/gotd/td/bin.Decoder AuthLoginTokenClass : github.com/gotd/td/bin.Encoder AuthLoginTokenClass : github.com/gotd/td/bin.Object AuthLoginTokenClass : fmt.Stringer func DecodeAuthLoginToken(buf *bin.Buffer) (AuthLoginTokenClass, error) func AuthLoginTokenClassArray.First() (v AuthLoginTokenClass, ok bool) func AuthLoginTokenClassArray.Last() (v AuthLoginTokenClass, ok bool) func (*AuthLoginTokenClassArray).Pop() (v AuthLoginTokenClass, ok bool) func (*AuthLoginTokenClassArray).PopFirst() (v AuthLoginTokenClass, ok bool) func (*Client).AuthExportLoginToken(ctx context.Context, request *AuthExportLoginTokenRequest) (AuthLoginTokenClass, error) func (*Client).AuthImportLoginToken(ctx context.Context, token []byte) (AuthLoginTokenClass, error)
AuthLoginTokenClassArray is adapter for slice of AuthLoginTokenClass. AsAuthLoginToken returns copy with only AuthLoginToken constructors. AsAuthLoginTokenMigrateTo returns copy with only AuthLoginTokenMigrateTo constructors. AsAuthLoginTokenSuccess returns copy with only AuthLoginTokenSuccess constructors. First returns first element of slice (if exists). Last returns last element of slice (if exists). Pop returns last element of slice (if exists) and deletes it. PopFirst returns first element of slice (if exists) and deletes it. Retain filters in-place slice of AuthLoginTokenClass. Sort sorts slice of AuthLoginTokenClass. SortStable sorts slice of AuthLoginTokenClass. func AuthLoginTokenClassArray.Retain(keep func(x AuthLoginTokenClass) bool) AuthLoginTokenClassArray func AuthLoginTokenClassArray.Sort(less func(a, b AuthLoginTokenClass) bool) AuthLoginTokenClassArray func AuthLoginTokenClassArray.SortStable(less func(a, b AuthLoginTokenClass) bool) AuthLoginTokenClassArray
AuthLoginTokenMigrateTo represents TL type `auth.loginTokenMigrateTo#68e9916`. Repeat the query to the specified DC See https://core.telegram.org/constructor/auth.loginTokenMigrateTo for reference. DC ID Token to use for login Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. FillFrom fills AuthLoginTokenMigrateTo from given interface. GetDCID returns value of DCID field. GetToken returns value of Token field. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*AuthLoginTokenMigrateTo) Zero() bool *AuthLoginTokenMigrateTo : AuthLoginTokenClass *AuthLoginTokenMigrateTo : github.com/gotd/td/bin.BareDecoder *AuthLoginTokenMigrateTo : github.com/gotd/td/bin.BareEncoder *AuthLoginTokenMigrateTo : github.com/gotd/td/bin.Decoder *AuthLoginTokenMigrateTo : github.com/gotd/td/bin.Encoder *AuthLoginTokenMigrateTo : github.com/gotd/td/bin.Object *AuthLoginTokenMigrateTo : github.com/gotd/td/tdp.Object *AuthLoginTokenMigrateTo : fmt.Stringer func AuthLoginTokenMigrateToArray.First() (v AuthLoginTokenMigrateTo, ok bool) func AuthLoginTokenMigrateToArray.Last() (v AuthLoginTokenMigrateTo, ok bool) func (*AuthLoginTokenMigrateToArray).Pop() (v AuthLoginTokenMigrateTo, ok bool) func (*AuthLoginTokenMigrateToArray).PopFirst() (v AuthLoginTokenMigrateTo, ok bool)
AuthLoginTokenMigrateToArray is adapter for slice of AuthLoginTokenMigrateTo. First returns first element of slice (if exists). Last returns last element of slice (if exists). Pop returns last element of slice (if exists) and deletes it. PopFirst returns first element of slice (if exists) and deletes it. Retain filters in-place slice of AuthLoginTokenMigrateTo. Sort sorts slice of AuthLoginTokenMigrateTo. SortStable sorts slice of AuthLoginTokenMigrateTo. func AuthLoginTokenClassArray.AsAuthLoginTokenMigrateTo() (to AuthLoginTokenMigrateToArray) func AuthLoginTokenMigrateToArray.Retain(keep func(x AuthLoginTokenMigrateTo) bool) AuthLoginTokenMigrateToArray func AuthLoginTokenMigrateToArray.Sort(less func(a, b AuthLoginTokenMigrateTo) bool) AuthLoginTokenMigrateToArray func AuthLoginTokenMigrateToArray.SortStable(less func(a, b AuthLoginTokenMigrateTo) bool) AuthLoginTokenMigrateToArray
AuthLoginTokenSuccess represents TL type `auth.loginTokenSuccess#390d5c5e`. Login via token (QR code) succeeded! See https://core.telegram.org/constructor/auth.loginTokenSuccess for reference. Authorization AuthAuthorizationClass Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. FillFrom fills AuthLoginTokenSuccess from given interface. GetAuthorization returns value of Authorization field. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*AuthLoginTokenSuccess) Zero() bool *AuthLoginTokenSuccess : AuthLoginTokenClass *AuthLoginTokenSuccess : github.com/gotd/td/bin.BareDecoder *AuthLoginTokenSuccess : github.com/gotd/td/bin.BareEncoder *AuthLoginTokenSuccess : github.com/gotd/td/bin.Decoder *AuthLoginTokenSuccess : github.com/gotd/td/bin.Encoder *AuthLoginTokenSuccess : github.com/gotd/td/bin.Object *AuthLoginTokenSuccess : github.com/gotd/td/tdp.Object *AuthLoginTokenSuccess : fmt.Stringer func AuthLoginTokenSuccessArray.First() (v AuthLoginTokenSuccess, ok bool) func AuthLoginTokenSuccessArray.Last() (v AuthLoginTokenSuccess, ok bool) func (*AuthLoginTokenSuccessArray).Pop() (v AuthLoginTokenSuccess, ok bool) func (*AuthLoginTokenSuccessArray).PopFirst() (v AuthLoginTokenSuccess, ok bool)
AuthLoginTokenSuccessArray is adapter for slice of AuthLoginTokenSuccess. First returns first element of slice (if exists). Last returns last element of slice (if exists). Pop returns last element of slice (if exists) and deletes it. PopFirst returns first element of slice (if exists) and deletes it. Retain filters in-place slice of AuthLoginTokenSuccess. Sort sorts slice of AuthLoginTokenSuccess. SortStable sorts slice of AuthLoginTokenSuccess. func AuthLoginTokenClassArray.AsAuthLoginTokenSuccess() (to AuthLoginTokenSuccessArray) func AuthLoginTokenSuccessArray.Retain(keep func(x AuthLoginTokenSuccess) bool) AuthLoginTokenSuccessArray func AuthLoginTokenSuccessArray.Sort(less func(a, b AuthLoginTokenSuccess) bool) AuthLoginTokenSuccessArray func AuthLoginTokenSuccessArray.SortStable(less func(a, b AuthLoginTokenSuccess) bool) AuthLoginTokenSuccessArray
AuthLogOutRequest represents TL type `auth.logOut#3e72ba19`. Logs out the user. See https://core.telegram.org/method/auth.logOut for reference. Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*AuthLogOutRequest) Zero() bool *AuthLogOutRequest : github.com/gotd/td/bin.BareDecoder *AuthLogOutRequest : github.com/gotd/td/bin.BareEncoder *AuthLogOutRequest : github.com/gotd/td/bin.Decoder *AuthLogOutRequest : github.com/gotd/td/bin.Encoder *AuthLogOutRequest : github.com/gotd/td/bin.Object *AuthLogOutRequest : github.com/gotd/td/tdp.Object *AuthLogOutRequest : fmt.Stringer
Authorization represents TL type `authorization#ad01d61d`. Logged-in session See https://core.telegram.org/constructor/authorization for reference. API ID¹ Links: 1) https://core.telegram.org/api/obtaining_api_id App name App version Whether this session will accept phone calls Country determined from IP Whether this is the current session When was the session last active When was the session created Device model Whether this session will accept encrypted chats Flags, see TL conditional fields¹ Links: 1) https://core.telegram.org/mtproto/TL-combinators#conditional-fields Identifier Last known IP Whether the session is from an official app Whether the session is still waiting for a 2FA password Platform Region determined from IP System version Whether the session is unconfirmed, see here »¹ for more info. Links: 1) https://core.telegram.org/api/auth#confirming-login Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. FillFrom fills Authorization from given interface. GetAPIID returns value of APIID field. GetAppName returns value of AppName field. GetAppVersion returns value of AppVersion field. GetCallRequestsDisabled returns value of CallRequestsDisabled conditional field. GetCountry returns value of Country field. GetCurrent returns value of Current conditional field. GetDateActive returns value of DateActive field. GetDateCreated returns value of DateCreated field. GetDeviceModel returns value of DeviceModel field. GetEncryptedRequestsDisabled returns value of EncryptedRequestsDisabled conditional field. GetHash returns value of Hash field. GetIP returns value of IP field. GetOfficialApp returns value of OfficialApp conditional field. GetPasswordPending returns value of PasswordPending conditional field. GetPlatform returns value of Platform field. GetRegion returns value of Region field. GetSystemVersion returns value of SystemVersion field. GetUnconfirmed returns value of Unconfirmed conditional field. SetCallRequestsDisabled sets value of CallRequestsDisabled conditional field. SetCurrent sets value of Current conditional field. SetEncryptedRequestsDisabled sets value of EncryptedRequestsDisabled conditional field. SetFlags sets flags for non-zero fields. SetOfficialApp sets value of OfficialApp conditional field. SetPasswordPending sets value of PasswordPending conditional field. SetUnconfirmed sets value of Unconfirmed conditional field. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*Authorization) Zero() bool *Authorization : github.com/gotd/td/bin.BareDecoder *Authorization : github.com/gotd/td/bin.BareEncoder *Authorization : github.com/gotd/td/bin.Decoder *Authorization : github.com/gotd/td/bin.Encoder *Authorization : github.com/gotd/td/bin.Object *Authorization : github.com/gotd/td/tdp.Object *Authorization : fmt.Stringer func (*AccountAuthorizations).GetAuthorizations() (value []Authorization) func (*Client).AuthAcceptLoginToken(ctx context.Context, token []byte) (*Authorization, error) func github.com/gotd/td/telegram/auth/qrlogin.AcceptQR(ctx context.Context, raw *Client, t qrlogin.Token) (*Authorization, error) func github.com/gotd/td/telegram/auth/qrlogin.QR.Accept(ctx context.Context, t qrlogin.Token) (*Authorization, error)
AuthPasswordRecovery represents TL type `auth.passwordRecovery#137948a5`. Recovery info of a 2FA password¹, only for accounts with a recovery email configured². Links: 1. https://core.telegram.org/api/srp 2. https://core.telegram.org/api/srp#email-verification See https://core.telegram.org/constructor/auth.passwordRecovery for reference. The email to which the recovery code was sent must match this pattern¹. Links: 1) https://core.telegram.org/api/pattern Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. FillFrom fills AuthPasswordRecovery from given interface. GetEmailPattern returns value of EmailPattern field. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*AuthPasswordRecovery) Zero() bool *AuthPasswordRecovery : github.com/gotd/td/bin.BareDecoder *AuthPasswordRecovery : github.com/gotd/td/bin.BareEncoder *AuthPasswordRecovery : github.com/gotd/td/bin.Decoder *AuthPasswordRecovery : github.com/gotd/td/bin.Encoder *AuthPasswordRecovery : github.com/gotd/td/bin.Object *AuthPasswordRecovery : github.com/gotd/td/tdp.Object *AuthPasswordRecovery : fmt.Stringer func (*Client).AuthRequestPasswordRecovery(ctx context.Context) (*AuthPasswordRecovery, error)
AuthRecoverPasswordRequest represents TL type `auth.recoverPassword#37096c70`. Reset the 2FA password¹ using the recovery code sent using auth requestPasswordRecovery². Links: 1. https://core.telegram.org/api/srp 2. https://core.telegram.org/method/auth.requestPasswordRecovery See https://core.telegram.org/method/auth.recoverPassword for reference. Code received via email Flags, see TL conditional fields¹ Links: 1) https://core.telegram.org/mtproto/TL-combinators#conditional-fields New password Use SetNewSettings and GetNewSettings helpers. Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. FillFrom fills AuthRecoverPasswordRequest from given interface. GetCode returns value of Code field. GetNewSettings returns value of NewSettings conditional field and boolean which is true if field was set. SetFlags sets flags for non-zero fields. SetNewSettings sets value of NewSettings conditional field. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*AuthRecoverPasswordRequest) Zero() bool *AuthRecoverPasswordRequest : github.com/gotd/td/bin.BareDecoder *AuthRecoverPasswordRequest : github.com/gotd/td/bin.BareEncoder *AuthRecoverPasswordRequest : github.com/gotd/td/bin.Decoder *AuthRecoverPasswordRequest : github.com/gotd/td/bin.Encoder *AuthRecoverPasswordRequest : github.com/gotd/td/bin.Object *AuthRecoverPasswordRequest : github.com/gotd/td/tdp.Object *AuthRecoverPasswordRequest : fmt.Stringer func (*Client).AuthRecoverPassword(ctx context.Context, request *AuthRecoverPasswordRequest) (AuthAuthorizationClass, error)
AuthRequestFirebaseSMSRequest represents TL type `auth.requestFirebaseSms#89464b50`. Request an SMS code via Firebase. See https://core.telegram.org/method/auth.requestFirebaseSms for reference. Flags, see TL conditional fields¹ Links: 1) https://core.telegram.org/mtproto/TL-combinators#conditional-fields Secret token received via an apple push notification Use SetIosPushSecret and GetIosPushSecret helpers. Phone code hash returned by auth.sendCode¹ Links: 1) https://core.telegram.org/method/auth.sendCode Phone number On Android, a JWS object obtained as described in the auth documentation »¹ Links: 1) https://core.telegram.org/api/auth Use SetSafetyNetToken and GetSafetyNetToken helpers. Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. FillFrom fills AuthRequestFirebaseSMSRequest from given interface. GetIosPushSecret returns value of IosPushSecret conditional field and boolean which is true if field was set. GetPhoneCodeHash returns value of PhoneCodeHash field. GetPhoneNumber returns value of PhoneNumber field. GetSafetyNetToken returns value of SafetyNetToken conditional field and boolean which is true if field was set. SetFlags sets flags for non-zero fields. SetIosPushSecret sets value of IosPushSecret conditional field. SetSafetyNetToken sets value of SafetyNetToken conditional field. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*AuthRequestFirebaseSMSRequest) Zero() bool *AuthRequestFirebaseSMSRequest : github.com/gotd/td/bin.BareDecoder *AuthRequestFirebaseSMSRequest : github.com/gotd/td/bin.BareEncoder *AuthRequestFirebaseSMSRequest : github.com/gotd/td/bin.Decoder *AuthRequestFirebaseSMSRequest : github.com/gotd/td/bin.Encoder *AuthRequestFirebaseSMSRequest : github.com/gotd/td/bin.Object *AuthRequestFirebaseSMSRequest : github.com/gotd/td/tdp.Object *AuthRequestFirebaseSMSRequest : fmt.Stringer func (*Client).AuthRequestFirebaseSMS(ctx context.Context, request *AuthRequestFirebaseSMSRequest) (bool, error)
AuthRequestPasswordRecoveryRequest represents TL type `auth.requestPasswordRecovery#d897bc66`. Request recovery code of a 2FA password¹, only for accounts with a recovery email configured². Links: 1. https://core.telegram.org/api/srp 2. https://core.telegram.org/api/srp#email-verification See https://core.telegram.org/method/auth.requestPasswordRecovery for reference. Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*AuthRequestPasswordRecoveryRequest) Zero() bool *AuthRequestPasswordRecoveryRequest : github.com/gotd/td/bin.BareDecoder *AuthRequestPasswordRecoveryRequest : github.com/gotd/td/bin.BareEncoder *AuthRequestPasswordRecoveryRequest : github.com/gotd/td/bin.Decoder *AuthRequestPasswordRecoveryRequest : github.com/gotd/td/bin.Encoder *AuthRequestPasswordRecoveryRequest : github.com/gotd/td/bin.Object *AuthRequestPasswordRecoveryRequest : github.com/gotd/td/tdp.Object *AuthRequestPasswordRecoveryRequest : fmt.Stringer
AuthResendCodeRequest represents TL type `auth.resendCode#3ef1a9bf`. Resend the login code via another medium, the phone code type is determined by the return value of the previous auth.sendCode/auth.resendCode: see login¹ for more info. Links: 1. https://core.telegram.org/api/auth See https://core.telegram.org/method/auth.resendCode for reference. Phone code hash from auth.sendCode¹ Links: 1) https://core.telegram.org/method/auth.sendCode Phone number Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. FillFrom fills AuthResendCodeRequest from given interface. GetPhoneCodeHash returns value of PhoneCodeHash field. GetPhoneNumber returns value of PhoneNumber field. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*AuthResendCodeRequest) Zero() bool *AuthResendCodeRequest : github.com/gotd/td/bin.BareDecoder *AuthResendCodeRequest : github.com/gotd/td/bin.BareEncoder *AuthResendCodeRequest : github.com/gotd/td/bin.Decoder *AuthResendCodeRequest : github.com/gotd/td/bin.Encoder *AuthResendCodeRequest : github.com/gotd/td/bin.Object *AuthResendCodeRequest : github.com/gotd/td/tdp.Object *AuthResendCodeRequest : fmt.Stringer func (*Client).AuthResendCode(ctx context.Context, request *AuthResendCodeRequest) (AuthSentCodeClass, error)
AuthResetAuthorizationsRequest represents TL type `auth.resetAuthorizations#9fab0d1a`. Terminates all user's authorized sessions except for the current one. After calling this method it is necessary to reregister the current device using the method account.registerDevice¹ Links: 1. https://core.telegram.org/method/account.registerDevice See https://core.telegram.org/method/auth.resetAuthorizations for reference. Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*AuthResetAuthorizationsRequest) Zero() bool *AuthResetAuthorizationsRequest : github.com/gotd/td/bin.BareDecoder *AuthResetAuthorizationsRequest : github.com/gotd/td/bin.BareEncoder *AuthResetAuthorizationsRequest : github.com/gotd/td/bin.Decoder *AuthResetAuthorizationsRequest : github.com/gotd/td/bin.Encoder *AuthResetAuthorizationsRequest : github.com/gotd/td/bin.Object *AuthResetAuthorizationsRequest : github.com/gotd/td/tdp.Object *AuthResetAuthorizationsRequest : fmt.Stringer
AuthResetLoginEmailRequest represents TL type `auth.resetLoginEmail#7e960193`. Reset the login email »¹. Links: 1. https://core.telegram.org/api/auth#email-verification See https://core.telegram.org/method/auth.resetLoginEmail for reference. Phone code hash from auth.sendCode¹ Links: 1) https://core.telegram.org/method/auth.sendCode Phone number Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. FillFrom fills AuthResetLoginEmailRequest from given interface. GetPhoneCodeHash returns value of PhoneCodeHash field. GetPhoneNumber returns value of PhoneNumber field. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*AuthResetLoginEmailRequest) Zero() bool *AuthResetLoginEmailRequest : github.com/gotd/td/bin.BareDecoder *AuthResetLoginEmailRequest : github.com/gotd/td/bin.BareEncoder *AuthResetLoginEmailRequest : github.com/gotd/td/bin.Decoder *AuthResetLoginEmailRequest : github.com/gotd/td/bin.Encoder *AuthResetLoginEmailRequest : github.com/gotd/td/bin.Object *AuthResetLoginEmailRequest : github.com/gotd/td/tdp.Object *AuthResetLoginEmailRequest : fmt.Stringer func (*Client).AuthResetLoginEmail(ctx context.Context, request *AuthResetLoginEmailRequest) (AuthSentCodeClass, error)
AuthSendCodeRequest represents TL type `auth.sendCode#a677244f`. Send the verification code for login See https://core.telegram.org/method/auth.sendCode for reference. Application secret hash (see App configuration¹) Links: 1) https://core.telegram.org/myapp Application identifier (see App configuration¹) Links: 1) https://core.telegram.org/myapp Phone number in international format Settings for the code type to send Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. FillFrom fills AuthSendCodeRequest from given interface. GetAPIHash returns value of APIHash field. GetAPIID returns value of APIID field. GetPhoneNumber returns value of PhoneNumber field. GetSettings returns value of Settings field. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*AuthSendCodeRequest) Zero() bool *AuthSendCodeRequest : github.com/gotd/td/bin.BareDecoder *AuthSendCodeRequest : github.com/gotd/td/bin.BareEncoder *AuthSendCodeRequest : github.com/gotd/td/bin.Decoder *AuthSendCodeRequest : github.com/gotd/td/bin.Encoder *AuthSendCodeRequest : github.com/gotd/td/bin.Object *AuthSendCodeRequest : github.com/gotd/td/tdp.Object *AuthSendCodeRequest : fmt.Stringer func (*Client).AuthSendCode(ctx context.Context, request *AuthSendCodeRequest) (AuthSentCodeClass, error)
AuthSentCode represents TL type `auth.sentCode#5e002502`. Contains info about a sent verification code. See https://core.telegram.org/constructor/auth.sentCode for reference. Flags, see TL conditional fields¹ Links: 1) https://core.telegram.org/mtproto/TL-combinators#conditional-fields Phone code type that will be sent next, if the phone code is not received within timeout seconds: to send it use auth.resendCode¹ Links: 1) https://core.telegram.org/method/auth.resendCode Use SetNextType and GetNextType helpers. Phone code hash, to be stored and later re-used with auth.signIn¹ Links: 1) https://core.telegram.org/method/auth.signIn Timeout for reception of the phone code Use SetTimeout and GetTimeout helpers. Phone code type Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. FillFrom fills AuthSentCode from given interface. GetNextType returns value of NextType conditional field and boolean which is true if field was set. GetPhoneCodeHash returns value of PhoneCodeHash field. GetTimeout returns value of Timeout conditional field and boolean which is true if field was set. GetType returns value of Type field. SetFlags sets flags for non-zero fields. SetNextType sets value of NextType conditional field. SetTimeout sets value of Timeout conditional field. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*AuthSentCode) Zero() bool *AuthSentCode : AuthSentCodeClass *AuthSentCode : github.com/gotd/td/bin.BareDecoder *AuthSentCode : github.com/gotd/td/bin.BareEncoder *AuthSentCode : github.com/gotd/td/bin.Decoder *AuthSentCode : github.com/gotd/td/bin.Encoder *AuthSentCode : github.com/gotd/td/bin.Object *AuthSentCode : github.com/gotd/td/tdp.Object *AuthSentCode : fmt.Stringer func AuthSentCodeArray.First() (v AuthSentCode, ok bool) func AuthSentCodeArray.Last() (v AuthSentCode, ok bool) func (*AuthSentCodeArray).Pop() (v AuthSentCode, ok bool) func (*AuthSentCodeArray).PopFirst() (v AuthSentCode, ok bool) func github.com/gotd/td/telegram/auth.CodeAuthenticator.Code(ctx context.Context, sentCode *AuthSentCode) (string, error) func github.com/gotd/td/telegram/auth.CodeAuthenticatorFunc.Code(ctx context.Context, sentCode *AuthSentCode) (string, error) func github.com/gotd/td/telegram/auth.UserAuthenticator.Code(ctx context.Context, sentCode *AuthSentCode) (string, error)
AuthSentCodeArray is adapter for slice of AuthSentCode. First returns first element of slice (if exists). Last returns last element of slice (if exists). Pop returns last element of slice (if exists) and deletes it. PopFirst returns first element of slice (if exists) and deletes it. Retain filters in-place slice of AuthSentCode. Sort sorts slice of AuthSentCode. SortStable sorts slice of AuthSentCode. func AuthSentCodeArray.Retain(keep func(x AuthSentCode) bool) AuthSentCodeArray func AuthSentCodeArray.Sort(less func(a, b AuthSentCode) bool) AuthSentCodeArray func AuthSentCodeArray.SortStable(less func(a, b AuthSentCode) bool) AuthSentCodeArray func AuthSentCodeClassArray.AsAuthSentCode() (to AuthSentCodeArray)
AuthSentCode boxes the AuthSentCodeClass providing a helper. SentCode AuthSentCodeClass Decode implements bin.Decoder for AuthSentCodeBox. Encode implements bin.Encode for AuthSentCodeBox. *AuthSentCodeBox : github.com/gotd/td/bin.Decoder *AuthSentCodeBox : github.com/gotd/td/bin.Encoder *AuthSentCodeBox : github.com/gotd/td/bin.Object
AuthSentCodeClass represents auth.SentCode generic type. See https://core.telegram.org/type/auth.SentCode for reference. Example: g, err := tg.DecodeAuthSentCode(buf) if err != nil { panic(err) } switch v := g.(type) { case *tg.AuthSentCode: // auth.sentCode#5e002502 case *tg.AuthSentCodeSuccess: // auth.sentCodeSuccess#2390fe44 default: panic(v) } ( AuthSentCodeClass) Decode(b *bin.Buffer) error ( AuthSentCodeClass) DecodeBare(b *bin.Buffer) error ( AuthSentCodeClass) Encode(b *bin.Buffer) error ( AuthSentCodeClass) EncodeBare(b *bin.Buffer) error String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeName returns name of type in TL schema. Zero returns true if current object has a zero value. *AuthSentCode *AuthSentCodeSuccess AuthSentCodeClass : github.com/gotd/td/bin.BareDecoder AuthSentCodeClass : github.com/gotd/td/bin.BareEncoder AuthSentCodeClass : github.com/gotd/td/bin.Decoder AuthSentCodeClass : github.com/gotd/td/bin.Encoder AuthSentCodeClass : github.com/gotd/td/bin.Object AuthSentCodeClass : fmt.Stringer func DecodeAuthSentCode(buf *bin.Buffer) (AuthSentCodeClass, error) func (*AccountEmailVerifiedLogin).GetSentCode() (value AuthSentCodeClass) func AuthSentCodeClassArray.First() (v AuthSentCodeClass, ok bool) func AuthSentCodeClassArray.Last() (v AuthSentCodeClass, ok bool) func (*AuthSentCodeClassArray).Pop() (v AuthSentCodeClass, ok bool) func (*AuthSentCodeClassArray).PopFirst() (v AuthSentCodeClass, ok bool) func (*Client).AccountSendChangePhoneCode(ctx context.Context, request *AccountSendChangePhoneCodeRequest) (AuthSentCodeClass, error) func (*Client).AccountSendConfirmPhoneCode(ctx context.Context, request *AccountSendConfirmPhoneCodeRequest) (AuthSentCodeClass, error) func (*Client).AccountSendVerifyPhoneCode(ctx context.Context, request *AccountSendVerifyPhoneCodeRequest) (AuthSentCodeClass, error) func (*Client).AuthResendCode(ctx context.Context, request *AuthResendCodeRequest) (AuthSentCodeClass, error) func (*Client).AuthResetLoginEmail(ctx context.Context, request *AuthResetLoginEmailRequest) (AuthSentCodeClass, error) func (*Client).AuthSendCode(ctx context.Context, request *AuthSendCodeRequest) (AuthSentCodeClass, error) func github.com/gotd/td/telegram/auth.(*Client).SendCode(ctx context.Context, phone string, options auth.SendCodeOptions) (AuthSentCodeClass, error) func github.com/gotd/td/telegram/auth.FlowClient.SendCode(ctx context.Context, phone string, options auth.SendCodeOptions) (AuthSentCodeClass, error)
AuthSentCodeClassArray is adapter for slice of AuthSentCodeClass. AsAuthSentCode returns copy with only AuthSentCode constructors. AsAuthSentCodeSuccess returns copy with only AuthSentCodeSuccess constructors. First returns first element of slice (if exists). Last returns last element of slice (if exists). Pop returns last element of slice (if exists) and deletes it. PopFirst returns first element of slice (if exists) and deletes it. Retain filters in-place slice of AuthSentCodeClass. Sort sorts slice of AuthSentCodeClass. SortStable sorts slice of AuthSentCodeClass. func AuthSentCodeClassArray.Retain(keep func(x AuthSentCodeClass) bool) AuthSentCodeClassArray func AuthSentCodeClassArray.Sort(less func(a, b AuthSentCodeClass) bool) AuthSentCodeClassArray func AuthSentCodeClassArray.SortStable(less func(a, b AuthSentCodeClass) bool) AuthSentCodeClassArray
AuthSentCodeSuccess represents TL type `auth.sentCodeSuccess#2390fe44`. The user successfully authorized using future auth tokens¹ Links: 1. https://core.telegram.org/api/auth#future-auth-tokens See https://core.telegram.org/constructor/auth.sentCodeSuccess for reference. Authorization AuthAuthorizationClass Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. FillFrom fills AuthSentCodeSuccess from given interface. GetAuthorization returns value of Authorization field. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*AuthSentCodeSuccess) Zero() bool *AuthSentCodeSuccess : AuthSentCodeClass *AuthSentCodeSuccess : github.com/gotd/td/bin.BareDecoder *AuthSentCodeSuccess : github.com/gotd/td/bin.BareEncoder *AuthSentCodeSuccess : github.com/gotd/td/bin.Decoder *AuthSentCodeSuccess : github.com/gotd/td/bin.Encoder *AuthSentCodeSuccess : github.com/gotd/td/bin.Object *AuthSentCodeSuccess : github.com/gotd/td/tdp.Object *AuthSentCodeSuccess : fmt.Stringer func AuthSentCodeSuccessArray.First() (v AuthSentCodeSuccess, ok bool) func AuthSentCodeSuccessArray.Last() (v AuthSentCodeSuccess, ok bool) func (*AuthSentCodeSuccessArray).Pop() (v AuthSentCodeSuccess, ok bool) func (*AuthSentCodeSuccessArray).PopFirst() (v AuthSentCodeSuccess, ok bool)
AuthSentCodeSuccessArray is adapter for slice of AuthSentCodeSuccess. First returns first element of slice (if exists). Last returns last element of slice (if exists). Pop returns last element of slice (if exists) and deletes it. PopFirst returns first element of slice (if exists) and deletes it. Retain filters in-place slice of AuthSentCodeSuccess. Sort sorts slice of AuthSentCodeSuccess. SortStable sorts slice of AuthSentCodeSuccess. func AuthSentCodeClassArray.AsAuthSentCodeSuccess() (to AuthSentCodeSuccessArray) func AuthSentCodeSuccessArray.Retain(keep func(x AuthSentCodeSuccess) bool) AuthSentCodeSuccessArray func AuthSentCodeSuccessArray.Sort(less func(a, b AuthSentCodeSuccess) bool) AuthSentCodeSuccessArray func AuthSentCodeSuccessArray.SortStable(less func(a, b AuthSentCodeSuccess) bool) AuthSentCodeSuccessArray
AuthSentCodeTypeApp represents TL type `auth.sentCodeTypeApp#3dbb5986`. The code was sent through the telegram app See https://core.telegram.org/constructor/auth.sentCodeTypeApp for reference. Length of the code in bytes Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. FillFrom fills AuthSentCodeTypeApp from given interface. GetLength returns value of Length field. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*AuthSentCodeTypeApp) Zero() bool *AuthSentCodeTypeApp : AuthSentCodeTypeClass *AuthSentCodeTypeApp : github.com/gotd/td/bin.BareDecoder *AuthSentCodeTypeApp : github.com/gotd/td/bin.BareEncoder *AuthSentCodeTypeApp : github.com/gotd/td/bin.Decoder *AuthSentCodeTypeApp : github.com/gotd/td/bin.Encoder *AuthSentCodeTypeApp : github.com/gotd/td/bin.Object *AuthSentCodeTypeApp : github.com/gotd/td/tdp.Object *AuthSentCodeTypeApp : fmt.Stringer func AuthSentCodeTypeAppArray.First() (v AuthSentCodeTypeApp, ok bool) func AuthSentCodeTypeAppArray.Last() (v AuthSentCodeTypeApp, ok bool) func (*AuthSentCodeTypeAppArray).Pop() (v AuthSentCodeTypeApp, ok bool) func (*AuthSentCodeTypeAppArray).PopFirst() (v AuthSentCodeTypeApp, ok bool)
AuthSentCodeTypeAppArray is adapter for slice of AuthSentCodeTypeApp. First returns first element of slice (if exists). Last returns last element of slice (if exists). Pop returns last element of slice (if exists) and deletes it. PopFirst returns first element of slice (if exists) and deletes it. Retain filters in-place slice of AuthSentCodeTypeApp. Sort sorts slice of AuthSentCodeTypeApp. SortStable sorts slice of AuthSentCodeTypeApp. func AuthSentCodeTypeAppArray.Retain(keep func(x AuthSentCodeTypeApp) bool) AuthSentCodeTypeAppArray func AuthSentCodeTypeAppArray.Sort(less func(a, b AuthSentCodeTypeApp) bool) AuthSentCodeTypeAppArray func AuthSentCodeTypeAppArray.SortStable(less func(a, b AuthSentCodeTypeApp) bool) AuthSentCodeTypeAppArray func AuthSentCodeTypeClassArray.AsAuthSentCodeTypeApp() (to AuthSentCodeTypeAppArray)
AuthSentCodeType boxes the AuthSentCodeTypeClass providing a helper. SentCodeType AuthSentCodeTypeClass Decode implements bin.Decoder for AuthSentCodeTypeBox. Encode implements bin.Encode for AuthSentCodeTypeBox. *AuthSentCodeTypeBox : github.com/gotd/td/bin.Decoder *AuthSentCodeTypeBox : github.com/gotd/td/bin.Encoder *AuthSentCodeTypeBox : github.com/gotd/td/bin.Object
AuthSentCodeTypeCall represents TL type `auth.sentCodeTypeCall#5353e5a7`. The code will be sent via a phone call: a synthesized voice will tell the user which verification code to input. See https://core.telegram.org/constructor/auth.sentCodeTypeCall for reference. Length of the code in bytes Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. FillFrom fills AuthSentCodeTypeCall from given interface. GetLength returns value of Length field. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*AuthSentCodeTypeCall) Zero() bool *AuthSentCodeTypeCall : AuthSentCodeTypeClass *AuthSentCodeTypeCall : github.com/gotd/td/bin.BareDecoder *AuthSentCodeTypeCall : github.com/gotd/td/bin.BareEncoder *AuthSentCodeTypeCall : github.com/gotd/td/bin.Decoder *AuthSentCodeTypeCall : github.com/gotd/td/bin.Encoder *AuthSentCodeTypeCall : github.com/gotd/td/bin.Object *AuthSentCodeTypeCall : github.com/gotd/td/tdp.Object *AuthSentCodeTypeCall : fmt.Stringer func AuthSentCodeTypeCallArray.First() (v AuthSentCodeTypeCall, ok bool) func AuthSentCodeTypeCallArray.Last() (v AuthSentCodeTypeCall, ok bool) func (*AuthSentCodeTypeCallArray).Pop() (v AuthSentCodeTypeCall, ok bool) func (*AuthSentCodeTypeCallArray).PopFirst() (v AuthSentCodeTypeCall, ok bool)
AuthSentCodeTypeCallArray is adapter for slice of AuthSentCodeTypeCall. First returns first element of slice (if exists). Last returns last element of slice (if exists). Pop returns last element of slice (if exists) and deletes it. PopFirst returns first element of slice (if exists) and deletes it. Retain filters in-place slice of AuthSentCodeTypeCall. Sort sorts slice of AuthSentCodeTypeCall. SortStable sorts slice of AuthSentCodeTypeCall. func AuthSentCodeTypeCallArray.Retain(keep func(x AuthSentCodeTypeCall) bool) AuthSentCodeTypeCallArray func AuthSentCodeTypeCallArray.Sort(less func(a, b AuthSentCodeTypeCall) bool) AuthSentCodeTypeCallArray func AuthSentCodeTypeCallArray.SortStable(less func(a, b AuthSentCodeTypeCall) bool) AuthSentCodeTypeCallArray func AuthSentCodeTypeClassArray.AsAuthSentCodeTypeCall() (to AuthSentCodeTypeCallArray)
AuthSentCodeTypeClass represents auth.SentCodeType generic type. See https://core.telegram.org/type/auth.SentCodeType for reference. Example: g, err := tg.DecodeAuthSentCodeType(buf) if err != nil { panic(err) } switch v := g.(type) { case *tg.AuthSentCodeTypeApp: // auth.sentCodeTypeApp#3dbb5986 case *tg.AuthSentCodeTypeSMS: // auth.sentCodeTypeSms#c000bba2 case *tg.AuthSentCodeTypeCall: // auth.sentCodeTypeCall#5353e5a7 case *tg.AuthSentCodeTypeFlashCall: // auth.sentCodeTypeFlashCall#ab03c6d9 case *tg.AuthSentCodeTypeMissedCall: // auth.sentCodeTypeMissedCall#82006484 case *tg.AuthSentCodeTypeEmailCode: // auth.sentCodeTypeEmailCode#f450f59b case *tg.AuthSentCodeTypeSetUpEmailRequired: // auth.sentCodeTypeSetUpEmailRequired#a5491dea case *tg.AuthSentCodeTypeFragmentSMS: // auth.sentCodeTypeFragmentSms#d9565c39 case *tg.AuthSentCodeTypeFirebaseSMS: // auth.sentCodeTypeFirebaseSms#e57b1432 default: panic(v) } ( AuthSentCodeTypeClass) Decode(b *bin.Buffer) error ( AuthSentCodeTypeClass) DecodeBare(b *bin.Buffer) error ( AuthSentCodeTypeClass) Encode(b *bin.Buffer) error ( AuthSentCodeTypeClass) EncodeBare(b *bin.Buffer) error String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeName returns name of type in TL schema. Zero returns true if current object has a zero value. *AuthSentCodeTypeApp *AuthSentCodeTypeCall *AuthSentCodeTypeEmailCode *AuthSentCodeTypeFirebaseSMS *AuthSentCodeTypeFlashCall *AuthSentCodeTypeFragmentSMS *AuthSentCodeTypeMissedCall *AuthSentCodeTypeSetUpEmailRequired *AuthSentCodeTypeSMS AuthSentCodeTypeClass : github.com/gotd/td/bin.BareDecoder AuthSentCodeTypeClass : github.com/gotd/td/bin.BareEncoder AuthSentCodeTypeClass : github.com/gotd/td/bin.Decoder AuthSentCodeTypeClass : github.com/gotd/td/bin.Encoder AuthSentCodeTypeClass : github.com/gotd/td/bin.Object AuthSentCodeTypeClass : fmt.Stringer func DecodeAuthSentCodeType(buf *bin.Buffer) (AuthSentCodeTypeClass, error) func (*AuthSentCode).GetType() (value AuthSentCodeTypeClass) func AuthSentCodeTypeClassArray.First() (v AuthSentCodeTypeClass, ok bool) func AuthSentCodeTypeClassArray.Last() (v AuthSentCodeTypeClass, ok bool) func (*AuthSentCodeTypeClassArray).Pop() (v AuthSentCodeTypeClass, ok bool) func (*AuthSentCodeTypeClassArray).PopFirst() (v AuthSentCodeTypeClass, ok bool)
AuthSentCodeTypeClassArray is adapter for slice of AuthSentCodeTypeClass. AsAuthSentCodeTypeApp returns copy with only AuthSentCodeTypeApp constructors. AsAuthSentCodeTypeCall returns copy with only AuthSentCodeTypeCall constructors. AsAuthSentCodeTypeEmailCode returns copy with only AuthSentCodeTypeEmailCode constructors. AsAuthSentCodeTypeFirebaseSMS returns copy with only AuthSentCodeTypeFirebaseSMS constructors. AsAuthSentCodeTypeFlashCall returns copy with only AuthSentCodeTypeFlashCall constructors. AsAuthSentCodeTypeFragmentSMS returns copy with only AuthSentCodeTypeFragmentSMS constructors. AsAuthSentCodeTypeMissedCall returns copy with only AuthSentCodeTypeMissedCall constructors. AsAuthSentCodeTypeSMS returns copy with only AuthSentCodeTypeSMS constructors. AsAuthSentCodeTypeSetUpEmailRequired returns copy with only AuthSentCodeTypeSetUpEmailRequired constructors. First returns first element of slice (if exists). Last returns last element of slice (if exists). Pop returns last element of slice (if exists) and deletes it. PopFirst returns first element of slice (if exists) and deletes it. Retain filters in-place slice of AuthSentCodeTypeClass. Sort sorts slice of AuthSentCodeTypeClass. SortStable sorts slice of AuthSentCodeTypeClass. func AuthSentCodeTypeClassArray.Retain(keep func(x AuthSentCodeTypeClass) bool) AuthSentCodeTypeClassArray func AuthSentCodeTypeClassArray.Sort(less func(a, b AuthSentCodeTypeClass) bool) AuthSentCodeTypeClassArray func AuthSentCodeTypeClassArray.SortStable(less func(a, b AuthSentCodeTypeClass) bool) AuthSentCodeTypeClassArray
AuthSentCodeTypeEmailCode represents TL type `auth.sentCodeTypeEmailCode#f450f59b`. The code was sent via the previously configured login email »¹ Links: 1. https://core.telegram.org/api/auth#email-verification See https://core.telegram.org/constructor/auth.sentCodeTypeEmailCode for reference. Whether authorization through Apple ID is allowed Pattern¹ of the email Links: 1) https://core.telegram.org/api/pattern Flags, see TL conditional fields¹ Links: 1) https://core.telegram.org/mtproto/TL-combinators#conditional-fields Whether authorization through Google ID is allowed Length of the sent verification code Clients should wait for the specified amount of seconds before allowing the user to invoke auth.resetLoginEmail¹ (will be 0 for Premium² users). Links: 1) https://core.telegram.org/method/auth.resetLoginEmail 2) https://core.telegram.org/api/premium Use SetResetAvailablePeriod and GetResetAvailablePeriod helpers. An email reset was already requested, and will occur at the specified date. Use SetResetPendingDate and GetResetPendingDate helpers. Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. FillFrom fills AuthSentCodeTypeEmailCode from given interface. GetAppleSigninAllowed returns value of AppleSigninAllowed conditional field. GetEmailPattern returns value of EmailPattern field. GetGoogleSigninAllowed returns value of GoogleSigninAllowed conditional field. GetLength returns value of Length field. GetResetAvailablePeriod returns value of ResetAvailablePeriod conditional field and boolean which is true if field was set. GetResetPendingDate returns value of ResetPendingDate conditional field and boolean which is true if field was set. SetAppleSigninAllowed sets value of AppleSigninAllowed conditional field. SetFlags sets flags for non-zero fields. SetGoogleSigninAllowed sets value of GoogleSigninAllowed conditional field. SetResetAvailablePeriod sets value of ResetAvailablePeriod conditional field. SetResetPendingDate sets value of ResetPendingDate conditional field. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*AuthSentCodeTypeEmailCode) Zero() bool *AuthSentCodeTypeEmailCode : AuthSentCodeTypeClass *AuthSentCodeTypeEmailCode : github.com/gotd/td/bin.BareDecoder *AuthSentCodeTypeEmailCode : github.com/gotd/td/bin.BareEncoder *AuthSentCodeTypeEmailCode : github.com/gotd/td/bin.Decoder *AuthSentCodeTypeEmailCode : github.com/gotd/td/bin.Encoder *AuthSentCodeTypeEmailCode : github.com/gotd/td/bin.Object *AuthSentCodeTypeEmailCode : github.com/gotd/td/tdp.Object *AuthSentCodeTypeEmailCode : fmt.Stringer func AuthSentCodeTypeEmailCodeArray.First() (v AuthSentCodeTypeEmailCode, ok bool) func AuthSentCodeTypeEmailCodeArray.Last() (v AuthSentCodeTypeEmailCode, ok bool) func (*AuthSentCodeTypeEmailCodeArray).Pop() (v AuthSentCodeTypeEmailCode, ok bool) func (*AuthSentCodeTypeEmailCodeArray).PopFirst() (v AuthSentCodeTypeEmailCode, ok bool)
AuthSentCodeTypeEmailCodeArray is adapter for slice of AuthSentCodeTypeEmailCode. First returns first element of slice (if exists). Last returns last element of slice (if exists). Pop returns last element of slice (if exists) and deletes it. PopFirst returns first element of slice (if exists) and deletes it. Retain filters in-place slice of AuthSentCodeTypeEmailCode. Sort sorts slice of AuthSentCodeTypeEmailCode. SortStable sorts slice of AuthSentCodeTypeEmailCode. func AuthSentCodeTypeClassArray.AsAuthSentCodeTypeEmailCode() (to AuthSentCodeTypeEmailCodeArray) func AuthSentCodeTypeEmailCodeArray.Retain(keep func(x AuthSentCodeTypeEmailCode) bool) AuthSentCodeTypeEmailCodeArray func AuthSentCodeTypeEmailCodeArray.Sort(less func(a, b AuthSentCodeTypeEmailCode) bool) AuthSentCodeTypeEmailCodeArray func AuthSentCodeTypeEmailCodeArray.SortStable(less func(a, b AuthSentCodeTypeEmailCode) bool) AuthSentCodeTypeEmailCodeArray
AuthSentCodeTypeFirebaseSMS represents TL type `auth.sentCodeTypeFirebaseSms#e57b1432`. An authentication code should be delivered via SMS after Firebase attestation, as described in the auth documentation »¹. Links: 1. https://core.telegram.org/api/auth See https://core.telegram.org/constructor/auth.sentCodeTypeFirebaseSms for reference. Flags, see TL conditional fields¹ Links: 1) https://core.telegram.org/mtproto/TL-combinators#conditional-fields Length of the code that will be delivered. On Android, the nonce to be used as described in the auth documentation »¹ Links: 1) https://core.telegram.org/api/auth Use SetNonce and GetNonce helpers. On iOS: if a push notification with the ios_push_secret isn't received within push_timeout seconds, the next_type authentication method must be used, with auth resendCode¹. Links: 1) https://core.telegram.org/method/auth.resendCode Use SetPushTimeout and GetPushTimeout helpers. On iOS, must be compared with the receipt extracted from the received push notification. Use SetReceipt and GetReceipt helpers. Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. FillFrom fills AuthSentCodeTypeFirebaseSMS from given interface. GetLength returns value of Length field. GetNonce returns value of Nonce conditional field and boolean which is true if field was set. GetPushTimeout returns value of PushTimeout conditional field and boolean which is true if field was set. GetReceipt returns value of Receipt conditional field and boolean which is true if field was set. SetFlags sets flags for non-zero fields. SetNonce sets value of Nonce conditional field. SetPushTimeout sets value of PushTimeout conditional field. SetReceipt sets value of Receipt conditional field. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*AuthSentCodeTypeFirebaseSMS) Zero() bool *AuthSentCodeTypeFirebaseSMS : AuthSentCodeTypeClass *AuthSentCodeTypeFirebaseSMS : github.com/gotd/td/bin.BareDecoder *AuthSentCodeTypeFirebaseSMS : github.com/gotd/td/bin.BareEncoder *AuthSentCodeTypeFirebaseSMS : github.com/gotd/td/bin.Decoder *AuthSentCodeTypeFirebaseSMS : github.com/gotd/td/bin.Encoder *AuthSentCodeTypeFirebaseSMS : github.com/gotd/td/bin.Object *AuthSentCodeTypeFirebaseSMS : github.com/gotd/td/tdp.Object *AuthSentCodeTypeFirebaseSMS : fmt.Stringer func AuthSentCodeTypeFirebaseSMSArray.First() (v AuthSentCodeTypeFirebaseSMS, ok bool) func AuthSentCodeTypeFirebaseSMSArray.Last() (v AuthSentCodeTypeFirebaseSMS, ok bool) func (*AuthSentCodeTypeFirebaseSMSArray).Pop() (v AuthSentCodeTypeFirebaseSMS, ok bool) func (*AuthSentCodeTypeFirebaseSMSArray).PopFirst() (v AuthSentCodeTypeFirebaseSMS, ok bool)
AuthSentCodeTypeFirebaseSMSArray is adapter for slice of AuthSentCodeTypeFirebaseSMS. First returns first element of slice (if exists). Last returns last element of slice (if exists). Pop returns last element of slice (if exists) and deletes it. PopFirst returns first element of slice (if exists) and deletes it. Retain filters in-place slice of AuthSentCodeTypeFirebaseSMS. Sort sorts slice of AuthSentCodeTypeFirebaseSMS. SortStable sorts slice of AuthSentCodeTypeFirebaseSMS. func AuthSentCodeTypeClassArray.AsAuthSentCodeTypeFirebaseSMS() (to AuthSentCodeTypeFirebaseSMSArray) func AuthSentCodeTypeFirebaseSMSArray.Retain(keep func(x AuthSentCodeTypeFirebaseSMS) bool) AuthSentCodeTypeFirebaseSMSArray func AuthSentCodeTypeFirebaseSMSArray.Sort(less func(a, b AuthSentCodeTypeFirebaseSMS) bool) AuthSentCodeTypeFirebaseSMSArray func AuthSentCodeTypeFirebaseSMSArray.SortStable(less func(a, b AuthSentCodeTypeFirebaseSMS) bool) AuthSentCodeTypeFirebaseSMSArray
AuthSentCodeTypeFlashCall represents TL type `auth.sentCodeTypeFlashCall#ab03c6d9`. The code will be sent via a flash phone call, that will be closed immediately. The phone code will then be the phone number itself, just make sure that the phone number matches the specified pattern. See https://core.telegram.org/constructor/auth.sentCodeTypeFlashCall for reference. pattern¹ to match Links: 1) https://core.telegram.org/api/pattern Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. FillFrom fills AuthSentCodeTypeFlashCall from given interface. GetPattern returns value of Pattern field. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*AuthSentCodeTypeFlashCall) Zero() bool *AuthSentCodeTypeFlashCall : AuthSentCodeTypeClass *AuthSentCodeTypeFlashCall : github.com/gotd/td/bin.BareDecoder *AuthSentCodeTypeFlashCall : github.com/gotd/td/bin.BareEncoder *AuthSentCodeTypeFlashCall : github.com/gotd/td/bin.Decoder *AuthSentCodeTypeFlashCall : github.com/gotd/td/bin.Encoder *AuthSentCodeTypeFlashCall : github.com/gotd/td/bin.Object *AuthSentCodeTypeFlashCall : github.com/gotd/td/tdp.Object *AuthSentCodeTypeFlashCall : fmt.Stringer func AuthSentCodeTypeFlashCallArray.First() (v AuthSentCodeTypeFlashCall, ok bool) func AuthSentCodeTypeFlashCallArray.Last() (v AuthSentCodeTypeFlashCall, ok bool) func (*AuthSentCodeTypeFlashCallArray).Pop() (v AuthSentCodeTypeFlashCall, ok bool) func (*AuthSentCodeTypeFlashCallArray).PopFirst() (v AuthSentCodeTypeFlashCall, ok bool)
AuthSentCodeTypeFlashCallArray is adapter for slice of AuthSentCodeTypeFlashCall. First returns first element of slice (if exists). Last returns last element of slice (if exists). Pop returns last element of slice (if exists) and deletes it. PopFirst returns first element of slice (if exists) and deletes it. Retain filters in-place slice of AuthSentCodeTypeFlashCall. Sort sorts slice of AuthSentCodeTypeFlashCall. SortStable sorts slice of AuthSentCodeTypeFlashCall. func AuthSentCodeTypeClassArray.AsAuthSentCodeTypeFlashCall() (to AuthSentCodeTypeFlashCallArray) func AuthSentCodeTypeFlashCallArray.Retain(keep func(x AuthSentCodeTypeFlashCall) bool) AuthSentCodeTypeFlashCallArray func AuthSentCodeTypeFlashCallArray.Sort(less func(a, b AuthSentCodeTypeFlashCall) bool) AuthSentCodeTypeFlashCallArray func AuthSentCodeTypeFlashCallArray.SortStable(less func(a, b AuthSentCodeTypeFlashCall) bool) AuthSentCodeTypeFlashCallArray
AuthSentCodeTypeFragmentSMS represents TL type `auth.sentCodeTypeFragmentSms#d9565c39`. The code was delivered via fragment.com¹. Links: 1. https://fragment.com See https://core.telegram.org/constructor/auth.sentCodeTypeFragmentSms for reference. Length of the delivered code. Open the specified URL to log into fragment.com¹ with the wallet that owns the specified phone number and view the code. Links: 1) https://fragment.com Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. FillFrom fills AuthSentCodeTypeFragmentSMS from given interface. GetLength returns value of Length field. GetURL returns value of URL field. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*AuthSentCodeTypeFragmentSMS) Zero() bool *AuthSentCodeTypeFragmentSMS : AuthSentCodeTypeClass *AuthSentCodeTypeFragmentSMS : github.com/gotd/td/bin.BareDecoder *AuthSentCodeTypeFragmentSMS : github.com/gotd/td/bin.BareEncoder *AuthSentCodeTypeFragmentSMS : github.com/gotd/td/bin.Decoder *AuthSentCodeTypeFragmentSMS : github.com/gotd/td/bin.Encoder *AuthSentCodeTypeFragmentSMS : github.com/gotd/td/bin.Object *AuthSentCodeTypeFragmentSMS : github.com/gotd/td/tdp.Object *AuthSentCodeTypeFragmentSMS : fmt.Stringer func AuthSentCodeTypeFragmentSMSArray.First() (v AuthSentCodeTypeFragmentSMS, ok bool) func AuthSentCodeTypeFragmentSMSArray.Last() (v AuthSentCodeTypeFragmentSMS, ok bool) func (*AuthSentCodeTypeFragmentSMSArray).Pop() (v AuthSentCodeTypeFragmentSMS, ok bool) func (*AuthSentCodeTypeFragmentSMSArray).PopFirst() (v AuthSentCodeTypeFragmentSMS, ok bool)
AuthSentCodeTypeFragmentSMSArray is adapter for slice of AuthSentCodeTypeFragmentSMS. First returns first element of slice (if exists). Last returns last element of slice (if exists). Pop returns last element of slice (if exists) and deletes it. PopFirst returns first element of slice (if exists) and deletes it. Retain filters in-place slice of AuthSentCodeTypeFragmentSMS. Sort sorts slice of AuthSentCodeTypeFragmentSMS. SortStable sorts slice of AuthSentCodeTypeFragmentSMS. func AuthSentCodeTypeClassArray.AsAuthSentCodeTypeFragmentSMS() (to AuthSentCodeTypeFragmentSMSArray) func AuthSentCodeTypeFragmentSMSArray.Retain(keep func(x AuthSentCodeTypeFragmentSMS) bool) AuthSentCodeTypeFragmentSMSArray func AuthSentCodeTypeFragmentSMSArray.Sort(less func(a, b AuthSentCodeTypeFragmentSMS) bool) AuthSentCodeTypeFragmentSMSArray func AuthSentCodeTypeFragmentSMSArray.SortStable(less func(a, b AuthSentCodeTypeFragmentSMS) bool) AuthSentCodeTypeFragmentSMSArray
AuthSentCodeTypeMissedCall represents TL type `auth.sentCodeTypeMissedCall#82006484`. The code will be sent via a flash phone call, that will be closed immediately. The last digits of the phone number that calls are the code that must be entered manually by the user. See https://core.telegram.org/constructor/auth.sentCodeTypeMissedCall for reference. Length of the verification code Prefix of the phone number from which the call will be made Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. FillFrom fills AuthSentCodeTypeMissedCall from given interface. GetLength returns value of Length field. GetPrefix returns value of Prefix field. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*AuthSentCodeTypeMissedCall) Zero() bool *AuthSentCodeTypeMissedCall : AuthSentCodeTypeClass *AuthSentCodeTypeMissedCall : github.com/gotd/td/bin.BareDecoder *AuthSentCodeTypeMissedCall : github.com/gotd/td/bin.BareEncoder *AuthSentCodeTypeMissedCall : github.com/gotd/td/bin.Decoder *AuthSentCodeTypeMissedCall : github.com/gotd/td/bin.Encoder *AuthSentCodeTypeMissedCall : github.com/gotd/td/bin.Object *AuthSentCodeTypeMissedCall : github.com/gotd/td/tdp.Object *AuthSentCodeTypeMissedCall : fmt.Stringer func AuthSentCodeTypeMissedCallArray.First() (v AuthSentCodeTypeMissedCall, ok bool) func AuthSentCodeTypeMissedCallArray.Last() (v AuthSentCodeTypeMissedCall, ok bool) func (*AuthSentCodeTypeMissedCallArray).Pop() (v AuthSentCodeTypeMissedCall, ok bool) func (*AuthSentCodeTypeMissedCallArray).PopFirst() (v AuthSentCodeTypeMissedCall, ok bool)
AuthSentCodeTypeMissedCallArray is adapter for slice of AuthSentCodeTypeMissedCall. First returns first element of slice (if exists). Last returns last element of slice (if exists). Pop returns last element of slice (if exists) and deletes it. PopFirst returns first element of slice (if exists) and deletes it. Retain filters in-place slice of AuthSentCodeTypeMissedCall. Sort sorts slice of AuthSentCodeTypeMissedCall. SortStable sorts slice of AuthSentCodeTypeMissedCall. func AuthSentCodeTypeClassArray.AsAuthSentCodeTypeMissedCall() (to AuthSentCodeTypeMissedCallArray) func AuthSentCodeTypeMissedCallArray.Retain(keep func(x AuthSentCodeTypeMissedCall) bool) AuthSentCodeTypeMissedCallArray func AuthSentCodeTypeMissedCallArray.Sort(less func(a, b AuthSentCodeTypeMissedCall) bool) AuthSentCodeTypeMissedCallArray func AuthSentCodeTypeMissedCallArray.SortStable(less func(a, b AuthSentCodeTypeMissedCall) bool) AuthSentCodeTypeMissedCallArray
AuthSentCodeTypeSetUpEmailRequired represents TL type `auth.sentCodeTypeSetUpEmailRequired#a5491dea`. The user should add and verify an email address in order to login as described here »¹. Links: 1. https://core.telegram.org/api/auth#email-verification See https://core.telegram.org/constructor/auth.sentCodeTypeSetUpEmailRequired for reference. Whether authorization through Apple ID is allowed Flags, see TL conditional fields¹ Links: 1) https://core.telegram.org/mtproto/TL-combinators#conditional-fields Whether authorization through Google ID is allowed Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. FillFrom fills AuthSentCodeTypeSetUpEmailRequired from given interface. GetAppleSigninAllowed returns value of AppleSigninAllowed conditional field. GetGoogleSigninAllowed returns value of GoogleSigninAllowed conditional field. SetAppleSigninAllowed sets value of AppleSigninAllowed conditional field. SetFlags sets flags for non-zero fields. SetGoogleSigninAllowed sets value of GoogleSigninAllowed conditional field. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*AuthSentCodeTypeSetUpEmailRequired) Zero() bool *AuthSentCodeTypeSetUpEmailRequired : AuthSentCodeTypeClass *AuthSentCodeTypeSetUpEmailRequired : github.com/gotd/td/bin.BareDecoder *AuthSentCodeTypeSetUpEmailRequired : github.com/gotd/td/bin.BareEncoder *AuthSentCodeTypeSetUpEmailRequired : github.com/gotd/td/bin.Decoder *AuthSentCodeTypeSetUpEmailRequired : github.com/gotd/td/bin.Encoder *AuthSentCodeTypeSetUpEmailRequired : github.com/gotd/td/bin.Object *AuthSentCodeTypeSetUpEmailRequired : github.com/gotd/td/tdp.Object *AuthSentCodeTypeSetUpEmailRequired : fmt.Stringer func AuthSentCodeTypeSetUpEmailRequiredArray.First() (v AuthSentCodeTypeSetUpEmailRequired, ok bool) func AuthSentCodeTypeSetUpEmailRequiredArray.Last() (v AuthSentCodeTypeSetUpEmailRequired, ok bool) func (*AuthSentCodeTypeSetUpEmailRequiredArray).Pop() (v AuthSentCodeTypeSetUpEmailRequired, ok bool) func (*AuthSentCodeTypeSetUpEmailRequiredArray).PopFirst() (v AuthSentCodeTypeSetUpEmailRequired, ok bool)
AuthSentCodeTypeSetUpEmailRequiredArray is adapter for slice of AuthSentCodeTypeSetUpEmailRequired. First returns first element of slice (if exists). Last returns last element of slice (if exists). Pop returns last element of slice (if exists) and deletes it. PopFirst returns first element of slice (if exists) and deletes it. Retain filters in-place slice of AuthSentCodeTypeSetUpEmailRequired. Sort sorts slice of AuthSentCodeTypeSetUpEmailRequired. SortStable sorts slice of AuthSentCodeTypeSetUpEmailRequired. func AuthSentCodeTypeClassArray.AsAuthSentCodeTypeSetUpEmailRequired() (to AuthSentCodeTypeSetUpEmailRequiredArray) func AuthSentCodeTypeSetUpEmailRequiredArray.Retain(keep func(x AuthSentCodeTypeSetUpEmailRequired) bool) AuthSentCodeTypeSetUpEmailRequiredArray func AuthSentCodeTypeSetUpEmailRequiredArray.Sort(less func(a, b AuthSentCodeTypeSetUpEmailRequired) bool) AuthSentCodeTypeSetUpEmailRequiredArray func AuthSentCodeTypeSetUpEmailRequiredArray.SortStable(less func(a, b AuthSentCodeTypeSetUpEmailRequired) bool) AuthSentCodeTypeSetUpEmailRequiredArray
AuthSentCodeTypeSMS represents TL type `auth.sentCodeTypeSms#c000bba2`. The code was sent via SMS See https://core.telegram.org/constructor/auth.sentCodeTypeSms for reference. Length of the code in bytes Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. FillFrom fills AuthSentCodeTypeSMS from given interface. GetLength returns value of Length field. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*AuthSentCodeTypeSMS) Zero() bool *AuthSentCodeTypeSMS : AuthSentCodeTypeClass *AuthSentCodeTypeSMS : github.com/gotd/td/bin.BareDecoder *AuthSentCodeTypeSMS : github.com/gotd/td/bin.BareEncoder *AuthSentCodeTypeSMS : github.com/gotd/td/bin.Decoder *AuthSentCodeTypeSMS : github.com/gotd/td/bin.Encoder *AuthSentCodeTypeSMS : github.com/gotd/td/bin.Object *AuthSentCodeTypeSMS : github.com/gotd/td/tdp.Object *AuthSentCodeTypeSMS : fmt.Stringer func AuthSentCodeTypeSMSArray.First() (v AuthSentCodeTypeSMS, ok bool) func AuthSentCodeTypeSMSArray.Last() (v AuthSentCodeTypeSMS, ok bool) func (*AuthSentCodeTypeSMSArray).Pop() (v AuthSentCodeTypeSMS, ok bool) func (*AuthSentCodeTypeSMSArray).PopFirst() (v AuthSentCodeTypeSMS, ok bool)
AuthSentCodeTypeSMSArray is adapter for slice of AuthSentCodeTypeSMS. First returns first element of slice (if exists). Last returns last element of slice (if exists). Pop returns last element of slice (if exists) and deletes it. PopFirst returns first element of slice (if exists) and deletes it. Retain filters in-place slice of AuthSentCodeTypeSMS. Sort sorts slice of AuthSentCodeTypeSMS. SortStable sorts slice of AuthSentCodeTypeSMS. func AuthSentCodeTypeClassArray.AsAuthSentCodeTypeSMS() (to AuthSentCodeTypeSMSArray) func AuthSentCodeTypeSMSArray.Retain(keep func(x AuthSentCodeTypeSMS) bool) AuthSentCodeTypeSMSArray func AuthSentCodeTypeSMSArray.Sort(less func(a, b AuthSentCodeTypeSMS) bool) AuthSentCodeTypeSMSArray func AuthSentCodeTypeSMSArray.SortStable(less func(a, b AuthSentCodeTypeSMS) bool) AuthSentCodeTypeSMSArray
AuthSignInRequest represents TL type `auth.signIn#8d52a951`. Signs in a user with a validated phone number. See https://core.telegram.org/method/auth.signIn for reference. Email verification code or token Use SetEmailVerification and GetEmailVerification helpers. Flags, see TL conditional fields¹ Links: 1) https://core.telegram.org/mtproto/TL-combinators#conditional-fields Valid numerical code from the SMS-message Use SetPhoneCode and GetPhoneCode helpers. SMS-message ID, obtained from auth.sendCode¹ Links: 1) https://core.telegram.org/method/auth.sendCode Phone number in the international format Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. FillFrom fills AuthSignInRequest from given interface. GetEmailVerification returns value of EmailVerification conditional field and boolean which is true if field was set. GetPhoneCode returns value of PhoneCode conditional field and boolean which is true if field was set. GetPhoneCodeHash returns value of PhoneCodeHash field. GetPhoneNumber returns value of PhoneNumber field. SetEmailVerification sets value of EmailVerification conditional field. SetFlags sets flags for non-zero fields. SetPhoneCode sets value of PhoneCode conditional field. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*AuthSignInRequest) Zero() bool *AuthSignInRequest : github.com/gotd/td/bin.BareDecoder *AuthSignInRequest : github.com/gotd/td/bin.BareEncoder *AuthSignInRequest : github.com/gotd/td/bin.Decoder *AuthSignInRequest : github.com/gotd/td/bin.Encoder *AuthSignInRequest : github.com/gotd/td/bin.Object *AuthSignInRequest : github.com/gotd/td/tdp.Object *AuthSignInRequest : fmt.Stringer func (*Client).AuthSignIn(ctx context.Context, request *AuthSignInRequest) (AuthAuthorizationClass, error)
AuthSignUpRequest represents TL type `auth.signUp#80eee427`. Registers a validated phone number in the system. See https://core.telegram.org/method/auth.signUp for reference. New user first name New user last name SMS-message ID Phone number in the international format Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. FillFrom fills AuthSignUpRequest from given interface. GetFirstName returns value of FirstName field. GetLastName returns value of LastName field. GetPhoneCodeHash returns value of PhoneCodeHash field. GetPhoneNumber returns value of PhoneNumber field. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*AuthSignUpRequest) Zero() bool *AuthSignUpRequest : github.com/gotd/td/bin.BareDecoder *AuthSignUpRequest : github.com/gotd/td/bin.BareEncoder *AuthSignUpRequest : github.com/gotd/td/bin.Decoder *AuthSignUpRequest : github.com/gotd/td/bin.Encoder *AuthSignUpRequest : github.com/gotd/td/bin.Object *AuthSignUpRequest : github.com/gotd/td/tdp.Object *AuthSignUpRequest : fmt.Stringer func (*Client).AuthSignUp(ctx context.Context, request *AuthSignUpRequest) (AuthAuthorizationClass, error)
AutoDownloadSettings represents TL type `autoDownloadSettings#baa57628`. Autodownload settings See https://core.telegram.org/constructor/autoDownloadSettings for reference. Whether to preload the next audio track when you're listening to music Disable automatic media downloads? Maximum size of other files to preload Flags, see TL conditional fields¹ Links: 1) https://core.telegram.org/mtproto/TL-combinators#conditional-fields LargeQueueActiveOperationsMax field of AutoDownloadSettings. Whether to enable data saving mode in phone calls Maximum size of photos to preload SmallQueueActiveOperationsMax field of AutoDownloadSettings. Whether to preload stories¹; in particular, the first documentAttributeVideo² preload_prefix_size bytes of story videos should be preloaded. Links: 1) https://core.telegram.org/api/stories 2) https://core.telegram.org/constructor/documentAttributeVideo Whether to preload the first seconds of videos larger than the specified limit Maximum size of videos to preload Maximum suggested bitrate for uploading videos Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. FillFrom fills AutoDownloadSettings from given interface. GetAudioPreloadNext returns value of AudioPreloadNext conditional field. GetDisabled returns value of Disabled conditional field. GetFileSizeMax returns value of FileSizeMax field. GetLargeQueueActiveOperationsMax returns value of LargeQueueActiveOperationsMax field. GetPhonecallsLessData returns value of PhonecallsLessData conditional field. GetPhotoSizeMax returns value of PhotoSizeMax field. GetSmallQueueActiveOperationsMax returns value of SmallQueueActiveOperationsMax field. GetStoriesPreload returns value of StoriesPreload conditional field. GetVideoPreloadLarge returns value of VideoPreloadLarge conditional field. GetVideoSizeMax returns value of VideoSizeMax field. GetVideoUploadMaxbitrate returns value of VideoUploadMaxbitrate field. SetAudioPreloadNext sets value of AudioPreloadNext conditional field. SetDisabled sets value of Disabled conditional field. SetFlags sets flags for non-zero fields. SetPhonecallsLessData sets value of PhonecallsLessData conditional field. SetStoriesPreload sets value of StoriesPreload conditional field. SetVideoPreloadLarge sets value of VideoPreloadLarge conditional field. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*AutoDownloadSettings) Zero() bool *AutoDownloadSettings : github.com/gotd/td/bin.BareDecoder *AutoDownloadSettings : github.com/gotd/td/bin.BareEncoder *AutoDownloadSettings : github.com/gotd/td/bin.Decoder *AutoDownloadSettings : github.com/gotd/td/bin.Encoder *AutoDownloadSettings : github.com/gotd/td/bin.Object *AutoDownloadSettings : github.com/gotd/td/tdp.Object *AutoDownloadSettings : fmt.Stringer func (*AccountAutoDownloadSettings).GetHigh() (value AutoDownloadSettings) func (*AccountAutoDownloadSettings).GetLow() (value AutoDownloadSettings) func (*AccountAutoDownloadSettings).GetMedium() (value AutoDownloadSettings) func (*AccountSaveAutoDownloadSettingsRequest).GetSettings() (value AutoDownloadSettings)
AutoSaveException represents TL type `autoSaveException#81602d47`. Peer-specific media autosave settings See https://core.telegram.org/constructor/autoSaveException for reference. The peer Media autosave settings Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. FillFrom fills AutoSaveException from given interface. GetPeer returns value of Peer field. GetSettings returns value of Settings field. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*AutoSaveException) Zero() bool *AutoSaveException : github.com/gotd/td/bin.BareDecoder *AutoSaveException : github.com/gotd/td/bin.BareEncoder *AutoSaveException : github.com/gotd/td/bin.Decoder *AutoSaveException : github.com/gotd/td/bin.Encoder *AutoSaveException : github.com/gotd/td/bin.Object *AutoSaveException : github.com/gotd/td/tdp.Object *AutoSaveException : fmt.Stringer func (*AccountAutoSaveSettings).GetExceptions() (value []AutoSaveException)
AutoSaveSettings represents TL type `autoSaveSettings#c84834ce`. Media autosave settings See https://core.telegram.org/constructor/autoSaveSettings for reference. Flags, see TL conditional fields¹ Links: 1) https://core.telegram.org/mtproto/TL-combinators#conditional-fields Whether photos should be autosaved to the gallery. If set, specifies a size limit for autosavable videos Use SetVideoMaxSize and GetVideoMaxSize helpers. Whether videos should be autosaved to the gallery. Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. FillFrom fills AutoSaveSettings from given interface. GetPhotos returns value of Photos conditional field. GetVideoMaxSize returns value of VideoMaxSize conditional field and boolean which is true if field was set. GetVideos returns value of Videos conditional field. SetFlags sets flags for non-zero fields. SetPhotos sets value of Photos conditional field. SetVideoMaxSize sets value of VideoMaxSize conditional field. SetVideos sets value of Videos conditional field. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*AutoSaveSettings) Zero() bool *AutoSaveSettings : github.com/gotd/td/bin.BareDecoder *AutoSaveSettings : github.com/gotd/td/bin.BareEncoder *AutoSaveSettings : github.com/gotd/td/bin.Decoder *AutoSaveSettings : github.com/gotd/td/bin.Encoder *AutoSaveSettings : github.com/gotd/td/bin.Object *AutoSaveSettings : github.com/gotd/td/tdp.Object *AutoSaveSettings : fmt.Stringer func (*AccountAutoSaveSettings).GetBroadcastsSettings() (value AutoSaveSettings) func (*AccountAutoSaveSettings).GetChatsSettings() (value AutoSaveSettings) func (*AccountAutoSaveSettings).GetUsersSettings() (value AutoSaveSettings) func (*AccountSaveAutoSaveSettingsRequest).GetSettings() (value AutoSaveSettings) func (*AutoSaveException).GetSettings() (value AutoSaveSettings)
AutoSaveSettingsHandler is a AutoSaveSettings event handler. func UpdateDispatcher.OnAutoSaveSettings(handler AutoSaveSettingsHandler)
AvailableReaction represents TL type `availableReaction#c077ec01`. Animations associated with a message reaction See https://core.telegram.org/constructor/availableReaction for reference. The animated sticker to show when the reaction is chosen and activated The animated sticker to show when the user opens the reaction dropdown The animation that plays around the button when you press an existing reaction (played together with center_icon). Use SetAroundAnimation and GetAroundAnimation helpers. The animation of the emoji inside the button when you press an existing reaction (played together with around_animation). Use SetCenterIcon and GetCenterIcon helpers. The background effect (still an animated sticker) to play under the activate_animation when the reaction is chosen and activated Flags, see TL conditional fields¹ Links: 1) https://core.telegram.org/mtproto/TL-combinators#conditional-fields If not set, the reaction can be added to new messages and enabled in chats. Whether this reaction can only be used by Telegram Premium users Reaction emoji The animated sticker to show when the user hovers over the reaction Static icon for the reaction Reaction description Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. FillFrom fills AvailableReaction from given interface. GetActivateAnimation returns value of ActivateAnimation field. GetActivateAnimationAsNotEmpty returns mapped value of ActivateAnimation field. GetAppearAnimation returns value of AppearAnimation field. GetAppearAnimationAsNotEmpty returns mapped value of AppearAnimation field. GetAroundAnimation returns value of AroundAnimation conditional field and boolean which is true if field was set. GetAroundAnimationAsNotEmpty returns mapped value of AroundAnimation conditional field and boolean which is true if field was set. GetCenterIcon returns value of CenterIcon conditional field and boolean which is true if field was set. GetCenterIconAsNotEmpty returns mapped value of CenterIcon conditional field and boolean which is true if field was set. GetEffectAnimation returns value of EffectAnimation field. GetEffectAnimationAsNotEmpty returns mapped value of EffectAnimation field. GetInactive returns value of Inactive conditional field. GetPremium returns value of Premium conditional field. GetReaction returns value of Reaction field. GetSelectAnimation returns value of SelectAnimation field. GetSelectAnimationAsNotEmpty returns mapped value of SelectAnimation field. GetStaticIcon returns value of StaticIcon field. GetStaticIconAsNotEmpty returns mapped value of StaticIcon field. GetTitle returns value of Title field. SetAroundAnimation sets value of AroundAnimation conditional field. SetCenterIcon sets value of CenterIcon conditional field. SetFlags sets flags for non-zero fields. SetInactive sets value of Inactive conditional field. SetPremium sets value of Premium conditional field. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*AvailableReaction) Zero() bool *AvailableReaction : github.com/gotd/td/bin.BareDecoder *AvailableReaction : github.com/gotd/td/bin.BareEncoder *AvailableReaction : github.com/gotd/td/bin.Decoder *AvailableReaction : github.com/gotd/td/bin.Encoder *AvailableReaction : github.com/gotd/td/bin.Object *AvailableReaction : github.com/gotd/td/tdp.Object *AvailableReaction : fmt.Stringer func (*MessagesAvailableReactions).GetReactions() (value []AvailableReaction)
BankCardOpenURL represents TL type `bankCardOpenUrl#f568028a`. Credit card info URL provided by the bank See https://core.telegram.org/constructor/bankCardOpenUrl for reference. Bank name Info URL Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. FillFrom fills BankCardOpenURL from given interface. GetName returns value of Name field. GetURL returns value of URL field. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*BankCardOpenURL) Zero() bool *BankCardOpenURL : github.com/gotd/td/bin.BareDecoder *BankCardOpenURL : github.com/gotd/td/bin.BareEncoder *BankCardOpenURL : github.com/gotd/td/bin.Decoder *BankCardOpenURL : github.com/gotd/td/bin.Encoder *BankCardOpenURL : github.com/gotd/td/bin.Object *BankCardOpenURL : github.com/gotd/td/tdp.Object *BankCardOpenURL : fmt.Stringer func (*PaymentsBankCardData).GetOpenURLs() (value []BankCardOpenURL)
BaseThemeArctic represents TL type `baseThemeArctic#5b11125a`. Arctic theme See https://core.telegram.org/constructor/baseThemeArctic for reference. Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*BaseThemeArctic) Zero() bool *BaseThemeArctic : BaseThemeClass *BaseThemeArctic : github.com/gotd/td/bin.BareDecoder *BaseThemeArctic : github.com/gotd/td/bin.BareEncoder *BaseThemeArctic : github.com/gotd/td/bin.Decoder *BaseThemeArctic : github.com/gotd/td/bin.Encoder *BaseThemeArctic : github.com/gotd/td/bin.Object *BaseThemeArctic : github.com/gotd/td/tdp.Object *BaseThemeArctic : fmt.Stringer
BaseTheme boxes the BaseThemeClass providing a helper. BaseTheme BaseThemeClass Decode implements bin.Decoder for BaseThemeBox. Encode implements bin.Encode for BaseThemeBox. *BaseThemeBox : github.com/gotd/td/bin.Decoder *BaseThemeBox : github.com/gotd/td/bin.Encoder *BaseThemeBox : github.com/gotd/td/bin.Object
BaseThemeClass represents BaseTheme generic type. See https://core.telegram.org/type/BaseTheme for reference. Example: g, err := tg.DecodeBaseTheme(buf) if err != nil { panic(err) } switch v := g.(type) { case *tg.BaseThemeClassic: // baseThemeClassic#c3a12462 case *tg.BaseThemeDay: // baseThemeDay#fbd81688 case *tg.BaseThemeNight: // baseThemeNight#b7b31ea8 case *tg.BaseThemeTinted: // baseThemeTinted#6d5f77ee case *tg.BaseThemeArctic: // baseThemeArctic#5b11125a default: panic(v) } ( BaseThemeClass) Decode(b *bin.Buffer) error ( BaseThemeClass) DecodeBare(b *bin.Buffer) error ( BaseThemeClass) Encode(b *bin.Buffer) error ( BaseThemeClass) EncodeBare(b *bin.Buffer) error String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeName returns name of type in TL schema. Zero returns true if current object has a zero value. *BaseThemeArctic *BaseThemeClassic *BaseThemeDay *BaseThemeNight *BaseThemeTinted BaseThemeClass : github.com/gotd/td/bin.BareDecoder BaseThemeClass : github.com/gotd/td/bin.BareEncoder BaseThemeClass : github.com/gotd/td/bin.Decoder BaseThemeClass : github.com/gotd/td/bin.Encoder BaseThemeClass : github.com/gotd/td/bin.Object BaseThemeClass : fmt.Stringer func DecodeBaseTheme(buf *bin.Buffer) (BaseThemeClass, error) func (*AccountInstallThemeRequest).GetBaseTheme() (value BaseThemeClass, ok bool) func BaseThemeClassArray.First() (v BaseThemeClass, ok bool) func BaseThemeClassArray.Last() (v BaseThemeClass, ok bool) func (*BaseThemeClassArray).Pop() (v BaseThemeClass, ok bool) func (*BaseThemeClassArray).PopFirst() (v BaseThemeClass, ok bool) func (*InputThemeSettings).GetBaseTheme() (value BaseThemeClass) func (*ThemeSettings).GetBaseTheme() (value BaseThemeClass) func (*AccountInstallThemeRequest).SetBaseTheme(value BaseThemeClass)
BaseThemeClassArray is adapter for slice of BaseThemeClass. First returns first element of slice (if exists). Last returns last element of slice (if exists). Pop returns last element of slice (if exists) and deletes it. PopFirst returns first element of slice (if exists) and deletes it. Retain filters in-place slice of BaseThemeClass. Sort sorts slice of BaseThemeClass. SortStable sorts slice of BaseThemeClass. func BaseThemeClassArray.Retain(keep func(x BaseThemeClass) bool) BaseThemeClassArray func BaseThemeClassArray.Sort(less func(a, b BaseThemeClass) bool) BaseThemeClassArray func BaseThemeClassArray.SortStable(less func(a, b BaseThemeClass) bool) BaseThemeClassArray
BaseThemeClassic represents TL type `baseThemeClassic#c3a12462`. Classic theme See https://core.telegram.org/constructor/baseThemeClassic for reference. Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*BaseThemeClassic) Zero() bool *BaseThemeClassic : BaseThemeClass *BaseThemeClassic : github.com/gotd/td/bin.BareDecoder *BaseThemeClassic : github.com/gotd/td/bin.BareEncoder *BaseThemeClassic : github.com/gotd/td/bin.Decoder *BaseThemeClassic : github.com/gotd/td/bin.Encoder *BaseThemeClassic : github.com/gotd/td/bin.Object *BaseThemeClassic : github.com/gotd/td/tdp.Object *BaseThemeClassic : fmt.Stringer
BaseThemeDay represents TL type `baseThemeDay#fbd81688`. Day theme See https://core.telegram.org/constructor/baseThemeDay for reference. Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*BaseThemeDay) Zero() bool *BaseThemeDay : BaseThemeClass *BaseThemeDay : github.com/gotd/td/bin.BareDecoder *BaseThemeDay : github.com/gotd/td/bin.BareEncoder *BaseThemeDay : github.com/gotd/td/bin.Decoder *BaseThemeDay : github.com/gotd/td/bin.Encoder *BaseThemeDay : github.com/gotd/td/bin.Object *BaseThemeDay : github.com/gotd/td/tdp.Object *BaseThemeDay : fmt.Stringer
BaseThemeNight represents TL type `baseThemeNight#b7b31ea8`. Night theme See https://core.telegram.org/constructor/baseThemeNight for reference. Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*BaseThemeNight) Zero() bool *BaseThemeNight : BaseThemeClass *BaseThemeNight : github.com/gotd/td/bin.BareDecoder *BaseThemeNight : github.com/gotd/td/bin.BareEncoder *BaseThemeNight : github.com/gotd/td/bin.Decoder *BaseThemeNight : github.com/gotd/td/bin.Encoder *BaseThemeNight : github.com/gotd/td/bin.Object *BaseThemeNight : github.com/gotd/td/tdp.Object *BaseThemeNight : fmt.Stringer
BaseThemeTinted represents TL type `baseThemeTinted#6d5f77ee`. Tinted theme See https://core.telegram.org/constructor/baseThemeTinted for reference. Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*BaseThemeTinted) Zero() bool *BaseThemeTinted : BaseThemeClass *BaseThemeTinted : github.com/gotd/td/bin.BareDecoder *BaseThemeTinted : github.com/gotd/td/bin.BareEncoder *BaseThemeTinted : github.com/gotd/td/bin.Decoder *BaseThemeTinted : github.com/gotd/td/bin.Encoder *BaseThemeTinted : github.com/gotd/td/bin.Object *BaseThemeTinted : github.com/gotd/td/tdp.Object *BaseThemeTinted : fmt.Stringer
Bool boxes the BoolClass providing a helper. Bool BoolClass Decode implements bin.Decoder for BoolBox. Encode implements bin.Encode for BoolBox. *BoolBox : github.com/gotd/td/bin.Decoder *BoolBox : github.com/gotd/td/bin.Encoder *BoolBox : github.com/gotd/td/bin.Object
BoolClass represents Bool generic type. See https://core.telegram.org/type/Bool for reference. Example: g, err := tg.DecodeBool(buf) if err != nil { panic(err) } switch v := g.(type) { case *tg.BoolFalse: // boolFalse#bc799737 case *tg.BoolTrue: // boolTrue#997275b5 default: panic(v) } ( BoolClass) Decode(b *bin.Buffer) error ( BoolClass) DecodeBare(b *bin.Buffer) error ( BoolClass) Encode(b *bin.Buffer) error ( BoolClass) EncodeBare(b *bin.Buffer) error String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeName returns name of type in TL schema. Zero returns true if current object has a zero value. *BoolFalse *BoolTrue BoolClass : github.com/gotd/td/bin.BareDecoder BoolClass : github.com/gotd/td/bin.BareEncoder BoolClass : github.com/gotd/td/bin.Decoder BoolClass : github.com/gotd/td/bin.Encoder BoolClass : github.com/gotd/td/bin.Object BoolClass : fmt.Stringer func DecodeBool(buf *bin.Buffer) (BoolClass, error) func BoolClassArray.First() (v BoolClass, ok bool) func BoolClassArray.Last() (v BoolClass, ok bool) func (*BoolClassArray).Pop() (v BoolClass, ok bool) func (*BoolClassArray).PopFirst() (v BoolClass, ok bool)
BoolClassArray is adapter for slice of BoolClass. First returns first element of slice (if exists). Last returns last element of slice (if exists). Pop returns last element of slice (if exists) and deletes it. PopFirst returns first element of slice (if exists) and deletes it. Retain filters in-place slice of BoolClass. Sort sorts slice of BoolClass. SortStable sorts slice of BoolClass. func BoolClassArray.Retain(keep func(x BoolClass) bool) BoolClassArray func BoolClassArray.Sort(less func(a, b BoolClass) bool) BoolClassArray func BoolClassArray.SortStable(less func(a, b BoolClass) bool) BoolClassArray
BoolFalse represents TL type `boolFalse#bc799737`. Constructor may be interpreted as a booleanfalse value. See https://core.telegram.org/constructor/boolFalse for reference. Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*BoolFalse) Zero() bool *BoolFalse : BoolClass *BoolFalse : github.com/gotd/td/bin.BareDecoder *BoolFalse : github.com/gotd/td/bin.BareEncoder *BoolFalse : github.com/gotd/td/bin.Decoder *BoolFalse : github.com/gotd/td/bin.Encoder *BoolFalse : github.com/gotd/td/bin.Object *BoolFalse : github.com/gotd/td/tdp.Object *BoolFalse : fmt.Stringer
BoolTrue represents TL type `boolTrue#997275b5`. The constructor can be interpreted as a booleantrue value. See https://core.telegram.org/constructor/boolTrue for reference. Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*BoolTrue) Zero() bool *BoolTrue : BoolClass *BoolTrue : github.com/gotd/td/bin.BareDecoder *BoolTrue : github.com/gotd/td/bin.BareEncoder *BoolTrue : github.com/gotd/td/bin.Decoder *BoolTrue : github.com/gotd/td/bin.Encoder *BoolTrue : github.com/gotd/td/bin.Object *BoolTrue : github.com/gotd/td/tdp.Object *BoolTrue : fmt.Stringer
Boost represents TL type `boost#2a1c8c71`. Info about one or more boosts¹ applied by a specific user. Links: 1. https://core.telegram.org/api/boost See https://core.telegram.org/constructor/boost for reference. When was the boost applied When does the boost expire Flags, see TL conditional fields¹ Links: 1) https://core.telegram.org/mtproto/TL-combinators#conditional-fields Whether this boost was applied because the channel directly gifted a subscription to the user¹. Links: 1) https://core.telegram.org/api/giveaways Whether this boost was applied because the user was chosen in a giveaway started by the channel¹. Links: 1) https://core.telegram.org/api/giveaways The message ID of the giveaway¹ Links: 1) https://core.telegram.org/api/giveaways Use SetGiveawayMsgID and GetGiveawayMsgID helpers. Unique ID for this set of boosts. If set, this boost counts as multiplier boosts, otherwise it counts as a single boost. Use SetMultiplier and GetMultiplier helpers. If set, the user hasn't yet invoked payments.applyGiftCode¹ to claim a subscription gifted directly or in a giveaway by the channel². Links: 1) https://core.telegram.org/method/payments.applyGiftCode 2) https://core.telegram.org/api/giveaways The created Telegram Premium gift code, only set if either gift or giveaway are set AND it is either a gift code for the currently logged in user or if it was already claimed. Use SetUsedGiftSlug and GetUsedGiftSlug helpers. ID of the user that applied the boost. Use SetUserID and GetUserID helpers. Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. FillFrom fills Boost from given interface. GetDate returns value of Date field. GetExpires returns value of Expires field. GetGift returns value of Gift conditional field. GetGiveaway returns value of Giveaway conditional field. GetGiveawayMsgID returns value of GiveawayMsgID conditional field and boolean which is true if field was set. GetID returns value of ID field. GetMultiplier returns value of Multiplier conditional field and boolean which is true if field was set. GetUnclaimed returns value of Unclaimed conditional field. GetUsedGiftSlug returns value of UsedGiftSlug conditional field and boolean which is true if field was set. GetUserID returns value of UserID conditional field and boolean which is true if field was set. SetFlags sets flags for non-zero fields. SetGift sets value of Gift conditional field. SetGiveaway sets value of Giveaway conditional field. SetGiveawayMsgID sets value of GiveawayMsgID conditional field. SetMultiplier sets value of Multiplier conditional field. SetUnclaimed sets value of Unclaimed conditional field. SetUsedGiftSlug sets value of UsedGiftSlug conditional field. SetUserID sets value of UserID conditional field. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*Boost) Zero() bool *Boost : github.com/gotd/td/bin.BareDecoder *Boost : github.com/gotd/td/bin.BareEncoder *Boost : github.com/gotd/td/bin.Decoder *Boost : github.com/gotd/td/bin.Encoder *Boost : github.com/gotd/td/bin.Object *Boost : github.com/gotd/td/tdp.Object *Boost : fmt.Stringer func (*PremiumBoostsList).GetBoosts() (value []Boost) func (*UpdateBotChatBoost).GetBoost() (value Boost)
BotApp represents TL type `botApp#95fcd1d6`. Contains information about a named Mini App¹. Links: 1. https://core.telegram.org/api/bots/webapps#named-mini-apps See https://core.telegram.org/constructor/botApp for reference. bot mini app access hash bot mini app description. bot mini app animation. Use SetDocument and GetDocument helpers. Flags, see TL conditional fields¹ Links: 1) https://core.telegram.org/mtproto/TL-combinators#conditional-fields Hash to pass to messages.getBotApp¹, to avoid refetching bot app info if it hasn't changed. Links: 1) https://core.telegram.org/method/messages.getBotApp bot mini app ID bot mini app photo. bot mini app short name, used to generate named Mini App deep links¹. Links: 1) https://core.telegram.org/api/links#named-mini-app-links bot mini app title. AsInputBotAppID tries to map BotApp to InputBotAppID. AsModified tries to map BotApp to BotApp. Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. FillFrom fills BotApp from given interface. GetAccessHash returns value of AccessHash field. GetDescription returns value of Description field. GetDocument returns value of Document conditional field and boolean which is true if field was set. GetHash returns value of Hash field. GetID returns value of ID field. GetPhoto returns value of Photo field. GetShortName returns value of ShortName field. GetTitle returns value of Title field. SetDocument sets value of Document conditional field. SetFlags sets flags for non-zero fields. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*BotApp) Zero() bool *BotApp : BotAppClass *BotApp : github.com/gotd/td/bin.BareDecoder *BotApp : github.com/gotd/td/bin.BareEncoder *BotApp : github.com/gotd/td/bin.Decoder *BotApp : github.com/gotd/td/bin.Encoder *BotApp : github.com/gotd/td/bin.Object *BotApp : github.com/gotd/td/tdp.Object *BotApp : fmt.Stringer func (*BotApp).AsModified() (*BotApp, bool) func BotAppArray.First() (v BotApp, ok bool) func BotAppArray.Last() (v BotApp, ok bool) func (*BotAppArray).Pop() (v BotApp, ok bool) func (*BotAppArray).PopFirst() (v BotApp, ok bool) func BotAppArray.ToMap() map[int64]BotApp func BotAppClass.AsModified() (*BotApp, bool) func BotAppClassArray.AppendOnlyModified(to []*BotApp) []*BotApp func BotAppClassArray.AsModified() (to []*BotApp) func BotAppClassArray.FirstAsModified() (v *BotApp, ok bool) func BotAppClassArray.LastAsModified() (v *BotApp, ok bool) func BotAppClassArray.ModifiedToMap() map[int64]*BotApp func (*BotAppClassArray).PopAsModified() (v *BotApp, ok bool) func (*BotAppClassArray).PopFirstAsModified() (v *BotApp, ok bool) func (*BotAppNotModified).AsModified() (*BotApp, bool) func (*MessagesBotApp).GetAppAsModified() (*BotApp, bool) func (*SponsoredMessage).GetAppAsModified() (*BotApp, bool) func BotAppArray.FillMap(to map[int64]BotApp) func BotAppClassArray.AppendOnlyModified(to []*BotApp) []*BotApp func BotAppClassArray.FillModifiedMap(to map[int64]*BotApp)
BotAppArray is adapter for slice of BotApp. FillMap fills constructors to given map. First returns first element of slice (if exists). Last returns last element of slice (if exists). Pop returns last element of slice (if exists) and deletes it. PopFirst returns first element of slice (if exists) and deletes it. Retain filters in-place slice of BotApp. Sort sorts slice of BotApp. SortByID sorts slice of BotApp by ID. SortStable sorts slice of BotApp. SortStableByID sorts slice of BotApp by ID. ToMap collects constructors to map. func BotAppArray.Retain(keep func(x BotApp) bool) BotAppArray func BotAppArray.Sort(less func(a, b BotApp) bool) BotAppArray func BotAppArray.SortByID() BotAppArray func BotAppArray.SortStable(less func(a, b BotApp) bool) BotAppArray func BotAppArray.SortStableByID() BotAppArray func BotAppClassArray.AsBotApp() (to BotAppArray)
BotApp boxes the BotAppClass providing a helper. BotApp BotAppClass Decode implements bin.Decoder for BotAppBox. Encode implements bin.Encode for BotAppBox. *BotAppBox : github.com/gotd/td/bin.Decoder *BotAppBox : github.com/gotd/td/bin.Encoder *BotAppBox : github.com/gotd/td/bin.Object
BotAppClass represents BotApp generic type. See https://core.telegram.org/type/BotApp for reference. Example: g, err := tg.DecodeBotApp(buf) if err != nil { panic(err) } switch v := g.(type) { case *tg.BotAppNotModified: // botAppNotModified#5da674b7 case *tg.BotApp: // botApp#95fcd1d6 default: panic(v) } AsModified tries to map BotAppClass to BotApp. ( BotAppClass) Decode(b *bin.Buffer) error ( BotAppClass) DecodeBare(b *bin.Buffer) error ( BotAppClass) Encode(b *bin.Buffer) error ( BotAppClass) EncodeBare(b *bin.Buffer) error String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeName returns name of type in TL schema. Zero returns true if current object has a zero value. *BotApp *BotAppNotModified BotAppClass : github.com/gotd/td/bin.BareDecoder BotAppClass : github.com/gotd/td/bin.BareEncoder BotAppClass : github.com/gotd/td/bin.Decoder BotAppClass : github.com/gotd/td/bin.Encoder BotAppClass : github.com/gotd/td/bin.Object BotAppClass : fmt.Stringer func DecodeBotApp(buf *bin.Buffer) (BotAppClass, error) func BotAppClassArray.First() (v BotAppClass, ok bool) func BotAppClassArray.Last() (v BotAppClass, ok bool) func (*BotAppClassArray).Pop() (v BotAppClass, ok bool) func (*BotAppClassArray).PopFirst() (v BotAppClass, ok bool) func (*MessageActionBotAllowed).GetApp() (value BotAppClass, ok bool) func (*MessagesBotApp).GetApp() (value BotAppClass) func (*SponsoredMessage).GetApp() (value BotAppClass, ok bool) func (*MessageActionBotAllowed).SetApp(value BotAppClass) func (*SponsoredMessage).SetApp(value BotAppClass)
BotAppClassArray is adapter for slice of BotAppClass. AppendOnlyModified appends only Modified constructors to given slice. AsBotApp returns copy with only BotApp constructors. AsModified returns copy with only Modified constructors. FillModifiedMap fills only Modified constructors to given map. First returns first element of slice (if exists). FirstAsModified returns first element of slice (if exists). Last returns last element of slice (if exists). LastAsModified returns last element of slice (if exists). ModifiedToMap collects only Modified constructors to map. Pop returns last element of slice (if exists) and deletes it. PopAsModified returns element of slice (if exists). PopFirst returns first element of slice (if exists) and deletes it. PopFirstAsModified returns element of slice (if exists). Retain filters in-place slice of BotAppClass. Sort sorts slice of BotAppClass. SortStable sorts slice of BotAppClass. func BotAppClassArray.Retain(keep func(x BotAppClass) bool) BotAppClassArray func BotAppClassArray.Sort(less func(a, b BotAppClass) bool) BotAppClassArray func BotAppClassArray.SortStable(less func(a, b BotAppClass) bool) BotAppClassArray
BotAppNotModified represents TL type `botAppNotModified#5da674b7`. Bot app info hasn't changed. See https://core.telegram.org/constructor/botAppNotModified for reference. AsModified tries to map BotAppNotModified to BotApp. Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*BotAppNotModified) Zero() bool *BotAppNotModified : BotAppClass *BotAppNotModified : github.com/gotd/td/bin.BareDecoder *BotAppNotModified : github.com/gotd/td/bin.BareEncoder *BotAppNotModified : github.com/gotd/td/bin.Decoder *BotAppNotModified : github.com/gotd/td/bin.Encoder *BotAppNotModified : github.com/gotd/td/bin.Object *BotAppNotModified : github.com/gotd/td/tdp.Object *BotAppNotModified : fmt.Stringer
BotCallbackQueryHandler is a BotCallbackQuery event handler. func UpdateDispatcher.OnBotCallbackQuery(handler BotCallbackQueryHandler)
BotChatBoostHandler is a BotChatBoost event handler. func UpdateDispatcher.OnBotChatBoost(handler BotChatBoostHandler)
BotChatInviteRequesterHandler is a BotChatInviteRequester event handler. func UpdateDispatcher.OnBotChatInviteRequester(handler BotChatInviteRequesterHandler)
BotCommand represents TL type `botCommand#c27ac8c7`. Describes a bot command that can be used in a chat See https://core.telegram.org/constructor/botCommand for reference. /command name Description of the command Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. FillFrom fills BotCommand from given interface. GetCommand returns value of Command field. GetDescription returns value of Description field. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*BotCommand) Zero() bool *BotCommand : github.com/gotd/td/bin.BareDecoder *BotCommand : github.com/gotd/td/bin.BareEncoder *BotCommand : github.com/gotd/td/bin.Decoder *BotCommand : github.com/gotd/td/bin.Encoder *BotCommand : github.com/gotd/td/bin.Object *BotCommand : github.com/gotd/td/tdp.Object *BotCommand : fmt.Stringer func (*BotCommandVector).GetElems() (value []BotCommand) func (*BotInfo).GetCommands() (value []BotCommand, ok bool) func (*BotsSetBotCommandsRequest).GetCommands() (value []BotCommand) func (*Client).BotsGetBotCommands(ctx context.Context, request *BotsGetBotCommandsRequest) ([]BotCommand, error) func (*UpdateBotCommands).GetCommands() (value []BotCommand) func (*BotInfo).SetCommands(value []BotCommand)
BotCommandScope boxes the BotCommandScopeClass providing a helper. BotCommandScope BotCommandScopeClass Decode implements bin.Decoder for BotCommandScopeBox. Encode implements bin.Encode for BotCommandScopeBox. *BotCommandScopeBox : github.com/gotd/td/bin.Decoder *BotCommandScopeBox : github.com/gotd/td/bin.Encoder *BotCommandScopeBox : github.com/gotd/td/bin.Object
BotCommandScopeChatAdmins represents TL type `botCommandScopeChatAdmins#b9aa606a`. The specified bot commands will be valid only for chat administrators, in all groups and supergroups¹. Links: 1. https://core.telegram.org/api/channel See https://core.telegram.org/constructor/botCommandScopeChatAdmins for reference. Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*BotCommandScopeChatAdmins) Zero() bool *BotCommandScopeChatAdmins : BotCommandScopeClass *BotCommandScopeChatAdmins : github.com/gotd/td/bin.BareDecoder *BotCommandScopeChatAdmins : github.com/gotd/td/bin.BareEncoder *BotCommandScopeChatAdmins : github.com/gotd/td/bin.Decoder *BotCommandScopeChatAdmins : github.com/gotd/td/bin.Encoder *BotCommandScopeChatAdmins : github.com/gotd/td/bin.Object *BotCommandScopeChatAdmins : github.com/gotd/td/tdp.Object *BotCommandScopeChatAdmins : fmt.Stringer
BotCommandScopeChats represents TL type `botCommandScopeChats#6fe1a881`. The specified bot commands will be valid in all groups and supergroups¹. Links: 1. https://core.telegram.org/api/channel See https://core.telegram.org/constructor/botCommandScopeChats for reference. Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*BotCommandScopeChats) Zero() bool *BotCommandScopeChats : BotCommandScopeClass *BotCommandScopeChats : github.com/gotd/td/bin.BareDecoder *BotCommandScopeChats : github.com/gotd/td/bin.BareEncoder *BotCommandScopeChats : github.com/gotd/td/bin.Decoder *BotCommandScopeChats : github.com/gotd/td/bin.Encoder *BotCommandScopeChats : github.com/gotd/td/bin.Object *BotCommandScopeChats : github.com/gotd/td/tdp.Object *BotCommandScopeChats : fmt.Stringer
BotCommandScopeClass represents BotCommandScope generic type. See https://core.telegram.org/type/BotCommandScope for reference. Example: g, err := tg.DecodeBotCommandScope(buf) if err != nil { panic(err) } switch v := g.(type) { case *tg.BotCommandScopeDefault: // botCommandScopeDefault#2f6cb2ab case *tg.BotCommandScopeUsers: // botCommandScopeUsers#3c4f04d8 case *tg.BotCommandScopeChats: // botCommandScopeChats#6fe1a881 case *tg.BotCommandScopeChatAdmins: // botCommandScopeChatAdmins#b9aa606a case *tg.BotCommandScopePeer: // botCommandScopePeer#db9d897d case *tg.BotCommandScopePeerAdmins: // botCommandScopePeerAdmins#3fd863d1 case *tg.BotCommandScopePeerUser: // botCommandScopePeerUser#a1321f3 default: panic(v) } ( BotCommandScopeClass) Decode(b *bin.Buffer) error ( BotCommandScopeClass) DecodeBare(b *bin.Buffer) error ( BotCommandScopeClass) Encode(b *bin.Buffer) error ( BotCommandScopeClass) EncodeBare(b *bin.Buffer) error String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeName returns name of type in TL schema. Zero returns true if current object has a zero value. *BotCommandScopeChatAdmins *BotCommandScopeChats *BotCommandScopeDefault *BotCommandScopePeer *BotCommandScopePeerAdmins *BotCommandScopePeerUser *BotCommandScopeUsers BotCommandScopeClass : github.com/gotd/td/bin.BareDecoder BotCommandScopeClass : github.com/gotd/td/bin.BareEncoder BotCommandScopeClass : github.com/gotd/td/bin.Decoder BotCommandScopeClass : github.com/gotd/td/bin.Encoder BotCommandScopeClass : github.com/gotd/td/bin.Object BotCommandScopeClass : fmt.Stringer func DecodeBotCommandScope(buf *bin.Buffer) (BotCommandScopeClass, error) func BotCommandScopeClassArray.First() (v BotCommandScopeClass, ok bool) func BotCommandScopeClassArray.Last() (v BotCommandScopeClass, ok bool) func (*BotCommandScopeClassArray).Pop() (v BotCommandScopeClass, ok bool) func (*BotCommandScopeClassArray).PopFirst() (v BotCommandScopeClass, ok bool) func (*BotsGetBotCommandsRequest).GetScope() (value BotCommandScopeClass) func (*BotsResetBotCommandsRequest).GetScope() (value BotCommandScopeClass) func (*BotsSetBotCommandsRequest).GetScope() (value BotCommandScopeClass)
BotCommandScopeClassArray is adapter for slice of BotCommandScopeClass. AsBotCommandScopePeer returns copy with only BotCommandScopePeer constructors. AsBotCommandScopePeerAdmins returns copy with only BotCommandScopePeerAdmins constructors. AsBotCommandScopePeerUser returns copy with only BotCommandScopePeerUser constructors. First returns first element of slice (if exists). Last returns last element of slice (if exists). Pop returns last element of slice (if exists) and deletes it. PopFirst returns first element of slice (if exists) and deletes it. Retain filters in-place slice of BotCommandScopeClass. Sort sorts slice of BotCommandScopeClass. SortStable sorts slice of BotCommandScopeClass. func BotCommandScopeClassArray.Retain(keep func(x BotCommandScopeClass) bool) BotCommandScopeClassArray func BotCommandScopeClassArray.Sort(less func(a, b BotCommandScopeClass) bool) BotCommandScopeClassArray func BotCommandScopeClassArray.SortStable(less func(a, b BotCommandScopeClass) bool) BotCommandScopeClassArray
BotCommandScopeDefault represents TL type `botCommandScopeDefault#2f6cb2ab`. The commands will be valid in all dialogs See https://core.telegram.org/constructor/botCommandScopeDefault for reference. Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*BotCommandScopeDefault) Zero() bool *BotCommandScopeDefault : BotCommandScopeClass *BotCommandScopeDefault : github.com/gotd/td/bin.BareDecoder *BotCommandScopeDefault : github.com/gotd/td/bin.BareEncoder *BotCommandScopeDefault : github.com/gotd/td/bin.Decoder *BotCommandScopeDefault : github.com/gotd/td/bin.Encoder *BotCommandScopeDefault : github.com/gotd/td/bin.Object *BotCommandScopeDefault : github.com/gotd/td/tdp.Object *BotCommandScopeDefault : fmt.Stringer
BotCommandScopePeer represents TL type `botCommandScopePeer#db9d897d`. The specified bot commands will be valid only in a specific dialog. See https://core.telegram.org/constructor/botCommandScopePeer for reference. The dialog Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. FillFrom fills BotCommandScopePeer from given interface. GetPeer returns value of Peer field. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*BotCommandScopePeer) Zero() bool *BotCommandScopePeer : BotCommandScopeClass *BotCommandScopePeer : github.com/gotd/td/bin.BareDecoder *BotCommandScopePeer : github.com/gotd/td/bin.BareEncoder *BotCommandScopePeer : github.com/gotd/td/bin.Decoder *BotCommandScopePeer : github.com/gotd/td/bin.Encoder *BotCommandScopePeer : github.com/gotd/td/bin.Object *BotCommandScopePeer : github.com/gotd/td/tdp.Object *BotCommandScopePeer : fmt.Stringer func BotCommandScopePeerArray.First() (v BotCommandScopePeer, ok bool) func BotCommandScopePeerArray.Last() (v BotCommandScopePeer, ok bool) func (*BotCommandScopePeerArray).Pop() (v BotCommandScopePeer, ok bool) func (*BotCommandScopePeerArray).PopFirst() (v BotCommandScopePeer, ok bool)
BotCommandScopePeerAdmins represents TL type `botCommandScopePeerAdmins#3fd863d1`. The specified bot commands will be valid for all admins of the specified group or supergroup¹. Links: 1. https://core.telegram.org/api/channel See https://core.telegram.org/constructor/botCommandScopePeerAdmins for reference. The dialog Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. FillFrom fills BotCommandScopePeerAdmins from given interface. GetPeer returns value of Peer field. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*BotCommandScopePeerAdmins) Zero() bool *BotCommandScopePeerAdmins : BotCommandScopeClass *BotCommandScopePeerAdmins : github.com/gotd/td/bin.BareDecoder *BotCommandScopePeerAdmins : github.com/gotd/td/bin.BareEncoder *BotCommandScopePeerAdmins : github.com/gotd/td/bin.Decoder *BotCommandScopePeerAdmins : github.com/gotd/td/bin.Encoder *BotCommandScopePeerAdmins : github.com/gotd/td/bin.Object *BotCommandScopePeerAdmins : github.com/gotd/td/tdp.Object *BotCommandScopePeerAdmins : fmt.Stringer func BotCommandScopePeerAdminsArray.First() (v BotCommandScopePeerAdmins, ok bool) func BotCommandScopePeerAdminsArray.Last() (v BotCommandScopePeerAdmins, ok bool) func (*BotCommandScopePeerAdminsArray).Pop() (v BotCommandScopePeerAdmins, ok bool) func (*BotCommandScopePeerAdminsArray).PopFirst() (v BotCommandScopePeerAdmins, ok bool)
BotCommandScopePeerAdminsArray is adapter for slice of BotCommandScopePeerAdmins. First returns first element of slice (if exists). Last returns last element of slice (if exists). Pop returns last element of slice (if exists) and deletes it. PopFirst returns first element of slice (if exists) and deletes it. Retain filters in-place slice of BotCommandScopePeerAdmins. Sort sorts slice of BotCommandScopePeerAdmins. SortStable sorts slice of BotCommandScopePeerAdmins. func BotCommandScopeClassArray.AsBotCommandScopePeerAdmins() (to BotCommandScopePeerAdminsArray) func BotCommandScopePeerAdminsArray.Retain(keep func(x BotCommandScopePeerAdmins) bool) BotCommandScopePeerAdminsArray func BotCommandScopePeerAdminsArray.Sort(less func(a, b BotCommandScopePeerAdmins) bool) BotCommandScopePeerAdminsArray func BotCommandScopePeerAdminsArray.SortStable(less func(a, b BotCommandScopePeerAdmins) bool) BotCommandScopePeerAdminsArray
BotCommandScopePeerArray is adapter for slice of BotCommandScopePeer. First returns first element of slice (if exists). Last returns last element of slice (if exists). Pop returns last element of slice (if exists) and deletes it. PopFirst returns first element of slice (if exists) and deletes it. Retain filters in-place slice of BotCommandScopePeer. Sort sorts slice of BotCommandScopePeer. SortStable sorts slice of BotCommandScopePeer. func BotCommandScopeClassArray.AsBotCommandScopePeer() (to BotCommandScopePeerArray) func BotCommandScopePeerArray.Retain(keep func(x BotCommandScopePeer) bool) BotCommandScopePeerArray func BotCommandScopePeerArray.Sort(less func(a, b BotCommandScopePeer) bool) BotCommandScopePeerArray func BotCommandScopePeerArray.SortStable(less func(a, b BotCommandScopePeer) bool) BotCommandScopePeerArray
BotCommandScopePeerUser represents TL type `botCommandScopePeerUser#a1321f3`. The specified bot commands will be valid only for a specific user in the specified group or supergroup¹. Links: 1. https://core.telegram.org/api/channel See https://core.telegram.org/constructor/botCommandScopePeerUser for reference. The chat The user Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. FillFrom fills BotCommandScopePeerUser from given interface. GetPeer returns value of Peer field. GetUserID returns value of UserID field. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*BotCommandScopePeerUser) Zero() bool *BotCommandScopePeerUser : BotCommandScopeClass *BotCommandScopePeerUser : github.com/gotd/td/bin.BareDecoder *BotCommandScopePeerUser : github.com/gotd/td/bin.BareEncoder *BotCommandScopePeerUser : github.com/gotd/td/bin.Decoder *BotCommandScopePeerUser : github.com/gotd/td/bin.Encoder *BotCommandScopePeerUser : github.com/gotd/td/bin.Object *BotCommandScopePeerUser : github.com/gotd/td/tdp.Object *BotCommandScopePeerUser : fmt.Stringer func BotCommandScopePeerUserArray.First() (v BotCommandScopePeerUser, ok bool) func BotCommandScopePeerUserArray.Last() (v BotCommandScopePeerUser, ok bool) func (*BotCommandScopePeerUserArray).Pop() (v BotCommandScopePeerUser, ok bool) func (*BotCommandScopePeerUserArray).PopFirst() (v BotCommandScopePeerUser, ok bool)
BotCommandScopePeerUserArray is adapter for slice of BotCommandScopePeerUser. First returns first element of slice (if exists). Last returns last element of slice (if exists). Pop returns last element of slice (if exists) and deletes it. PopFirst returns first element of slice (if exists) and deletes it. Retain filters in-place slice of BotCommandScopePeerUser. Sort sorts slice of BotCommandScopePeerUser. SortStable sorts slice of BotCommandScopePeerUser. func BotCommandScopeClassArray.AsBotCommandScopePeerUser() (to BotCommandScopePeerUserArray) func BotCommandScopePeerUserArray.Retain(keep func(x BotCommandScopePeerUser) bool) BotCommandScopePeerUserArray func BotCommandScopePeerUserArray.Sort(less func(a, b BotCommandScopePeerUser) bool) BotCommandScopePeerUserArray func BotCommandScopePeerUserArray.SortStable(less func(a, b BotCommandScopePeerUser) bool) BotCommandScopePeerUserArray
BotCommandScopeUsers represents TL type `botCommandScopeUsers#3c4f04d8`. The specified bot commands will only be valid in all private chats with users. See https://core.telegram.org/constructor/botCommandScopeUsers for reference. Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*BotCommandScopeUsers) Zero() bool *BotCommandScopeUsers : BotCommandScopeClass *BotCommandScopeUsers : github.com/gotd/td/bin.BareDecoder *BotCommandScopeUsers : github.com/gotd/td/bin.BareEncoder *BotCommandScopeUsers : github.com/gotd/td/bin.Decoder *BotCommandScopeUsers : github.com/gotd/td/bin.Encoder *BotCommandScopeUsers : github.com/gotd/td/bin.Object *BotCommandScopeUsers : github.com/gotd/td/tdp.Object *BotCommandScopeUsers : fmt.Stringer
BotCommandsHandler is a BotCommands event handler. func UpdateDispatcher.OnBotCommands(handler BotCommandsHandler)
BotCommandVector is a box for Vector<BotCommand> Elements of Vector<BotCommand> Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. FillFrom fills BotCommandVector from given interface. GetElems returns value of Elems field. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*BotCommandVector) Zero() bool *BotCommandVector : github.com/gotd/td/bin.BareDecoder *BotCommandVector : github.com/gotd/td/bin.BareEncoder *BotCommandVector : github.com/gotd/td/bin.Decoder *BotCommandVector : github.com/gotd/td/bin.Encoder *BotCommandVector : github.com/gotd/td/bin.Object *BotCommandVector : github.com/gotd/td/tdp.Object *BotCommandVector : fmt.Stringer
BotInfo represents TL type `botInfo#8f300b57`. Info about bots (available bot commands, etc) See https://core.telegram.org/constructor/botInfo for reference. Bot commands that can be used in the chat Use SetCommands and GetCommands helpers. Description of the bot Use SetDescription and GetDescription helpers. Description animation in MPEG4 format Use SetDescriptionDocument and GetDescriptionDocument helpers. Description photo Use SetDescriptionPhoto and GetDescriptionPhoto helpers. Flags, see TL conditional fields¹ Links: 1) https://core.telegram.org/mtproto/TL-combinators#conditional-fields Indicates the action to execute when pressing the in-UI menu button for bots Use SetMenuButton and GetMenuButton helpers. ID of the bot Use SetUserID and GetUserID helpers. Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. FillFrom fills BotInfo from given interface. GetCommands returns value of Commands conditional field and boolean which is true if field was set. GetDescription returns value of Description conditional field and boolean which is true if field was set. GetDescriptionDocument returns value of DescriptionDocument conditional field and boolean which is true if field was set. GetDescriptionDocumentAsNotEmpty returns mapped value of DescriptionDocument conditional field and boolean which is true if field was set. GetDescriptionPhoto returns value of DescriptionPhoto conditional field and boolean which is true if field was set. GetDescriptionPhotoAsNotEmpty returns mapped value of DescriptionPhoto conditional field and boolean which is true if field was set. GetMenuButton returns value of MenuButton conditional field and boolean which is true if field was set. GetUserID returns value of UserID conditional field and boolean which is true if field was set. SetCommands sets value of Commands conditional field. SetDescription sets value of Description conditional field. SetDescriptionDocument sets value of DescriptionDocument conditional field. SetDescriptionPhoto sets value of DescriptionPhoto conditional field. SetFlags sets flags for non-zero fields. SetMenuButton sets value of MenuButton conditional field. SetUserID sets value of UserID conditional field. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*BotInfo) Zero() bool *BotInfo : github.com/gotd/td/bin.BareDecoder *BotInfo : github.com/gotd/td/bin.BareEncoder *BotInfo : github.com/gotd/td/bin.Decoder *BotInfo : github.com/gotd/td/bin.Encoder *BotInfo : github.com/gotd/td/bin.Object *BotInfo : github.com/gotd/td/tdp.Object *BotInfo : fmt.Stringer func (*ChannelFull).GetBotInfo() (value []BotInfo) func (*ChatFull).GetBotInfo() (value []BotInfo, ok bool) func (*UserFull).GetBotInfo() (value BotInfo, ok bool) func (*ChatFull).SetBotInfo(value []BotInfo) func (*UserFull).SetBotInfo(value BotInfo)
BotInlineMediaResult represents TL type `botInlineMediaResult#17db940b`. Media result See https://core.telegram.org/constructor/botInlineMediaResult for reference. Description Use SetDescription and GetDescription helpers. If type is document, the document to send Use SetDocument and GetDocument helpers. Flags, see TL conditional fields¹ Links: 1) https://core.telegram.org/mtproto/TL-combinators#conditional-fields Result ID If type is photo, the photo to send Use SetPhoto and GetPhoto helpers. Depending on the type and on the constructor¹, contains the caption of the media or the content of the message to be sent instead of the media Links: 1) https://core.telegram.org/type/BotInlineMessage Result title Use SetTitle and GetTitle helpers. Result type (see bot API docs¹) Links: 1) https://core.telegram.org/bots/api#inlinequeryresult Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. FillFrom fills BotInlineMediaResult from given interface. GetDescription returns value of Description conditional field and boolean which is true if field was set. GetDocument returns value of Document conditional field and boolean which is true if field was set. GetID returns value of ID field. GetPhoto returns value of Photo conditional field and boolean which is true if field was set. GetSendMessage returns value of SendMessage field. GetTitle returns value of Title conditional field and boolean which is true if field was set. GetType returns value of Type field. SetDescription sets value of Description conditional field. SetDocument sets value of Document conditional field. SetFlags sets flags for non-zero fields. SetPhoto sets value of Photo conditional field. SetTitle sets value of Title conditional field. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*BotInlineMediaResult) Zero() bool *BotInlineMediaResult : BotInlineResultClass *BotInlineMediaResult : github.com/gotd/td/bin.BareDecoder *BotInlineMediaResult : github.com/gotd/td/bin.BareEncoder *BotInlineMediaResult : github.com/gotd/td/bin.Decoder *BotInlineMediaResult : github.com/gotd/td/bin.Encoder *BotInlineMediaResult : github.com/gotd/td/bin.Object *BotInlineMediaResult : github.com/gotd/td/tdp.Object *BotInlineMediaResult : fmt.Stringer func BotInlineMediaResultArray.First() (v BotInlineMediaResult, ok bool) func BotInlineMediaResultArray.Last() (v BotInlineMediaResult, ok bool) func (*BotInlineMediaResultArray).Pop() (v BotInlineMediaResult, ok bool) func (*BotInlineMediaResultArray).PopFirst() (v BotInlineMediaResult, ok bool)
BotInlineMediaResultArray is adapter for slice of BotInlineMediaResult. First returns first element of slice (if exists). Last returns last element of slice (if exists). Pop returns last element of slice (if exists) and deletes it. PopFirst returns first element of slice (if exists) and deletes it. Retain filters in-place slice of BotInlineMediaResult. Sort sorts slice of BotInlineMediaResult. SortStable sorts slice of BotInlineMediaResult. func BotInlineMediaResultArray.Retain(keep func(x BotInlineMediaResult) bool) BotInlineMediaResultArray func BotInlineMediaResultArray.Sort(less func(a, b BotInlineMediaResult) bool) BotInlineMediaResultArray func BotInlineMediaResultArray.SortStable(less func(a, b BotInlineMediaResult) bool) BotInlineMediaResultArray func BotInlineResultClassArray.AsBotInlineMediaResult() (to BotInlineMediaResultArray)
BotInlineMessage boxes the BotInlineMessageClass providing a helper. BotInlineMessage BotInlineMessageClass Decode implements bin.Decoder for BotInlineMessageBox. Encode implements bin.Encode for BotInlineMessageBox. *BotInlineMessageBox : github.com/gotd/td/bin.Decoder *BotInlineMessageBox : github.com/gotd/td/bin.Encoder *BotInlineMessageBox : github.com/gotd/td/bin.Object
BotInlineMessageClass represents BotInlineMessage generic type. See https://core.telegram.org/type/BotInlineMessage for reference. Example: g, err := tg.DecodeBotInlineMessage(buf) if err != nil { panic(err) } switch v := g.(type) { case *tg.BotInlineMessageMediaAuto: // botInlineMessageMediaAuto#764cf810 case *tg.BotInlineMessageText: // botInlineMessageText#8c7f65e2 case *tg.BotInlineMessageMediaGeo: // botInlineMessageMediaGeo#51846fd case *tg.BotInlineMessageMediaVenue: // botInlineMessageMediaVenue#8a86659c case *tg.BotInlineMessageMediaContact: // botInlineMessageMediaContact#18d1cdc2 case *tg.BotInlineMessageMediaInvoice: // botInlineMessageMediaInvoice#354a9b09 case *tg.BotInlineMessageMediaWebPage: // botInlineMessageMediaWebPage#809ad9a6 default: panic(v) } ( BotInlineMessageClass) Decode(b *bin.Buffer) error ( BotInlineMessageClass) DecodeBare(b *bin.Buffer) error ( BotInlineMessageClass) Encode(b *bin.Buffer) error ( BotInlineMessageClass) EncodeBare(b *bin.Buffer) error Inline keyboard String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeName returns name of type in TL schema. Zero returns true if current object has a zero value. *BotInlineMessageMediaAuto *BotInlineMessageMediaContact *BotInlineMessageMediaGeo *BotInlineMessageMediaInvoice *BotInlineMessageMediaVenue *BotInlineMessageMediaWebPage *BotInlineMessageText BotInlineMessageClass : github.com/gotd/td/bin.BareDecoder BotInlineMessageClass : github.com/gotd/td/bin.BareEncoder BotInlineMessageClass : github.com/gotd/td/bin.Decoder BotInlineMessageClass : github.com/gotd/td/bin.Encoder BotInlineMessageClass : github.com/gotd/td/bin.Object BotInlineMessageClass : fmt.Stringer func DecodeBotInlineMessage(buf *bin.Buffer) (BotInlineMessageClass, error) func (*BotInlineMediaResult).GetSendMessage() (value BotInlineMessageClass) func BotInlineMessageClassArray.First() (v BotInlineMessageClass, ok bool) func BotInlineMessageClassArray.Last() (v BotInlineMessageClass, ok bool) func (*BotInlineMessageClassArray).Pop() (v BotInlineMessageClass, ok bool) func (*BotInlineMessageClassArray).PopFirst() (v BotInlineMessageClass, ok bool) func (*BotInlineResult).GetSendMessage() (value BotInlineMessageClass) func BotInlineResultClass.GetSendMessage() (value BotInlineMessageClass)
BotInlineMessageClassArray is adapter for slice of BotInlineMessageClass. AsBotInlineMessageMediaAuto returns copy with only BotInlineMessageMediaAuto constructors. AsBotInlineMessageMediaContact returns copy with only BotInlineMessageMediaContact constructors. AsBotInlineMessageMediaGeo returns copy with only BotInlineMessageMediaGeo constructors. AsBotInlineMessageMediaInvoice returns copy with only BotInlineMessageMediaInvoice constructors. AsBotInlineMessageMediaVenue returns copy with only BotInlineMessageMediaVenue constructors. AsBotInlineMessageMediaWebPage returns copy with only BotInlineMessageMediaWebPage constructors. AsBotInlineMessageText returns copy with only BotInlineMessageText constructors. First returns first element of slice (if exists). Last returns last element of slice (if exists). Pop returns last element of slice (if exists) and deletes it. PopFirst returns first element of slice (if exists) and deletes it. Retain filters in-place slice of BotInlineMessageClass. Sort sorts slice of BotInlineMessageClass. SortStable sorts slice of BotInlineMessageClass. func BotInlineMessageClassArray.Retain(keep func(x BotInlineMessageClass) bool) BotInlineMessageClassArray func BotInlineMessageClassArray.Sort(less func(a, b BotInlineMessageClass) bool) BotInlineMessageClassArray func BotInlineMessageClassArray.SortStable(less func(a, b BotInlineMessageClass) bool) BotInlineMessageClassArray
BotInlineMessageMediaAuto represents TL type `botInlineMessageMediaAuto#764cf810`. Send whatever media is attached to the botInlineMediaResult¹ Links: 1. https://core.telegram.org/constructor/botInlineMediaResult See https://core.telegram.org/constructor/botInlineMessageMediaAuto for reference. Message entities for styled text¹ Links: 1) https://core.telegram.org/api/entities Use SetEntities and GetEntities helpers. Flags, see TL conditional fields¹ Links: 1) https://core.telegram.org/mtproto/TL-combinators#conditional-fields If set, any eventual webpage preview will be shown on top of the message instead of at the bottom. Caption Inline keyboard Use SetReplyMarkup and GetReplyMarkup helpers. Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. FillFrom fills BotInlineMessageMediaAuto from given interface. GetEntities returns value of Entities conditional field and boolean which is true if field was set. GetInvertMedia returns value of InvertMedia conditional field. GetMessage returns value of Message field. GetReplyMarkup returns value of ReplyMarkup conditional field and boolean which is true if field was set. MapEntities returns field Entities wrapped in MessageEntityClassArray helper. SetEntities sets value of Entities conditional field. SetFlags sets flags for non-zero fields. SetInvertMedia sets value of InvertMedia conditional field. SetReplyMarkup sets value of ReplyMarkup conditional field. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*BotInlineMessageMediaAuto) Zero() bool *BotInlineMessageMediaAuto : BotInlineMessageClass *BotInlineMessageMediaAuto : github.com/gotd/td/bin.BareDecoder *BotInlineMessageMediaAuto : github.com/gotd/td/bin.BareEncoder *BotInlineMessageMediaAuto : github.com/gotd/td/bin.Decoder *BotInlineMessageMediaAuto : github.com/gotd/td/bin.Encoder *BotInlineMessageMediaAuto : github.com/gotd/td/bin.Object *BotInlineMessageMediaAuto : github.com/gotd/td/tdp.Object *BotInlineMessageMediaAuto : fmt.Stringer func BotInlineMessageMediaAutoArray.First() (v BotInlineMessageMediaAuto, ok bool) func BotInlineMessageMediaAutoArray.Last() (v BotInlineMessageMediaAuto, ok bool) func (*BotInlineMessageMediaAutoArray).Pop() (v BotInlineMessageMediaAuto, ok bool) func (*BotInlineMessageMediaAutoArray).PopFirst() (v BotInlineMessageMediaAuto, ok bool)
BotInlineMessageMediaAutoArray is adapter for slice of BotInlineMessageMediaAuto. First returns first element of slice (if exists). Last returns last element of slice (if exists). Pop returns last element of slice (if exists) and deletes it. PopFirst returns first element of slice (if exists) and deletes it. Retain filters in-place slice of BotInlineMessageMediaAuto. Sort sorts slice of BotInlineMessageMediaAuto. SortStable sorts slice of BotInlineMessageMediaAuto. func BotInlineMessageClassArray.AsBotInlineMessageMediaAuto() (to BotInlineMessageMediaAutoArray) func BotInlineMessageMediaAutoArray.Retain(keep func(x BotInlineMessageMediaAuto) bool) BotInlineMessageMediaAutoArray func BotInlineMessageMediaAutoArray.Sort(less func(a, b BotInlineMessageMediaAuto) bool) BotInlineMessageMediaAutoArray func BotInlineMessageMediaAutoArray.SortStable(less func(a, b BotInlineMessageMediaAuto) bool) BotInlineMessageMediaAutoArray
BotInlineMessageMediaContact represents TL type `botInlineMessageMediaContact#18d1cdc2`. Send a contact See https://core.telegram.org/constructor/botInlineMessageMediaContact for reference. First name Flags, see TL conditional fields¹ Links: 1) https://core.telegram.org/mtproto/TL-combinators#conditional-fields Last name Phone number Inline keyboard Use SetReplyMarkup and GetReplyMarkup helpers. VCard info Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. FillFrom fills BotInlineMessageMediaContact from given interface. GetFirstName returns value of FirstName field. GetLastName returns value of LastName field. GetPhoneNumber returns value of PhoneNumber field. GetReplyMarkup returns value of ReplyMarkup conditional field and boolean which is true if field was set. GetVcard returns value of Vcard field. SetFlags sets flags for non-zero fields. SetReplyMarkup sets value of ReplyMarkup conditional field. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*BotInlineMessageMediaContact) Zero() bool *BotInlineMessageMediaContact : BotInlineMessageClass *BotInlineMessageMediaContact : github.com/gotd/td/bin.BareDecoder *BotInlineMessageMediaContact : github.com/gotd/td/bin.BareEncoder *BotInlineMessageMediaContact : github.com/gotd/td/bin.Decoder *BotInlineMessageMediaContact : github.com/gotd/td/bin.Encoder *BotInlineMessageMediaContact : github.com/gotd/td/bin.Object *BotInlineMessageMediaContact : github.com/gotd/td/tdp.Object *BotInlineMessageMediaContact : fmt.Stringer func BotInlineMessageMediaContactArray.First() (v BotInlineMessageMediaContact, ok bool) func BotInlineMessageMediaContactArray.Last() (v BotInlineMessageMediaContact, ok bool) func (*BotInlineMessageMediaContactArray).Pop() (v BotInlineMessageMediaContact, ok bool) func (*BotInlineMessageMediaContactArray).PopFirst() (v BotInlineMessageMediaContact, ok bool)
BotInlineMessageMediaContactArray is adapter for slice of BotInlineMessageMediaContact. First returns first element of slice (if exists). Last returns last element of slice (if exists). Pop returns last element of slice (if exists) and deletes it. PopFirst returns first element of slice (if exists) and deletes it. Retain filters in-place slice of BotInlineMessageMediaContact. Sort sorts slice of BotInlineMessageMediaContact. SortStable sorts slice of BotInlineMessageMediaContact. func BotInlineMessageClassArray.AsBotInlineMessageMediaContact() (to BotInlineMessageMediaContactArray) func BotInlineMessageMediaContactArray.Retain(keep func(x BotInlineMessageMediaContact) bool) BotInlineMessageMediaContactArray func BotInlineMessageMediaContactArray.Sort(less func(a, b BotInlineMessageMediaContact) bool) BotInlineMessageMediaContactArray func BotInlineMessageMediaContactArray.SortStable(less func(a, b BotInlineMessageMediaContact) bool) BotInlineMessageMediaContactArray
BotInlineMessageMediaGeo represents TL type `botInlineMessageMediaGeo#51846fd`. Send a geolocation See https://core.telegram.org/constructor/botInlineMessageMediaGeo for reference. Flags, see TL conditional fields¹ Links: 1) https://core.telegram.org/mtproto/TL-combinators#conditional-fields Geolocation For live locations¹, a direction in which the location moves, in degrees; 1-360. Links: 1) https://core.telegram.org/api/live-location Use SetHeading and GetHeading helpers. Validity period Use SetPeriod and GetPeriod helpers. For live locations¹, a maximum distance to another chat member for proximity alerts, in meters (0-100000). Links: 1) https://core.telegram.org/api/live-location Use SetProximityNotificationRadius and GetProximityNotificationRadius helpers. Inline keyboard Use SetReplyMarkup and GetReplyMarkup helpers. Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. FillFrom fills BotInlineMessageMediaGeo from given interface. GetGeo returns value of Geo field. GetHeading returns value of Heading conditional field and boolean which is true if field was set. GetPeriod returns value of Period conditional field and boolean which is true if field was set. GetProximityNotificationRadius returns value of ProximityNotificationRadius conditional field and boolean which is true if field was set. GetReplyMarkup returns value of ReplyMarkup conditional field and boolean which is true if field was set. SetFlags sets flags for non-zero fields. SetHeading sets value of Heading conditional field. SetPeriod sets value of Period conditional field. SetProximityNotificationRadius sets value of ProximityNotificationRadius conditional field. SetReplyMarkup sets value of ReplyMarkup conditional field. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*BotInlineMessageMediaGeo) Zero() bool *BotInlineMessageMediaGeo : BotInlineMessageClass *BotInlineMessageMediaGeo : github.com/gotd/td/bin.BareDecoder *BotInlineMessageMediaGeo : github.com/gotd/td/bin.BareEncoder *BotInlineMessageMediaGeo : github.com/gotd/td/bin.Decoder *BotInlineMessageMediaGeo : github.com/gotd/td/bin.Encoder *BotInlineMessageMediaGeo : github.com/gotd/td/bin.Object *BotInlineMessageMediaGeo : github.com/gotd/td/tdp.Object *BotInlineMessageMediaGeo : fmt.Stringer func BotInlineMessageMediaGeoArray.First() (v BotInlineMessageMediaGeo, ok bool) func BotInlineMessageMediaGeoArray.Last() (v BotInlineMessageMediaGeo, ok bool) func (*BotInlineMessageMediaGeoArray).Pop() (v BotInlineMessageMediaGeo, ok bool) func (*BotInlineMessageMediaGeoArray).PopFirst() (v BotInlineMessageMediaGeo, ok bool)
BotInlineMessageMediaGeoArray is adapter for slice of BotInlineMessageMediaGeo. First returns first element of slice (if exists). Last returns last element of slice (if exists). Pop returns last element of slice (if exists) and deletes it. PopFirst returns first element of slice (if exists) and deletes it. Retain filters in-place slice of BotInlineMessageMediaGeo. Sort sorts slice of BotInlineMessageMediaGeo. SortStable sorts slice of BotInlineMessageMediaGeo. func BotInlineMessageClassArray.AsBotInlineMessageMediaGeo() (to BotInlineMessageMediaGeoArray) func BotInlineMessageMediaGeoArray.Retain(keep func(x BotInlineMessageMediaGeo) bool) BotInlineMessageMediaGeoArray func BotInlineMessageMediaGeoArray.Sort(less func(a, b BotInlineMessageMediaGeo) bool) BotInlineMessageMediaGeoArray func BotInlineMessageMediaGeoArray.SortStable(less func(a, b BotInlineMessageMediaGeo) bool) BotInlineMessageMediaGeoArray
BotInlineMessageMediaInvoice represents TL type `botInlineMessageMediaInvoice#354a9b09`. Send an invoice See https://core.telegram.org/constructor/botInlineMessageMediaInvoice for reference. Three-letter ISO 4217 currency¹ code Links: 1) https://core.telegram.org/bots/payments#supported-currencies Product description, 1-255 characters Flags, see TL conditional fields¹ Links: 1) https://core.telegram.org/mtproto/TL-combinators#conditional-fields Product photo Use SetPhoto and GetPhoto helpers. Inline keyboard Use SetReplyMarkup and GetReplyMarkup helpers. Set this flag if you require the user's shipping address to complete the order Test invoice Product name, 1-32 characters Total price in the smallest units of the currency (integer, not float/double). For example, for a price of US$ 1.45 pass amount = 145. See the exp parameter in currencies.json¹, it shows the number of digits past the decimal point for each currency (2 for the majority of currencies). Links: 1) https://core.telegram.org/bots/payments/currencies.json Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. FillFrom fills BotInlineMessageMediaInvoice from given interface. GetCurrency returns value of Currency field. GetDescription returns value of Description field. GetPhoto returns value of Photo conditional field and boolean which is true if field was set. GetReplyMarkup returns value of ReplyMarkup conditional field and boolean which is true if field was set. GetShippingAddressRequested returns value of ShippingAddressRequested conditional field. GetTest returns value of Test conditional field. GetTitle returns value of Title field. GetTotalAmount returns value of TotalAmount field. SetFlags sets flags for non-zero fields. SetPhoto sets value of Photo conditional field. SetReplyMarkup sets value of ReplyMarkup conditional field. SetShippingAddressRequested sets value of ShippingAddressRequested conditional field. SetTest sets value of Test conditional field. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*BotInlineMessageMediaInvoice) Zero() bool *BotInlineMessageMediaInvoice : BotInlineMessageClass *BotInlineMessageMediaInvoice : github.com/gotd/td/bin.BareDecoder *BotInlineMessageMediaInvoice : github.com/gotd/td/bin.BareEncoder *BotInlineMessageMediaInvoice : github.com/gotd/td/bin.Decoder *BotInlineMessageMediaInvoice : github.com/gotd/td/bin.Encoder *BotInlineMessageMediaInvoice : github.com/gotd/td/bin.Object *BotInlineMessageMediaInvoice : github.com/gotd/td/tdp.Object *BotInlineMessageMediaInvoice : fmt.Stringer func BotInlineMessageMediaInvoiceArray.First() (v BotInlineMessageMediaInvoice, ok bool) func BotInlineMessageMediaInvoiceArray.Last() (v BotInlineMessageMediaInvoice, ok bool) func (*BotInlineMessageMediaInvoiceArray).Pop() (v BotInlineMessageMediaInvoice, ok bool) func (*BotInlineMessageMediaInvoiceArray).PopFirst() (v BotInlineMessageMediaInvoice, ok bool)
BotInlineMessageMediaInvoiceArray is adapter for slice of BotInlineMessageMediaInvoice. First returns first element of slice (if exists). Last returns last element of slice (if exists). Pop returns last element of slice (if exists) and deletes it. PopFirst returns first element of slice (if exists) and deletes it. Retain filters in-place slice of BotInlineMessageMediaInvoice. Sort sorts slice of BotInlineMessageMediaInvoice. SortStable sorts slice of BotInlineMessageMediaInvoice. func BotInlineMessageClassArray.AsBotInlineMessageMediaInvoice() (to BotInlineMessageMediaInvoiceArray) func BotInlineMessageMediaInvoiceArray.Retain(keep func(x BotInlineMessageMediaInvoice) bool) BotInlineMessageMediaInvoiceArray func BotInlineMessageMediaInvoiceArray.Sort(less func(a, b BotInlineMessageMediaInvoice) bool) BotInlineMessageMediaInvoiceArray func BotInlineMessageMediaInvoiceArray.SortStable(less func(a, b BotInlineMessageMediaInvoice) bool) BotInlineMessageMediaInvoiceArray
BotInlineMessageMediaVenue represents TL type `botInlineMessageMediaVenue#8a86659c`. Send a venue See https://core.telegram.org/constructor/botInlineMessageMediaVenue for reference. Address Flags, see TL conditional fields¹ Links: 1) https://core.telegram.org/mtproto/TL-combinators#conditional-fields Geolocation of venue Venue provider: currently only "foursquare" and "gplaces" (Google Places) need to be supported Inline keyboard Use SetReplyMarkup and GetReplyMarkup helpers. Venue name Venue ID in the provider's database Venue type in the provider's database Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. FillFrom fills BotInlineMessageMediaVenue from given interface. GetAddress returns value of Address field. GetGeo returns value of Geo field. GetProvider returns value of Provider field. GetReplyMarkup returns value of ReplyMarkup conditional field and boolean which is true if field was set. GetTitle returns value of Title field. GetVenueID returns value of VenueID field. GetVenueType returns value of VenueType field. SetFlags sets flags for non-zero fields. SetReplyMarkup sets value of ReplyMarkup conditional field. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*BotInlineMessageMediaVenue) Zero() bool *BotInlineMessageMediaVenue : BotInlineMessageClass *BotInlineMessageMediaVenue : github.com/gotd/td/bin.BareDecoder *BotInlineMessageMediaVenue : github.com/gotd/td/bin.BareEncoder *BotInlineMessageMediaVenue : github.com/gotd/td/bin.Decoder *BotInlineMessageMediaVenue : github.com/gotd/td/bin.Encoder *BotInlineMessageMediaVenue : github.com/gotd/td/bin.Object *BotInlineMessageMediaVenue : github.com/gotd/td/tdp.Object *BotInlineMessageMediaVenue : fmt.Stringer func BotInlineMessageMediaVenueArray.First() (v BotInlineMessageMediaVenue, ok bool) func BotInlineMessageMediaVenueArray.Last() (v BotInlineMessageMediaVenue, ok bool) func (*BotInlineMessageMediaVenueArray).Pop() (v BotInlineMessageMediaVenue, ok bool) func (*BotInlineMessageMediaVenueArray).PopFirst() (v BotInlineMessageMediaVenue, ok bool)
BotInlineMessageMediaVenueArray is adapter for slice of BotInlineMessageMediaVenue. First returns first element of slice (if exists). Last returns last element of slice (if exists). Pop returns last element of slice (if exists) and deletes it. PopFirst returns first element of slice (if exists) and deletes it. Retain filters in-place slice of BotInlineMessageMediaVenue. Sort sorts slice of BotInlineMessageMediaVenue. SortStable sorts slice of BotInlineMessageMediaVenue. func BotInlineMessageClassArray.AsBotInlineMessageMediaVenue() (to BotInlineMessageMediaVenueArray) func BotInlineMessageMediaVenueArray.Retain(keep func(x BotInlineMessageMediaVenue) bool) BotInlineMessageMediaVenueArray func BotInlineMessageMediaVenueArray.Sort(less func(a, b BotInlineMessageMediaVenue) bool) BotInlineMessageMediaVenueArray func BotInlineMessageMediaVenueArray.SortStable(less func(a, b BotInlineMessageMediaVenue) bool) BotInlineMessageMediaVenueArray
BotInlineMessageMediaWebPage represents TL type `botInlineMessageMediaWebPage#809ad9a6`. Specifies options that must be used to generate the link preview for the message, or even a standalone link preview without an attached message. See https://core.telegram.org/constructor/botInlineMessageMediaWebPage for reference. Message entities for styled text¹ Links: 1) https://core.telegram.org/api/entities Use SetEntities and GetEntities helpers. Flags, see TL conditional fields¹ Links: 1) https://core.telegram.org/mtproto/TL-combinators#conditional-fields If set, specifies that a large media preview should be used. If set, specifies that a small media preview should be used. If set, any eventual webpage preview will be shown on top of the message instead of at the bottom. If set, indicates that the URL used for the webpage preview was specified manually using inputMediaWebPage¹, and may not be related to any of the URLs specified in the message. Links: 1) https://core.telegram.org/constructor/inputMediaWebPage The message, can be empty. Reply markup for sending bot buttons Use SetReplyMarkup and GetReplyMarkup helpers. If set, the link can be opened directly without user confirmation. The URL to use for the link preview. Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. FillFrom fills BotInlineMessageMediaWebPage from given interface. GetEntities returns value of Entities conditional field and boolean which is true if field was set. GetForceLargeMedia returns value of ForceLargeMedia conditional field. GetForceSmallMedia returns value of ForceSmallMedia conditional field. GetInvertMedia returns value of InvertMedia conditional field. GetManual returns value of Manual conditional field. GetMessage returns value of Message field. GetReplyMarkup returns value of ReplyMarkup conditional field and boolean which is true if field was set. GetSafe returns value of Safe conditional field. GetURL returns value of URL field. MapEntities returns field Entities wrapped in MessageEntityClassArray helper. SetEntities sets value of Entities conditional field. SetFlags sets flags for non-zero fields. SetForceLargeMedia sets value of ForceLargeMedia conditional field. SetForceSmallMedia sets value of ForceSmallMedia conditional field. SetInvertMedia sets value of InvertMedia conditional field. SetManual sets value of Manual conditional field. SetReplyMarkup sets value of ReplyMarkup conditional field. SetSafe sets value of Safe conditional field. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*BotInlineMessageMediaWebPage) Zero() bool *BotInlineMessageMediaWebPage : BotInlineMessageClass *BotInlineMessageMediaWebPage : github.com/gotd/td/bin.BareDecoder *BotInlineMessageMediaWebPage : github.com/gotd/td/bin.BareEncoder *BotInlineMessageMediaWebPage : github.com/gotd/td/bin.Decoder *BotInlineMessageMediaWebPage : github.com/gotd/td/bin.Encoder *BotInlineMessageMediaWebPage : github.com/gotd/td/bin.Object *BotInlineMessageMediaWebPage : github.com/gotd/td/tdp.Object *BotInlineMessageMediaWebPage : fmt.Stringer func BotInlineMessageMediaWebPageArray.First() (v BotInlineMessageMediaWebPage, ok bool) func BotInlineMessageMediaWebPageArray.Last() (v BotInlineMessageMediaWebPage, ok bool) func (*BotInlineMessageMediaWebPageArray).Pop() (v BotInlineMessageMediaWebPage, ok bool) func (*BotInlineMessageMediaWebPageArray).PopFirst() (v BotInlineMessageMediaWebPage, ok bool)
BotInlineMessageMediaWebPageArray is adapter for slice of BotInlineMessageMediaWebPage. First returns first element of slice (if exists). Last returns last element of slice (if exists). Pop returns last element of slice (if exists) and deletes it. PopFirst returns first element of slice (if exists) and deletes it. Retain filters in-place slice of BotInlineMessageMediaWebPage. Sort sorts slice of BotInlineMessageMediaWebPage. SortStable sorts slice of BotInlineMessageMediaWebPage. func BotInlineMessageClassArray.AsBotInlineMessageMediaWebPage() (to BotInlineMessageMediaWebPageArray) func BotInlineMessageMediaWebPageArray.Retain(keep func(x BotInlineMessageMediaWebPage) bool) BotInlineMessageMediaWebPageArray func BotInlineMessageMediaWebPageArray.Sort(less func(a, b BotInlineMessageMediaWebPage) bool) BotInlineMessageMediaWebPageArray func BotInlineMessageMediaWebPageArray.SortStable(less func(a, b BotInlineMessageMediaWebPage) bool) BotInlineMessageMediaWebPageArray
BotInlineMessageText represents TL type `botInlineMessageText#8c7f65e2`. Send a simple text message See https://core.telegram.org/constructor/botInlineMessageText for reference. Message entities for styled text¹ Links: 1) https://core.telegram.org/api/entities Use SetEntities and GetEntities helpers. Flags, see TL conditional fields¹ Links: 1) https://core.telegram.org/mtproto/TL-combinators#conditional-fields If set, any eventual webpage preview will be shown on top of the message instead of at the bottom. The message Disable webpage preview Inline keyboard Use SetReplyMarkup and GetReplyMarkup helpers. Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. FillFrom fills BotInlineMessageText from given interface. GetEntities returns value of Entities conditional field and boolean which is true if field was set. GetInvertMedia returns value of InvertMedia conditional field. GetMessage returns value of Message field. GetNoWebpage returns value of NoWebpage conditional field. GetReplyMarkup returns value of ReplyMarkup conditional field and boolean which is true if field was set. MapEntities returns field Entities wrapped in MessageEntityClassArray helper. SetEntities sets value of Entities conditional field. SetFlags sets flags for non-zero fields. SetInvertMedia sets value of InvertMedia conditional field. SetNoWebpage sets value of NoWebpage conditional field. SetReplyMarkup sets value of ReplyMarkup conditional field. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*BotInlineMessageText) Zero() bool *BotInlineMessageText : BotInlineMessageClass *BotInlineMessageText : github.com/gotd/td/bin.BareDecoder *BotInlineMessageText : github.com/gotd/td/bin.BareEncoder *BotInlineMessageText : github.com/gotd/td/bin.Decoder *BotInlineMessageText : github.com/gotd/td/bin.Encoder *BotInlineMessageText : github.com/gotd/td/bin.Object *BotInlineMessageText : github.com/gotd/td/tdp.Object *BotInlineMessageText : fmt.Stringer func BotInlineMessageTextArray.First() (v BotInlineMessageText, ok bool) func BotInlineMessageTextArray.Last() (v BotInlineMessageText, ok bool) func (*BotInlineMessageTextArray).Pop() (v BotInlineMessageText, ok bool) func (*BotInlineMessageTextArray).PopFirst() (v BotInlineMessageText, ok bool)
BotInlineMessageTextArray is adapter for slice of BotInlineMessageText. First returns first element of slice (if exists). Last returns last element of slice (if exists). Pop returns last element of slice (if exists) and deletes it. PopFirst returns first element of slice (if exists) and deletes it. Retain filters in-place slice of BotInlineMessageText. Sort sorts slice of BotInlineMessageText. SortStable sorts slice of BotInlineMessageText. func BotInlineMessageClassArray.AsBotInlineMessageText() (to BotInlineMessageTextArray) func BotInlineMessageTextArray.Retain(keep func(x BotInlineMessageText) bool) BotInlineMessageTextArray func BotInlineMessageTextArray.Sort(less func(a, b BotInlineMessageText) bool) BotInlineMessageTextArray func BotInlineMessageTextArray.SortStable(less func(a, b BotInlineMessageText) bool) BotInlineMessageTextArray
BotInlineQueryHandler is a BotInlineQuery event handler. func UpdateDispatcher.OnBotInlineQuery(handler BotInlineQueryHandler)
BotInlineResult represents TL type `botInlineResult#11965f3a`. Generic result See https://core.telegram.org/constructor/botInlineResult for reference. Content of the result Use SetContent and GetContent helpers. Result description Use SetDescription and GetDescription helpers. Flags, see TL conditional fields¹ Links: 1) https://core.telegram.org/mtproto/TL-combinators#conditional-fields Result ID Message to send Thumbnail for the result Use SetThumb and GetThumb helpers. Result title Use SetTitle and GetTitle helpers. Result type (see bot API docs¹) Links: 1) https://core.telegram.org/bots/api#inlinequeryresult URL of article or webpage Use SetURL and GetURL helpers. Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. FillFrom fills BotInlineResult from given interface. GetContent returns value of Content conditional field and boolean which is true if field was set. GetDescription returns value of Description conditional field and boolean which is true if field was set. GetID returns value of ID field. GetSendMessage returns value of SendMessage field. GetThumb returns value of Thumb conditional field and boolean which is true if field was set. GetTitle returns value of Title conditional field and boolean which is true if field was set. GetType returns value of Type field. GetURL returns value of URL conditional field and boolean which is true if field was set. SetContent sets value of Content conditional field. SetDescription sets value of Description conditional field. SetFlags sets flags for non-zero fields. SetThumb sets value of Thumb conditional field. SetTitle sets value of Title conditional field. SetURL sets value of URL conditional field. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*BotInlineResult) Zero() bool *BotInlineResult : BotInlineResultClass *BotInlineResult : github.com/gotd/td/bin.BareDecoder *BotInlineResult : github.com/gotd/td/bin.BareEncoder *BotInlineResult : github.com/gotd/td/bin.Decoder *BotInlineResult : github.com/gotd/td/bin.Encoder *BotInlineResult : github.com/gotd/td/bin.Object *BotInlineResult : github.com/gotd/td/tdp.Object *BotInlineResult : fmt.Stringer func BotInlineResultArray.First() (v BotInlineResult, ok bool) func BotInlineResultArray.Last() (v BotInlineResult, ok bool) func (*BotInlineResultArray).Pop() (v BotInlineResult, ok bool) func (*BotInlineResultArray).PopFirst() (v BotInlineResult, ok bool)
BotInlineResultArray is adapter for slice of BotInlineResult. First returns first element of slice (if exists). Last returns last element of slice (if exists). Pop returns last element of slice (if exists) and deletes it. PopFirst returns first element of slice (if exists) and deletes it. Retain filters in-place slice of BotInlineResult. Sort sorts slice of BotInlineResult. SortStable sorts slice of BotInlineResult. func BotInlineResultArray.Retain(keep func(x BotInlineResult) bool) BotInlineResultArray func BotInlineResultArray.Sort(less func(a, b BotInlineResult) bool) BotInlineResultArray func BotInlineResultArray.SortStable(less func(a, b BotInlineResult) bool) BotInlineResultArray func BotInlineResultClassArray.AsBotInlineResult() (to BotInlineResultArray)
BotInlineResult boxes the BotInlineResultClass providing a helper. BotInlineResult BotInlineResultClass Decode implements bin.Decoder for BotInlineResultBox. Encode implements bin.Encode for BotInlineResultBox. *BotInlineResultBox : github.com/gotd/td/bin.Decoder *BotInlineResultBox : github.com/gotd/td/bin.Encoder *BotInlineResultBox : github.com/gotd/td/bin.Object
BotInlineResultClass represents BotInlineResult generic type. See https://core.telegram.org/type/BotInlineResult for reference. Example: g, err := tg.DecodeBotInlineResult(buf) if err != nil { panic(err) } switch v := g.(type) { case *tg.BotInlineResult: // botInlineResult#11965f3a case *tg.BotInlineMediaResult: // botInlineMediaResult#17db940b default: panic(v) } ( BotInlineResultClass) Decode(b *bin.Buffer) error ( BotInlineResultClass) DecodeBare(b *bin.Buffer) error ( BotInlineResultClass) Encode(b *bin.Buffer) error ( BotInlineResultClass) EncodeBare(b *bin.Buffer) error Result description Result ID Message to send Result title Result type (see bot API docs¹) Links: 1) https://core.telegram.org/bots/api#inlinequeryresult String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeName returns name of type in TL schema. Zero returns true if current object has a zero value. *BotInlineMediaResult *BotInlineResult BotInlineResultClass : github.com/gotd/td/bin.BareDecoder BotInlineResultClass : github.com/gotd/td/bin.BareEncoder BotInlineResultClass : github.com/gotd/td/bin.Decoder BotInlineResultClass : github.com/gotd/td/bin.Encoder BotInlineResultClass : github.com/gotd/td/bin.Object BotInlineResultClass : fmt.Stringer func DecodeBotInlineResult(buf *bin.Buffer) (BotInlineResultClass, error) func BotInlineResultClassArray.First() (v BotInlineResultClass, ok bool) func BotInlineResultClassArray.Last() (v BotInlineResultClass, ok bool) func (*BotInlineResultClassArray).Pop() (v BotInlineResultClass, ok bool) func (*BotInlineResultClassArray).PopFirst() (v BotInlineResultClass, ok bool) func (*MessagesBotResults).GetResults() (value []BotInlineResultClass)
BotInlineResultClassArray is adapter for slice of BotInlineResultClass. AsBotInlineMediaResult returns copy with only BotInlineMediaResult constructors. AsBotInlineResult returns copy with only BotInlineResult constructors. First returns first element of slice (if exists). Last returns last element of slice (if exists). Pop returns last element of slice (if exists) and deletes it. PopFirst returns first element of slice (if exists) and deletes it. Retain filters in-place slice of BotInlineResultClass. Sort sorts slice of BotInlineResultClass. SortStable sorts slice of BotInlineResultClass. func BotInlineResultClassArray.Retain(keep func(x BotInlineResultClass) bool) BotInlineResultClassArray func BotInlineResultClassArray.Sort(less func(a, b BotInlineResultClass) bool) BotInlineResultClassArray func BotInlineResultClassArray.SortStable(less func(a, b BotInlineResultClass) bool) BotInlineResultClassArray func (*MessagesBotResults).MapResults() (value BotInlineResultClassArray)
BotInlineSendHandler is a BotInlineSend event handler. func UpdateDispatcher.OnBotInlineSend(handler BotInlineSendHandler)
BotMenuButton represents TL type `botMenuButton#c7b57ce6`. Bot menu button¹ that opens a web app² when clicked. Links: 1. https://core.telegram.org/api/bots/menu 2. https://core.telegram.org/api/bots/webapps See https://core.telegram.org/constructor/botMenuButton for reference. Title to be displayed on the menu button instead of 'Menu' URL of a web app¹ to open when the user clicks on the button Links: 1) https://core.telegram.org/api/bots/webapps Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. FillFrom fills BotMenuButton from given interface. GetText returns value of Text field. GetURL returns value of URL field. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*BotMenuButton) Zero() bool *BotMenuButton : BotMenuButtonClass *BotMenuButton : github.com/gotd/td/bin.BareDecoder *BotMenuButton : github.com/gotd/td/bin.BareEncoder *BotMenuButton : github.com/gotd/td/bin.Decoder *BotMenuButton : github.com/gotd/td/bin.Encoder *BotMenuButton : github.com/gotd/td/bin.Object *BotMenuButton : github.com/gotd/td/tdp.Object *BotMenuButton : fmt.Stringer func BotMenuButtonArray.First() (v BotMenuButton, ok bool) func BotMenuButtonArray.Last() (v BotMenuButton, ok bool) func (*BotMenuButtonArray).Pop() (v BotMenuButton, ok bool) func (*BotMenuButtonArray).PopFirst() (v BotMenuButton, ok bool)
BotMenuButtonArray is adapter for slice of BotMenuButton. First returns first element of slice (if exists). Last returns last element of slice (if exists). Pop returns last element of slice (if exists) and deletes it. PopFirst returns first element of slice (if exists) and deletes it. Retain filters in-place slice of BotMenuButton. Sort sorts slice of BotMenuButton. SortStable sorts slice of BotMenuButton. func BotMenuButtonArray.Retain(keep func(x BotMenuButton) bool) BotMenuButtonArray func BotMenuButtonArray.Sort(less func(a, b BotMenuButton) bool) BotMenuButtonArray func BotMenuButtonArray.SortStable(less func(a, b BotMenuButton) bool) BotMenuButtonArray func BotMenuButtonClassArray.AsBotMenuButton() (to BotMenuButtonArray)
BotMenuButton boxes the BotMenuButtonClass providing a helper. BotMenuButton BotMenuButtonClass Decode implements bin.Decoder for BotMenuButtonBox. Encode implements bin.Encode for BotMenuButtonBox. *BotMenuButtonBox : github.com/gotd/td/bin.Decoder *BotMenuButtonBox : github.com/gotd/td/bin.Encoder *BotMenuButtonBox : github.com/gotd/td/bin.Object
BotMenuButtonClass represents BotMenuButton generic type. See https://core.telegram.org/type/BotMenuButton for reference. Example: g, err := tg.DecodeBotMenuButton(buf) if err != nil { panic(err) } switch v := g.(type) { case *tg.BotMenuButtonDefault: // botMenuButtonDefault#7533a588 case *tg.BotMenuButtonCommands: // botMenuButtonCommands#4258c205 case *tg.BotMenuButton: // botMenuButton#c7b57ce6 default: panic(v) } ( BotMenuButtonClass) Decode(b *bin.Buffer) error ( BotMenuButtonClass) DecodeBare(b *bin.Buffer) error ( BotMenuButtonClass) Encode(b *bin.Buffer) error ( BotMenuButtonClass) EncodeBare(b *bin.Buffer) error String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeName returns name of type in TL schema. Zero returns true if current object has a zero value. *BotMenuButton *BotMenuButtonCommands *BotMenuButtonDefault BotMenuButtonClass : github.com/gotd/td/bin.BareDecoder BotMenuButtonClass : github.com/gotd/td/bin.BareEncoder BotMenuButtonClass : github.com/gotd/td/bin.Decoder BotMenuButtonClass : github.com/gotd/td/bin.Encoder BotMenuButtonClass : github.com/gotd/td/bin.Object BotMenuButtonClass : fmt.Stringer func DecodeBotMenuButton(buf *bin.Buffer) (BotMenuButtonClass, error) func (*BotInfo).GetMenuButton() (value BotMenuButtonClass, ok bool) func BotMenuButtonClassArray.First() (v BotMenuButtonClass, ok bool) func BotMenuButtonClassArray.Last() (v BotMenuButtonClass, ok bool) func (*BotMenuButtonClassArray).Pop() (v BotMenuButtonClass, ok bool) func (*BotMenuButtonClassArray).PopFirst() (v BotMenuButtonClass, ok bool) func (*BotsSetBotMenuButtonRequest).GetButton() (value BotMenuButtonClass) func (*Client).BotsGetBotMenuButton(ctx context.Context, userid InputUserClass) (BotMenuButtonClass, error) func (*UpdateBotMenuButton).GetButton() (value BotMenuButtonClass) func (*BotInfo).SetMenuButton(value BotMenuButtonClass)
BotMenuButtonClassArray is adapter for slice of BotMenuButtonClass. AsBotMenuButton returns copy with only BotMenuButton constructors. First returns first element of slice (if exists). Last returns last element of slice (if exists). Pop returns last element of slice (if exists) and deletes it. PopFirst returns first element of slice (if exists) and deletes it. Retain filters in-place slice of BotMenuButtonClass. Sort sorts slice of BotMenuButtonClass. SortStable sorts slice of BotMenuButtonClass. func BotMenuButtonClassArray.Retain(keep func(x BotMenuButtonClass) bool) BotMenuButtonClassArray func BotMenuButtonClassArray.Sort(less func(a, b BotMenuButtonClass) bool) BotMenuButtonClassArray func BotMenuButtonClassArray.SortStable(less func(a, b BotMenuButtonClass) bool) BotMenuButtonClassArray
BotMenuButtonCommands represents TL type `botMenuButtonCommands#4258c205`. Bot menu button¹ that opens the bot command list when clicked. Links: 1. https://core.telegram.org/api/bots/menu See https://core.telegram.org/constructor/botMenuButtonCommands for reference. Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*BotMenuButtonCommands) Zero() bool *BotMenuButtonCommands : BotMenuButtonClass *BotMenuButtonCommands : github.com/gotd/td/bin.BareDecoder *BotMenuButtonCommands : github.com/gotd/td/bin.BareEncoder *BotMenuButtonCommands : github.com/gotd/td/bin.Decoder *BotMenuButtonCommands : github.com/gotd/td/bin.Encoder *BotMenuButtonCommands : github.com/gotd/td/bin.Object *BotMenuButtonCommands : github.com/gotd/td/tdp.Object *BotMenuButtonCommands : fmt.Stringer
BotMenuButtonDefault represents TL type `botMenuButtonDefault#7533a588`. Placeholder bot menu button¹ never returned to users: see the docs for more info². Links: 1. https://core.telegram.org/api/bots/menu 2. https://core.telegram.org/api/bots/menu See https://core.telegram.org/constructor/botMenuButtonDefault for reference. Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*BotMenuButtonDefault) Zero() bool *BotMenuButtonDefault : BotMenuButtonClass *BotMenuButtonDefault : github.com/gotd/td/bin.BareDecoder *BotMenuButtonDefault : github.com/gotd/td/bin.BareEncoder *BotMenuButtonDefault : github.com/gotd/td/bin.Decoder *BotMenuButtonDefault : github.com/gotd/td/bin.Encoder *BotMenuButtonDefault : github.com/gotd/td/bin.Object *BotMenuButtonDefault : github.com/gotd/td/tdp.Object *BotMenuButtonDefault : fmt.Stringer
BotMenuButtonHandler is a BotMenuButton event handler. func UpdateDispatcher.OnBotMenuButton(handler BotMenuButtonHandler)
BotMessageReactionHandler is a BotMessageReaction event handler. func UpdateDispatcher.OnBotMessageReaction(handler BotMessageReactionHandler)
BotMessageReactionsHandler is a BotMessageReactions event handler. func UpdateDispatcher.OnBotMessageReactions(handler BotMessageReactionsHandler)
BotPrecheckoutQueryHandler is a BotPrecheckoutQuery event handler. func UpdateDispatcher.OnBotPrecheckoutQuery(handler BotPrecheckoutQueryHandler)
BotsAllowSendMessageRequest represents TL type `bots.allowSendMessage#f132e3ef`. Allow the specified bot to send us messages See https://core.telegram.org/method/bots.allowSendMessage for reference. The bot Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. FillFrom fills BotsAllowSendMessageRequest from given interface. GetBot returns value of Bot field. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*BotsAllowSendMessageRequest) Zero() bool *BotsAllowSendMessageRequest : github.com/gotd/td/bin.BareDecoder *BotsAllowSendMessageRequest : github.com/gotd/td/bin.BareEncoder *BotsAllowSendMessageRequest : github.com/gotd/td/bin.Decoder *BotsAllowSendMessageRequest : github.com/gotd/td/bin.Encoder *BotsAllowSendMessageRequest : github.com/gotd/td/bin.Object *BotsAllowSendMessageRequest : github.com/gotd/td/tdp.Object *BotsAllowSendMessageRequest : fmt.Stringer
BotsAnswerWebhookJSONQueryRequest represents TL type `bots.answerWebhookJSONQuery#e6213f4d`. Answers a custom query; for bots only See https://core.telegram.org/method/bots.answerWebhookJSONQuery for reference. JSON-serialized answer to the query Identifier of a custom query Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. FillFrom fills BotsAnswerWebhookJSONQueryRequest from given interface. GetData returns value of Data field. GetQueryID returns value of QueryID field. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*BotsAnswerWebhookJSONQueryRequest) Zero() bool *BotsAnswerWebhookJSONQueryRequest : github.com/gotd/td/bin.BareDecoder *BotsAnswerWebhookJSONQueryRequest : github.com/gotd/td/bin.BareEncoder *BotsAnswerWebhookJSONQueryRequest : github.com/gotd/td/bin.Decoder *BotsAnswerWebhookJSONQueryRequest : github.com/gotd/td/bin.Encoder *BotsAnswerWebhookJSONQueryRequest : github.com/gotd/td/bin.Object *BotsAnswerWebhookJSONQueryRequest : github.com/gotd/td/tdp.Object *BotsAnswerWebhookJSONQueryRequest : fmt.Stringer func (*Client).BotsAnswerWebhookJSONQuery(ctx context.Context, request *BotsAnswerWebhookJSONQueryRequest) (bool, error)
BotsBotInfo represents TL type `bots.botInfo#e8a775b0`. Localized information about a bot. See https://core.telegram.org/constructor/bots.botInfo for reference. Bot about text Bot description Bot name Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. FillFrom fills BotsBotInfo from given interface. GetAbout returns value of About field. GetDescription returns value of Description field. GetName returns value of Name field. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*BotsBotInfo) Zero() bool *BotsBotInfo : github.com/gotd/td/bin.BareDecoder *BotsBotInfo : github.com/gotd/td/bin.BareEncoder *BotsBotInfo : github.com/gotd/td/bin.Decoder *BotsBotInfo : github.com/gotd/td/bin.Encoder *BotsBotInfo : github.com/gotd/td/bin.Object *BotsBotInfo : github.com/gotd/td/tdp.Object *BotsBotInfo : fmt.Stringer func (*Client).BotsGetBotInfo(ctx context.Context, request *BotsGetBotInfoRequest) (*BotsBotInfo, error)
BotsCanSendMessageRequest represents TL type `bots.canSendMessage#1359f4e6`. Check whether the specified bot can send us messages See https://core.telegram.org/method/bots.canSendMessage for reference. The bot Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. FillFrom fills BotsCanSendMessageRequest from given interface. GetBot returns value of Bot field. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*BotsCanSendMessageRequest) Zero() bool *BotsCanSendMessageRequest : github.com/gotd/td/bin.BareDecoder *BotsCanSendMessageRequest : github.com/gotd/td/bin.BareEncoder *BotsCanSendMessageRequest : github.com/gotd/td/bin.Decoder *BotsCanSendMessageRequest : github.com/gotd/td/bin.Encoder *BotsCanSendMessageRequest : github.com/gotd/td/bin.Object *BotsCanSendMessageRequest : github.com/gotd/td/tdp.Object *BotsCanSendMessageRequest : fmt.Stringer
BotsGetBotCommandsRequest represents TL type `bots.getBotCommands#e34c0dd6`. Obtain a list of bot commands for the specified bot scope and language code See https://core.telegram.org/method/bots.getBotCommands for reference. Language code Command scope Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. FillFrom fills BotsGetBotCommandsRequest from given interface. GetLangCode returns value of LangCode field. GetScope returns value of Scope field. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*BotsGetBotCommandsRequest) Zero() bool *BotsGetBotCommandsRequest : github.com/gotd/td/bin.BareDecoder *BotsGetBotCommandsRequest : github.com/gotd/td/bin.BareEncoder *BotsGetBotCommandsRequest : github.com/gotd/td/bin.Decoder *BotsGetBotCommandsRequest : github.com/gotd/td/bin.Encoder *BotsGetBotCommandsRequest : github.com/gotd/td/bin.Object *BotsGetBotCommandsRequest : github.com/gotd/td/tdp.Object *BotsGetBotCommandsRequest : fmt.Stringer func (*Client).BotsGetBotCommands(ctx context.Context, request *BotsGetBotCommandsRequest) ([]BotCommand, error)
BotsGetBotInfoRequest represents TL type `bots.getBotInfo#dcd914fd`. Get localized name, about text and description of a bot (or of the current account, if called by a bot). See https://core.telegram.org/method/bots.getBotInfo for reference. If called by a user, must contain the peer of a bot we own. Use SetBot and GetBot helpers. Flags, see TL conditional fields¹ Links: 1) https://core.telegram.org/mtproto/TL-combinators#conditional-fields Language code, if left empty this method will return the fallback about text and description. Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. FillFrom fills BotsGetBotInfoRequest from given interface. GetBot returns value of Bot conditional field and boolean which is true if field was set. GetLangCode returns value of LangCode field. SetBot sets value of Bot conditional field. SetFlags sets flags for non-zero fields. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*BotsGetBotInfoRequest) Zero() bool *BotsGetBotInfoRequest : github.com/gotd/td/bin.BareDecoder *BotsGetBotInfoRequest : github.com/gotd/td/bin.BareEncoder *BotsGetBotInfoRequest : github.com/gotd/td/bin.Decoder *BotsGetBotInfoRequest : github.com/gotd/td/bin.Encoder *BotsGetBotInfoRequest : github.com/gotd/td/bin.Object *BotsGetBotInfoRequest : github.com/gotd/td/tdp.Object *BotsGetBotInfoRequest : fmt.Stringer func (*Client).BotsGetBotInfo(ctx context.Context, request *BotsGetBotInfoRequest) (*BotsBotInfo, error)
BotsGetBotMenuButtonRequest represents TL type `bots.getBotMenuButton#9c60eb28`. Gets the menu button action for a given user or for all users, previously set using bots.setBotMenuButton¹; users can see this information in the botInfo² constructor. Links: 1. https://core.telegram.org/method/bots.setBotMenuButton 2. https://core.telegram.org/constructor/botInfo See https://core.telegram.org/method/bots.getBotMenuButton for reference. User ID or empty for the default menu button. Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. FillFrom fills BotsGetBotMenuButtonRequest from given interface. GetUserID returns value of UserID field. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*BotsGetBotMenuButtonRequest) Zero() bool *BotsGetBotMenuButtonRequest : github.com/gotd/td/bin.BareDecoder *BotsGetBotMenuButtonRequest : github.com/gotd/td/bin.BareEncoder *BotsGetBotMenuButtonRequest : github.com/gotd/td/bin.Decoder *BotsGetBotMenuButtonRequest : github.com/gotd/td/bin.Encoder *BotsGetBotMenuButtonRequest : github.com/gotd/td/bin.Object *BotsGetBotMenuButtonRequest : github.com/gotd/td/tdp.Object *BotsGetBotMenuButtonRequest : fmt.Stringer
BotShippingQueryHandler is a BotShippingQuery event handler. func UpdateDispatcher.OnBotShippingQuery(handler BotShippingQueryHandler)
BotsInvokeWebViewCustomMethodRequest represents TL type `bots.invokeWebViewCustomMethod#87fc5e7`. Send a custom request from a mini bot app¹, triggered by a web_app_invoke_custom_method event »². The response should be sent using a custom_method_invoked¹ event, see here »² for more info on the flow. Links: 1. https://core.telegram.org/api/bots/webapps 2. https://core.telegram.org/api/web-events#web-app-invoke-custom-method 3. https://core.telegram.org/api/bots/webapps#custom-method-invoked 4. https://core.telegram.org/api/web-events#web-app-invoke-custom-method See https://core.telegram.org/method/bots.invokeWebViewCustomMethod for reference. Identifier of the bot associated to the mini bot app¹ Links: 1) https://core.telegram.org/api/bots/webapps Identifier of the custom method to invoke Method parameters Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. FillFrom fills BotsInvokeWebViewCustomMethodRequest from given interface. GetBot returns value of Bot field. GetCustomMethod returns value of CustomMethod field. GetParams returns value of Params field. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*BotsInvokeWebViewCustomMethodRequest) Zero() bool *BotsInvokeWebViewCustomMethodRequest : github.com/gotd/td/bin.BareDecoder *BotsInvokeWebViewCustomMethodRequest : github.com/gotd/td/bin.BareEncoder *BotsInvokeWebViewCustomMethodRequest : github.com/gotd/td/bin.Decoder *BotsInvokeWebViewCustomMethodRequest : github.com/gotd/td/bin.Encoder *BotsInvokeWebViewCustomMethodRequest : github.com/gotd/td/bin.Object *BotsInvokeWebViewCustomMethodRequest : github.com/gotd/td/tdp.Object *BotsInvokeWebViewCustomMethodRequest : fmt.Stringer func (*Client).BotsInvokeWebViewCustomMethod(ctx context.Context, request *BotsInvokeWebViewCustomMethodRequest) (*DataJSON, error)
BotsReorderUsernamesRequest represents TL type `bots.reorderUsernames#9709b1c2`. Reorder usernames associated to a bot we own. See https://core.telegram.org/method/bots.reorderUsernames for reference. The bot The new order for active usernames. All active usernames must be specified. Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. FillFrom fills BotsReorderUsernamesRequest from given interface. GetBot returns value of Bot field. GetOrder returns value of Order field. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*BotsReorderUsernamesRequest) Zero() bool *BotsReorderUsernamesRequest : github.com/gotd/td/bin.BareDecoder *BotsReorderUsernamesRequest : github.com/gotd/td/bin.BareEncoder *BotsReorderUsernamesRequest : github.com/gotd/td/bin.Decoder *BotsReorderUsernamesRequest : github.com/gotd/td/bin.Encoder *BotsReorderUsernamesRequest : github.com/gotd/td/bin.Object *BotsReorderUsernamesRequest : github.com/gotd/td/tdp.Object *BotsReorderUsernamesRequest : fmt.Stringer func (*Client).BotsReorderUsernames(ctx context.Context, request *BotsReorderUsernamesRequest) (bool, error)
BotsResetBotCommandsRequest represents TL type `bots.resetBotCommands#3d8de0f9`. Clear bot commands for the specified bot scope and language code See https://core.telegram.org/method/bots.resetBotCommands for reference. Language code Command scope Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. FillFrom fills BotsResetBotCommandsRequest from given interface. GetLangCode returns value of LangCode field. GetScope returns value of Scope field. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*BotsResetBotCommandsRequest) Zero() bool *BotsResetBotCommandsRequest : github.com/gotd/td/bin.BareDecoder *BotsResetBotCommandsRequest : github.com/gotd/td/bin.BareEncoder *BotsResetBotCommandsRequest : github.com/gotd/td/bin.Decoder *BotsResetBotCommandsRequest : github.com/gotd/td/bin.Encoder *BotsResetBotCommandsRequest : github.com/gotd/td/bin.Object *BotsResetBotCommandsRequest : github.com/gotd/td/tdp.Object *BotsResetBotCommandsRequest : fmt.Stringer func (*Client).BotsResetBotCommands(ctx context.Context, request *BotsResetBotCommandsRequest) (bool, error)
BotsSendCustomRequestRequest represents TL type `bots.sendCustomRequest#aa2769ed`. Sends a custom request; for bots only See https://core.telegram.org/method/bots.sendCustomRequest for reference. The method name JSON-serialized method parameters Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. FillFrom fills BotsSendCustomRequestRequest from given interface. GetCustomMethod returns value of CustomMethod field. GetParams returns value of Params field. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*BotsSendCustomRequestRequest) Zero() bool *BotsSendCustomRequestRequest : github.com/gotd/td/bin.BareDecoder *BotsSendCustomRequestRequest : github.com/gotd/td/bin.BareEncoder *BotsSendCustomRequestRequest : github.com/gotd/td/bin.Decoder *BotsSendCustomRequestRequest : github.com/gotd/td/bin.Encoder *BotsSendCustomRequestRequest : github.com/gotd/td/bin.Object *BotsSendCustomRequestRequest : github.com/gotd/td/tdp.Object *BotsSendCustomRequestRequest : fmt.Stringer func (*Client).BotsSendCustomRequest(ctx context.Context, request *BotsSendCustomRequestRequest) (*DataJSON, error)
BotsSetBotBroadcastDefaultAdminRightsRequest represents TL type `bots.setBotBroadcastDefaultAdminRights#788464e1`. Set the default suggested admin rights¹ for bots being added as admins to channels, see here for more info on how to handle them »². Links: 1. https://core.telegram.org/api/rights#suggested-bot-rights 2. https://core.telegram.org/api/rights#suggested-bot-rights See https://core.telegram.org/method/bots.setBotBroadcastDefaultAdminRights for reference. Admin rights Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. FillFrom fills BotsSetBotBroadcastDefaultAdminRightsRequest from given interface. GetAdminRights returns value of AdminRights field. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*BotsSetBotBroadcastDefaultAdminRightsRequest) Zero() bool *BotsSetBotBroadcastDefaultAdminRightsRequest : github.com/gotd/td/bin.BareDecoder *BotsSetBotBroadcastDefaultAdminRightsRequest : github.com/gotd/td/bin.BareEncoder *BotsSetBotBroadcastDefaultAdminRightsRequest : github.com/gotd/td/bin.Decoder *BotsSetBotBroadcastDefaultAdminRightsRequest : github.com/gotd/td/bin.Encoder *BotsSetBotBroadcastDefaultAdminRightsRequest : github.com/gotd/td/bin.Object *BotsSetBotBroadcastDefaultAdminRightsRequest : github.com/gotd/td/tdp.Object *BotsSetBotBroadcastDefaultAdminRightsRequest : fmt.Stringer
BotsSetBotCommandsRequest represents TL type `bots.setBotCommands#517165a`. Set bot command list See https://core.telegram.org/method/bots.setBotCommands for reference. Bot commands Language code Command scope Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. FillFrom fills BotsSetBotCommandsRequest from given interface. GetCommands returns value of Commands field. GetLangCode returns value of LangCode field. GetScope returns value of Scope field. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*BotsSetBotCommandsRequest) Zero() bool *BotsSetBotCommandsRequest : github.com/gotd/td/bin.BareDecoder *BotsSetBotCommandsRequest : github.com/gotd/td/bin.BareEncoder *BotsSetBotCommandsRequest : github.com/gotd/td/bin.Decoder *BotsSetBotCommandsRequest : github.com/gotd/td/bin.Encoder *BotsSetBotCommandsRequest : github.com/gotd/td/bin.Object *BotsSetBotCommandsRequest : github.com/gotd/td/tdp.Object *BotsSetBotCommandsRequest : fmt.Stringer func (*Client).BotsSetBotCommands(ctx context.Context, request *BotsSetBotCommandsRequest) (bool, error)
BotsSetBotGroupDefaultAdminRightsRequest represents TL type `bots.setBotGroupDefaultAdminRights#925ec9ea`. Set the default suggested admin rights¹ for bots being added as admins to groups, see here for more info on how to handle them »². Links: 1. https://core.telegram.org/api/rights#suggested-bot-rights 2. https://core.telegram.org/api/rights#suggested-bot-rights See https://core.telegram.org/method/bots.setBotGroupDefaultAdminRights for reference. Admin rights Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. FillFrom fills BotsSetBotGroupDefaultAdminRightsRequest from given interface. GetAdminRights returns value of AdminRights field. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*BotsSetBotGroupDefaultAdminRightsRequest) Zero() bool *BotsSetBotGroupDefaultAdminRightsRequest : github.com/gotd/td/bin.BareDecoder *BotsSetBotGroupDefaultAdminRightsRequest : github.com/gotd/td/bin.BareEncoder *BotsSetBotGroupDefaultAdminRightsRequest : github.com/gotd/td/bin.Decoder *BotsSetBotGroupDefaultAdminRightsRequest : github.com/gotd/td/bin.Encoder *BotsSetBotGroupDefaultAdminRightsRequest : github.com/gotd/td/bin.Object *BotsSetBotGroupDefaultAdminRightsRequest : github.com/gotd/td/tdp.Object *BotsSetBotGroupDefaultAdminRightsRequest : fmt.Stringer
BotsSetBotInfoRequest represents TL type `bots.setBotInfo#10cf3123`. Set localized name, about text and description of a bot (or of the current account, if called by a bot). See https://core.telegram.org/method/bots.setBotInfo for reference. New about text Use SetAbout and GetAbout helpers. If called by a user, must contain the peer of a bot we own. Use SetBot and GetBot helpers. New description Use SetDescription and GetDescription helpers. Flags, see TL conditional fields¹ Links: 1) https://core.telegram.org/mtproto/TL-combinators#conditional-fields Language code, if left empty update the fallback about text and description New bot name Use SetName and GetName helpers. Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. FillFrom fills BotsSetBotInfoRequest from given interface. GetAbout returns value of About conditional field and boolean which is true if field was set. GetBot returns value of Bot conditional field and boolean which is true if field was set. GetDescription returns value of Description conditional field and boolean which is true if field was set. GetLangCode returns value of LangCode field. GetName returns value of Name conditional field and boolean which is true if field was set. SetAbout sets value of About conditional field. SetBot sets value of Bot conditional field. SetDescription sets value of Description conditional field. SetFlags sets flags for non-zero fields. SetName sets value of Name conditional field. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*BotsSetBotInfoRequest) Zero() bool *BotsSetBotInfoRequest : github.com/gotd/td/bin.BareDecoder *BotsSetBotInfoRequest : github.com/gotd/td/bin.BareEncoder *BotsSetBotInfoRequest : github.com/gotd/td/bin.Decoder *BotsSetBotInfoRequest : github.com/gotd/td/bin.Encoder *BotsSetBotInfoRequest : github.com/gotd/td/bin.Object *BotsSetBotInfoRequest : github.com/gotd/td/tdp.Object *BotsSetBotInfoRequest : fmt.Stringer func (*Client).BotsSetBotInfo(ctx context.Context, request *BotsSetBotInfoRequest) (bool, error)
BotsSetBotMenuButtonRequest represents TL type `bots.setBotMenuButton#4504d54f`. Sets the menu button action »¹ for a given user or for all users Links: 1. https://core.telegram.org/api/bots/menu See https://core.telegram.org/method/bots.setBotMenuButton for reference. Bot menu button action User ID Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. FillFrom fills BotsSetBotMenuButtonRequest from given interface. GetButton returns value of Button field. GetUserID returns value of UserID field. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*BotsSetBotMenuButtonRequest) Zero() bool *BotsSetBotMenuButtonRequest : github.com/gotd/td/bin.BareDecoder *BotsSetBotMenuButtonRequest : github.com/gotd/td/bin.BareEncoder *BotsSetBotMenuButtonRequest : github.com/gotd/td/bin.Decoder *BotsSetBotMenuButtonRequest : github.com/gotd/td/bin.Encoder *BotsSetBotMenuButtonRequest : github.com/gotd/td/bin.Object *BotsSetBotMenuButtonRequest : github.com/gotd/td/tdp.Object *BotsSetBotMenuButtonRequest : fmt.Stringer func (*Client).BotsSetBotMenuButton(ctx context.Context, request *BotsSetBotMenuButtonRequest) (bool, error)
BotsToggleUsernameRequest represents TL type `bots.toggleUsername#53ca973`. Activate or deactivate a purchased fragment.com¹ username associated to a bot we own. Links: 1. https://fragment.com See https://core.telegram.org/method/bots.toggleUsername for reference. Whether to activate or deactivate it The bot Username Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. FillFrom fills BotsToggleUsernameRequest from given interface. GetActive returns value of Active field. GetBot returns value of Bot field. GetUsername returns value of Username field. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*BotsToggleUsernameRequest) Zero() bool *BotsToggleUsernameRequest : github.com/gotd/td/bin.BareDecoder *BotsToggleUsernameRequest : github.com/gotd/td/bin.BareEncoder *BotsToggleUsernameRequest : github.com/gotd/td/bin.Decoder *BotsToggleUsernameRequest : github.com/gotd/td/bin.Encoder *BotsToggleUsernameRequest : github.com/gotd/td/bin.Object *BotsToggleUsernameRequest : github.com/gotd/td/tdp.Object *BotsToggleUsernameRequest : fmt.Stringer func (*Client).BotsToggleUsername(ctx context.Context, request *BotsToggleUsernameRequest) (bool, error)
BotStoppedHandler is a BotStopped event handler. func UpdateDispatcher.OnBotStopped(handler BotStoppedHandler)
BotWebhookJSONHandler is a BotWebhookJSON event handler. func UpdateDispatcher.OnBotWebhookJSON(handler BotWebhookJSONHandler)
BotWebhookJSONQueryHandler is a BotWebhookJSONQuery event handler. func UpdateDispatcher.OnBotWebhookJSONQuery(handler BotWebhookJSONQueryHandler)
Bytes represents TL type `bytes#e937bb82`. See https://core.telegram.org/constructor/bytes for reference. Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*Bytes) Zero() bool *Bytes : github.com/gotd/td/bin.BareDecoder *Bytes : github.com/gotd/td/bin.BareEncoder *Bytes : github.com/gotd/td/bin.Decoder *Bytes : github.com/gotd/td/bin.Encoder *Bytes : github.com/gotd/td/bin.Object *Bytes : github.com/gotd/td/tdp.Object *Bytes : fmt.Stringer
CDNConfig represents TL type `cdnConfig#5725e40a`. Configuration for CDN¹ file downloads. Links: 1. https://core.telegram.org/cdn See https://core.telegram.org/constructor/cdnConfig for reference. Vector of public keys to use only during handshakes to CDN¹ DCs. Links: 1) https://core.telegram.org/cdn Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. FillFrom fills CDNConfig from given interface. GetPublicKeys returns value of PublicKeys field. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*CDNConfig) Zero() bool *CDNConfig : github.com/gotd/td/bin.BareDecoder *CDNConfig : github.com/gotd/td/bin.BareEncoder *CDNConfig : github.com/gotd/td/bin.Decoder *CDNConfig : github.com/gotd/td/bin.Encoder *CDNConfig : github.com/gotd/td/bin.Object *CDNConfig : github.com/gotd/td/tdp.Object *CDNConfig : fmt.Stringer func (*Client).HelpGetCDNConfig(ctx context.Context) (*CDNConfig, error)
CDNPublicKey represents TL type `cdnPublicKey#c982eaba`. Public key to use only during handshakes to CDN¹ DCs. Links: 1. https://core.telegram.org/cdn See https://core.telegram.org/constructor/cdnPublicKey for reference. CDN DC¹ ID Links: 1) https://core.telegram.org/cdn RSA public key Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. FillFrom fills CDNPublicKey from given interface. GetDCID returns value of DCID field. GetPublicKey returns value of PublicKey field. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*CDNPublicKey) Zero() bool *CDNPublicKey : github.com/gotd/td/bin.BareDecoder *CDNPublicKey : github.com/gotd/td/bin.BareEncoder *CDNPublicKey : github.com/gotd/td/bin.Decoder *CDNPublicKey : github.com/gotd/td/bin.Encoder *CDNPublicKey : github.com/gotd/td/bin.Object *CDNPublicKey : github.com/gotd/td/tdp.Object *CDNPublicKey : fmt.Stringer func (*CDNConfig).GetPublicKeys() (value []CDNPublicKey)
Channel represents TL type `channel#aadfc8f`. Channel/supergroup info See https://core.telegram.org/constructor/channel for reference. Access hash Use SetAccessHash and GetAccessHash helpers. Admin rights of the user in this channel (see rights¹) Links: 1) https://core.telegram.org/api/rights Use SetAdminRights and GetAdminRights helpers. Banned rights of the user in this channel (see rights¹) Links: 1) https://core.telegram.org/api/rights Use SetBannedRights and GetBannedRights helpers. Is this a channel? Whether a group call or livestream is currently active Whether there's anyone in the group call or livestream The channel's accent color¹. Links: 1) https://core.telegram.org/api/colors Use SetColor and GetColor helpers. Whether the current user is the creator of this channel Date when the user joined the supergroup/channel, or if the user isn't a member, its creation date Default chat rights (see rights¹) Links: 1) https://core.telegram.org/api/rights Use SetDefaultBannedRights and GetDefaultBannedRights helpers. EmojiStatus field of Channel. Use SetEmojiStatus and GetEmojiStatus helpers. If set, this supergroup/channel¹ was reported by many users as a fake or scam: be careful when interacting with it. Links: 1) https://core.telegram.org/api/channel Flags, see TL conditional fields¹ Links: 1) https://core.telegram.org/mtproto/TL-combinators#conditional-fields Flags, see TL conditional fields¹ Links: 1) https://core.telegram.org/mtproto/TL-combinators#conditional-fields Whether this supergroup is a forum¹ Links: 1) https://core.telegram.org/api/forum Whether this supergroup¹ is a gigagroup Links: 1) https://core.telegram.org/api/channel Whether this chanel has a geoposition Whether this channel has a private join link ID of the channel Whether a user's join request will have to be approved by administrators¹, toggle using channels.toggleJoinToSend² Links: 1) https://core.telegram.org/api/invites#join-requests 2) https://core.telegram.org/method/channels.toggleJoinRequest Whether a user needs to join the supergroup before they can send messages: can be false only for discussion groups »¹, toggle using channels.toggleJoinToSend² Links: 1) https://core.telegram.org/api/discussion 2) https://core.telegram.org/method/channels.toggleJoinToSend Whether the current user has left or is not a member of this channel Level field of Channel. Use SetLevel and GetLevel helpers. Is this a supergroup? See min¹ Links: 1) https://core.telegram.org/api/min Whether this channel or group is protected¹, thus does not allow forwarding messages from it Links: 1) https://telegram.org/blog/protected-content-delete-by-date-and-more Participant count Use SetParticipantsCount and GetParticipantsCount helpers. Profile photo ProfileColor field of Channel. Use SetProfileColor and GetProfileColor helpers. Whether viewing/writing in this channel for a reason (see restriction_reason Contains the reason why access to this channel must be restricted. Use SetRestrictionReason and GetRestrictionReason helpers. This channel/supergroup is probably a scam Whether signatures are enabled (channels) Whether slow mode is enabled for groups to prevent flood in chat Whether we have hidden all stories posted by this channel »¹. Links: 1) https://core.telegram.org/api/stories#hiding-stories-of-other-users If set, indicates that the stories_hidden flag was not populated, and its value must cannot be relied on; use the previously cached value, or re-fetch the constructor using channels.getChannels¹ to obtain the latest value of the stories_hidden flag. Links: 1) https://core.telegram.org/method/channels.getChannels ID of the maximum read story¹. Links: 1) https://core.telegram.org/api/stories Use SetStoriesMaxID and GetStoriesMaxID helpers. No stories from the channel are visible. Title Username Use SetUsername and GetUsername helpers. Additional usernames Use SetUsernames and GetUsernames helpers. Is this channel verified by telegram? AsFull tries to map Channel to FullChat. AsInput tries to map Channel to InputChannel. AsInputPeer tries to map Channel to InputPeerChannel. AsNotEmpty tries to map Channel to NotEmptyChat. AsNotForbidden tries to map Channel to NotForbiddenChat. Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. FillFrom fills Channel from given interface. GetAccessHash returns value of AccessHash conditional field and boolean which is true if field was set. GetAdminRights returns value of AdminRights conditional field and boolean which is true if field was set. GetBannedRights returns value of BannedRights conditional field and boolean which is true if field was set. GetBroadcast returns value of Broadcast conditional field. GetCallActive returns value of CallActive conditional field. GetCallNotEmpty returns value of CallNotEmpty conditional field. GetColor returns value of Color conditional field and boolean which is true if field was set. GetCreator returns value of Creator conditional field. GetDate returns value of Date field. GetDefaultBannedRights returns value of DefaultBannedRights conditional field and boolean which is true if field was set. GetEmojiStatus returns value of EmojiStatus conditional field and boolean which is true if field was set. GetFake returns value of Fake conditional field. GetForum returns value of Forum conditional field. GetGigagroup returns value of Gigagroup conditional field. GetHasGeo returns value of HasGeo conditional field. GetHasLink returns value of HasLink conditional field. GetID returns value of ID field. GetJoinRequest returns value of JoinRequest conditional field. GetJoinToSend returns value of JoinToSend conditional field. GetLeft returns value of Left conditional field. GetLevel returns value of Level conditional field and boolean which is true if field was set. GetMegagroup returns value of Megagroup conditional field. GetMin returns value of Min conditional field. GetNoforwards returns value of Noforwards conditional field. GetParticipantsCount returns value of ParticipantsCount conditional field and boolean which is true if field was set. GetPhoto returns value of Photo field. GetProfileColor returns value of ProfileColor conditional field and boolean which is true if field was set. GetRestricted returns value of Restricted conditional field. GetRestrictionReason returns value of RestrictionReason conditional field and boolean which is true if field was set. GetScam returns value of Scam conditional field. GetSignatures returns value of Signatures conditional field. GetSlowmodeEnabled returns value of SlowmodeEnabled conditional field. GetStoriesHidden returns value of StoriesHidden conditional field. GetStoriesHiddenMin returns value of StoriesHiddenMin conditional field. GetStoriesMaxID returns value of StoriesMaxID conditional field and boolean which is true if field was set. GetStoriesUnavailable returns value of StoriesUnavailable conditional field. GetTitle returns value of Title field. GetUsername returns value of Username conditional field and boolean which is true if field was set. GetUsernames returns value of Usernames conditional field and boolean which is true if field was set. GetVerified returns value of Verified conditional field. SetAccessHash sets value of AccessHash conditional field. SetAdminRights sets value of AdminRights conditional field. SetBannedRights sets value of BannedRights conditional field. SetBroadcast sets value of Broadcast conditional field. SetCallActive sets value of CallActive conditional field. SetCallNotEmpty sets value of CallNotEmpty conditional field. SetColor sets value of Color conditional field. SetCreator sets value of Creator conditional field. SetDefaultBannedRights sets value of DefaultBannedRights conditional field. SetEmojiStatus sets value of EmojiStatus conditional field. SetFake sets value of Fake conditional field. SetFlags sets flags for non-zero fields. SetForum sets value of Forum conditional field. SetGigagroup sets value of Gigagroup conditional field. SetHasGeo sets value of HasGeo conditional field. SetHasLink sets value of HasLink conditional field. SetJoinRequest sets value of JoinRequest conditional field. SetJoinToSend sets value of JoinToSend conditional field. SetLeft sets value of Left conditional field. SetLevel sets value of Level conditional field. SetMegagroup sets value of Megagroup conditional field. SetMin sets value of Min conditional field. SetNoforwards sets value of Noforwards conditional field. SetParticipantsCount sets value of ParticipantsCount conditional field. SetProfileColor sets value of ProfileColor conditional field. SetRestricted sets value of Restricted conditional field. SetRestrictionReason sets value of RestrictionReason conditional field. SetScam sets value of Scam conditional field. SetSignatures sets value of Signatures conditional field. SetSlowmodeEnabled sets value of SlowmodeEnabled conditional field. SetStoriesHidden sets value of StoriesHidden conditional field. SetStoriesHiddenMin sets value of StoriesHiddenMin conditional field. SetStoriesMaxID sets value of StoriesMaxID conditional field. SetStoriesUnavailable sets value of StoriesUnavailable conditional field. SetUsername sets value of Username conditional field. SetUsernames sets value of Usernames conditional field. SetVerified sets value of Verified conditional field. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*Channel) Zero() bool *Channel : ChatClass *Channel : FullChat *Channel : NotEmptyChat *Channel : NotForbiddenChat *Channel : github.com/gotd/td/bin.BareDecoder *Channel : github.com/gotd/td/bin.BareEncoder *Channel : github.com/gotd/td/bin.Decoder *Channel : github.com/gotd/td/bin.Encoder *Channel : github.com/gotd/td/bin.Object *Channel : github.com/gotd/td/tdp.Object *Channel : fmt.Stringer func ChannelArray.First() (v Channel, ok bool) func ChannelArray.Last() (v Channel, ok bool) func (*ChannelArray).Pop() (v Channel, ok bool) func (*ChannelArray).PopFirst() (v Channel, ok bool) func ChannelArray.ToMap() map[int64]Channel func ChatClassArray.ChannelToMap() map[int64]*Channel func ChannelArray.FillMap(to map[int64]Channel) func ChatClassArray.FillChannelMap(to map[int64]*Channel)
ChannelAdminLogEvent represents TL type `channelAdminLogEvent#1fad68cd`. Admin log event See https://core.telegram.org/constructor/channelAdminLogEvent for reference. Action Date Event ID User ID Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. FillFrom fills ChannelAdminLogEvent from given interface. GetAction returns value of Action field. GetDate returns value of Date field. GetID returns value of ID field. GetUserID returns value of UserID field. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*ChannelAdminLogEvent) Zero() bool *ChannelAdminLogEvent : github.com/gotd/td/bin.BareDecoder *ChannelAdminLogEvent : github.com/gotd/td/bin.BareEncoder *ChannelAdminLogEvent : github.com/gotd/td/bin.Decoder *ChannelAdminLogEvent : github.com/gotd/td/bin.Encoder *ChannelAdminLogEvent : github.com/gotd/td/bin.Object *ChannelAdminLogEvent : github.com/gotd/td/tdp.Object *ChannelAdminLogEvent : fmt.Stringer func (*ChannelsAdminLogResults).GetEvents() (value []ChannelAdminLogEvent)
ChannelAdminLogEventAction boxes the ChannelAdminLogEventActionClass providing a helper. ChannelAdminLogEventAction ChannelAdminLogEventActionClass Decode implements bin.Decoder for ChannelAdminLogEventActionBox. Encode implements bin.Encode for ChannelAdminLogEventActionBox. *ChannelAdminLogEventActionBox : github.com/gotd/td/bin.Decoder *ChannelAdminLogEventActionBox : github.com/gotd/td/bin.Encoder *ChannelAdminLogEventActionBox : github.com/gotd/td/bin.Object
ChannelAdminLogEventActionChangeAbout represents TL type `channelAdminLogEventActionChangeAbout#55188a2e`. The description was changed See https://core.telegram.org/constructor/channelAdminLogEventActionChangeAbout for reference. New title Previous title Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. FillFrom fills ChannelAdminLogEventActionChangeAbout from given interface. GetNewValue returns value of NewValue field. GetPrevValue returns value of PrevValue field. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*ChannelAdminLogEventActionChangeAbout) Zero() bool *ChannelAdminLogEventActionChangeAbout : ChannelAdminLogEventActionClass *ChannelAdminLogEventActionChangeAbout : github.com/gotd/td/bin.BareDecoder *ChannelAdminLogEventActionChangeAbout : github.com/gotd/td/bin.BareEncoder *ChannelAdminLogEventActionChangeAbout : github.com/gotd/td/bin.Decoder *ChannelAdminLogEventActionChangeAbout : github.com/gotd/td/bin.Encoder *ChannelAdminLogEventActionChangeAbout : github.com/gotd/td/bin.Object *ChannelAdminLogEventActionChangeAbout : github.com/gotd/td/tdp.Object *ChannelAdminLogEventActionChangeAbout : fmt.Stringer func ChannelAdminLogEventActionChangeAboutArray.First() (v ChannelAdminLogEventActionChangeAbout, ok bool) func ChannelAdminLogEventActionChangeAboutArray.Last() (v ChannelAdminLogEventActionChangeAbout, ok bool) func (*ChannelAdminLogEventActionChangeAboutArray).Pop() (v ChannelAdminLogEventActionChangeAbout, ok bool) func (*ChannelAdminLogEventActionChangeAboutArray).PopFirst() (v ChannelAdminLogEventActionChangeAbout, ok bool)
ChannelAdminLogEventActionChangeAboutArray is adapter for slice of ChannelAdminLogEventActionChangeAbout. First returns first element of slice (if exists). Last returns last element of slice (if exists). Pop returns last element of slice (if exists) and deletes it. PopFirst returns first element of slice (if exists) and deletes it. Retain filters in-place slice of ChannelAdminLogEventActionChangeAbout. Sort sorts slice of ChannelAdminLogEventActionChangeAbout. SortStable sorts slice of ChannelAdminLogEventActionChangeAbout. func ChannelAdminLogEventActionChangeAboutArray.Retain(keep func(x ChannelAdminLogEventActionChangeAbout) bool) ChannelAdminLogEventActionChangeAboutArray func ChannelAdminLogEventActionChangeAboutArray.Sort(less func(a, b ChannelAdminLogEventActionChangeAbout) bool) ChannelAdminLogEventActionChangeAboutArray func ChannelAdminLogEventActionChangeAboutArray.SortStable(less func(a, b ChannelAdminLogEventActionChangeAbout) bool) ChannelAdminLogEventActionChangeAboutArray func ChannelAdminLogEventActionClassArray.AsChannelAdminLogEventActionChangeAbout() (to ChannelAdminLogEventActionChangeAboutArray)
ChannelAdminLogEventActionChangeAvailableReactions represents TL type `channelAdminLogEventActionChangeAvailableReactions#be4e0ef8`. The set of allowed message reactions »¹ for this channel has changed Links: 1. https://core.telegram.org/api/reactions See https://core.telegram.org/constructor/channelAdminLogEventActionChangeAvailableReactions for reference. New allowed reaction emojis Previously allowed reaction emojis Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. FillFrom fills ChannelAdminLogEventActionChangeAvailableReactions from given interface. GetNewValue returns value of NewValue field. GetPrevValue returns value of PrevValue field. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*ChannelAdminLogEventActionChangeAvailableReactions) Zero() bool *ChannelAdminLogEventActionChangeAvailableReactions : ChannelAdminLogEventActionClass *ChannelAdminLogEventActionChangeAvailableReactions : github.com/gotd/td/bin.BareDecoder *ChannelAdminLogEventActionChangeAvailableReactions : github.com/gotd/td/bin.BareEncoder *ChannelAdminLogEventActionChangeAvailableReactions : github.com/gotd/td/bin.Decoder *ChannelAdminLogEventActionChangeAvailableReactions : github.com/gotd/td/bin.Encoder *ChannelAdminLogEventActionChangeAvailableReactions : github.com/gotd/td/bin.Object *ChannelAdminLogEventActionChangeAvailableReactions : github.com/gotd/td/tdp.Object *ChannelAdminLogEventActionChangeAvailableReactions : fmt.Stringer func ChannelAdminLogEventActionChangeAvailableReactionsArray.First() (v ChannelAdminLogEventActionChangeAvailableReactions, ok bool) func ChannelAdminLogEventActionChangeAvailableReactionsArray.Last() (v ChannelAdminLogEventActionChangeAvailableReactions, ok bool) func (*ChannelAdminLogEventActionChangeAvailableReactionsArray).Pop() (v ChannelAdminLogEventActionChangeAvailableReactions, ok bool) func (*ChannelAdminLogEventActionChangeAvailableReactionsArray).PopFirst() (v ChannelAdminLogEventActionChangeAvailableReactions, ok bool)
ChannelAdminLogEventActionChangeAvailableReactionsArray is adapter for slice of ChannelAdminLogEventActionChangeAvailableReactions. First returns first element of slice (if exists). Last returns last element of slice (if exists). Pop returns last element of slice (if exists) and deletes it. PopFirst returns first element of slice (if exists) and deletes it. Retain filters in-place slice of ChannelAdminLogEventActionChangeAvailableReactions. Sort sorts slice of ChannelAdminLogEventActionChangeAvailableReactions. SortStable sorts slice of ChannelAdminLogEventActionChangeAvailableReactions. func ChannelAdminLogEventActionChangeAvailableReactionsArray.Retain(keep func(x ChannelAdminLogEventActionChangeAvailableReactions) bool) ChannelAdminLogEventActionChangeAvailableReactionsArray func ChannelAdminLogEventActionChangeAvailableReactionsArray.Sort(less func(a, b ChannelAdminLogEventActionChangeAvailableReactions) bool) ChannelAdminLogEventActionChangeAvailableReactionsArray func ChannelAdminLogEventActionChangeAvailableReactionsArray.SortStable(less func(a, b ChannelAdminLogEventActionChangeAvailableReactions) bool) ChannelAdminLogEventActionChangeAvailableReactionsArray func ChannelAdminLogEventActionClassArray.AsChannelAdminLogEventActionChangeAvailableReactions() (to ChannelAdminLogEventActionChangeAvailableReactionsArray)
ChannelAdminLogEventActionChangeEmojiStatus represents TL type `channelAdminLogEventActionChangeEmojiStatus#3ea9feb1`. See https://core.telegram.org/constructor/channelAdminLogEventActionChangeEmojiStatus for reference. NewValue field of ChannelAdminLogEventActionChangeEmojiStatus. PrevValue field of ChannelAdminLogEventActionChangeEmojiStatus. Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. FillFrom fills ChannelAdminLogEventActionChangeEmojiStatus from given interface. GetNewValue returns value of NewValue field. GetPrevValue returns value of PrevValue field. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*ChannelAdminLogEventActionChangeEmojiStatus) Zero() bool *ChannelAdminLogEventActionChangeEmojiStatus : ChannelAdminLogEventActionClass *ChannelAdminLogEventActionChangeEmojiStatus : github.com/gotd/td/bin.BareDecoder *ChannelAdminLogEventActionChangeEmojiStatus : github.com/gotd/td/bin.BareEncoder *ChannelAdminLogEventActionChangeEmojiStatus : github.com/gotd/td/bin.Decoder *ChannelAdminLogEventActionChangeEmojiStatus : github.com/gotd/td/bin.Encoder *ChannelAdminLogEventActionChangeEmojiStatus : github.com/gotd/td/bin.Object *ChannelAdminLogEventActionChangeEmojiStatus : github.com/gotd/td/tdp.Object *ChannelAdminLogEventActionChangeEmojiStatus : fmt.Stringer func ChannelAdminLogEventActionChangeEmojiStatusArray.First() (v ChannelAdminLogEventActionChangeEmojiStatus, ok bool) func ChannelAdminLogEventActionChangeEmojiStatusArray.Last() (v ChannelAdminLogEventActionChangeEmojiStatus, ok bool) func (*ChannelAdminLogEventActionChangeEmojiStatusArray).Pop() (v ChannelAdminLogEventActionChangeEmojiStatus, ok bool) func (*ChannelAdminLogEventActionChangeEmojiStatusArray).PopFirst() (v ChannelAdminLogEventActionChangeEmojiStatus, ok bool)
ChannelAdminLogEventActionChangeEmojiStatusArray is adapter for slice of ChannelAdminLogEventActionChangeEmojiStatus. First returns first element of slice (if exists). Last returns last element of slice (if exists). Pop returns last element of slice (if exists) and deletes it. PopFirst returns first element of slice (if exists) and deletes it. Retain filters in-place slice of ChannelAdminLogEventActionChangeEmojiStatus. Sort sorts slice of ChannelAdminLogEventActionChangeEmojiStatus. SortStable sorts slice of ChannelAdminLogEventActionChangeEmojiStatus. func ChannelAdminLogEventActionChangeEmojiStatusArray.Retain(keep func(x ChannelAdminLogEventActionChangeEmojiStatus) bool) ChannelAdminLogEventActionChangeEmojiStatusArray func ChannelAdminLogEventActionChangeEmojiStatusArray.Sort(less func(a, b ChannelAdminLogEventActionChangeEmojiStatus) bool) ChannelAdminLogEventActionChangeEmojiStatusArray func ChannelAdminLogEventActionChangeEmojiStatusArray.SortStable(less func(a, b ChannelAdminLogEventActionChangeEmojiStatus) bool) ChannelAdminLogEventActionChangeEmojiStatusArray func ChannelAdminLogEventActionClassArray.AsChannelAdminLogEventActionChangeEmojiStatus() (to ChannelAdminLogEventActionChangeEmojiStatusArray)
ChannelAdminLogEventActionChangeHistoryTTL represents TL type `channelAdminLogEventActionChangeHistoryTTL#6e941a38`. The Time-To-Live of messages in this chat was changed See https://core.telegram.org/constructor/channelAdminLogEventActionChangeHistoryTTL for reference. New slow mode value Previous slow mode value Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. FillFrom fills ChannelAdminLogEventActionChangeHistoryTTL from given interface. GetNewValue returns value of NewValue field. GetPrevValue returns value of PrevValue field. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*ChannelAdminLogEventActionChangeHistoryTTL) Zero() bool *ChannelAdminLogEventActionChangeHistoryTTL : ChannelAdminLogEventActionClass *ChannelAdminLogEventActionChangeHistoryTTL : github.com/gotd/td/bin.BareDecoder *ChannelAdminLogEventActionChangeHistoryTTL : github.com/gotd/td/bin.BareEncoder *ChannelAdminLogEventActionChangeHistoryTTL : github.com/gotd/td/bin.Decoder *ChannelAdminLogEventActionChangeHistoryTTL : github.com/gotd/td/bin.Encoder *ChannelAdminLogEventActionChangeHistoryTTL : github.com/gotd/td/bin.Object *ChannelAdminLogEventActionChangeHistoryTTL : github.com/gotd/td/tdp.Object *ChannelAdminLogEventActionChangeHistoryTTL : fmt.Stringer func ChannelAdminLogEventActionChangeHistoryTTLArray.First() (v ChannelAdminLogEventActionChangeHistoryTTL, ok bool) func ChannelAdminLogEventActionChangeHistoryTTLArray.Last() (v ChannelAdminLogEventActionChangeHistoryTTL, ok bool) func (*ChannelAdminLogEventActionChangeHistoryTTLArray).Pop() (v ChannelAdminLogEventActionChangeHistoryTTL, ok bool) func (*ChannelAdminLogEventActionChangeHistoryTTLArray).PopFirst() (v ChannelAdminLogEventActionChangeHistoryTTL, ok bool)
ChannelAdminLogEventActionChangeHistoryTTLArray is adapter for slice of ChannelAdminLogEventActionChangeHistoryTTL. First returns first element of slice (if exists). Last returns last element of slice (if exists). Pop returns last element of slice (if exists) and deletes it. PopFirst returns first element of slice (if exists) and deletes it. Retain filters in-place slice of ChannelAdminLogEventActionChangeHistoryTTL. Sort sorts slice of ChannelAdminLogEventActionChangeHistoryTTL. SortStable sorts slice of ChannelAdminLogEventActionChangeHistoryTTL. func ChannelAdminLogEventActionChangeHistoryTTLArray.Retain(keep func(x ChannelAdminLogEventActionChangeHistoryTTL) bool) ChannelAdminLogEventActionChangeHistoryTTLArray func ChannelAdminLogEventActionChangeHistoryTTLArray.Sort(less func(a, b ChannelAdminLogEventActionChangeHistoryTTL) bool) ChannelAdminLogEventActionChangeHistoryTTLArray func ChannelAdminLogEventActionChangeHistoryTTLArray.SortStable(less func(a, b ChannelAdminLogEventActionChangeHistoryTTL) bool) ChannelAdminLogEventActionChangeHistoryTTLArray func ChannelAdminLogEventActionClassArray.AsChannelAdminLogEventActionChangeHistoryTTL() (to ChannelAdminLogEventActionChangeHistoryTTLArray)
ChannelAdminLogEventActionChangeLinkedChat represents TL type `channelAdminLogEventActionChangeLinkedChat#50c7ac8`. The linked chat was changed See https://core.telegram.org/constructor/channelAdminLogEventActionChangeLinkedChat for reference. New linked chat Previous linked chat Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. FillFrom fills ChannelAdminLogEventActionChangeLinkedChat from given interface. GetNewValue returns value of NewValue field. GetPrevValue returns value of PrevValue field. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*ChannelAdminLogEventActionChangeLinkedChat) Zero() bool *ChannelAdminLogEventActionChangeLinkedChat : ChannelAdminLogEventActionClass *ChannelAdminLogEventActionChangeLinkedChat : github.com/gotd/td/bin.BareDecoder *ChannelAdminLogEventActionChangeLinkedChat : github.com/gotd/td/bin.BareEncoder *ChannelAdminLogEventActionChangeLinkedChat : github.com/gotd/td/bin.Decoder *ChannelAdminLogEventActionChangeLinkedChat : github.com/gotd/td/bin.Encoder *ChannelAdminLogEventActionChangeLinkedChat : github.com/gotd/td/bin.Object *ChannelAdminLogEventActionChangeLinkedChat : github.com/gotd/td/tdp.Object *ChannelAdminLogEventActionChangeLinkedChat : fmt.Stringer func ChannelAdminLogEventActionChangeLinkedChatArray.First() (v ChannelAdminLogEventActionChangeLinkedChat, ok bool) func ChannelAdminLogEventActionChangeLinkedChatArray.Last() (v ChannelAdminLogEventActionChangeLinkedChat, ok bool) func (*ChannelAdminLogEventActionChangeLinkedChatArray).Pop() (v ChannelAdminLogEventActionChangeLinkedChat, ok bool) func (*ChannelAdminLogEventActionChangeLinkedChatArray).PopFirst() (v ChannelAdminLogEventActionChangeLinkedChat, ok bool)
ChannelAdminLogEventActionChangeLinkedChatArray is adapter for slice of ChannelAdminLogEventActionChangeLinkedChat. First returns first element of slice (if exists). Last returns last element of slice (if exists). Pop returns last element of slice (if exists) and deletes it. PopFirst returns first element of slice (if exists) and deletes it. Retain filters in-place slice of ChannelAdminLogEventActionChangeLinkedChat. Sort sorts slice of ChannelAdminLogEventActionChangeLinkedChat. SortStable sorts slice of ChannelAdminLogEventActionChangeLinkedChat. func ChannelAdminLogEventActionChangeLinkedChatArray.Retain(keep func(x ChannelAdminLogEventActionChangeLinkedChat) bool) ChannelAdminLogEventActionChangeLinkedChatArray func ChannelAdminLogEventActionChangeLinkedChatArray.Sort(less func(a, b ChannelAdminLogEventActionChangeLinkedChat) bool) ChannelAdminLogEventActionChangeLinkedChatArray func ChannelAdminLogEventActionChangeLinkedChatArray.SortStable(less func(a, b ChannelAdminLogEventActionChangeLinkedChat) bool) ChannelAdminLogEventActionChangeLinkedChatArray func ChannelAdminLogEventActionClassArray.AsChannelAdminLogEventActionChangeLinkedChat() (to ChannelAdminLogEventActionChangeLinkedChatArray)
ChannelAdminLogEventActionChangeLocation represents TL type `channelAdminLogEventActionChangeLocation#e6b76ae`. The geogroup location was changed See https://core.telegram.org/constructor/channelAdminLogEventActionChangeLocation for reference. New location Previous location Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. FillFrom fills ChannelAdminLogEventActionChangeLocation from given interface. GetNewValue returns value of NewValue field. GetPrevValue returns value of PrevValue field. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*ChannelAdminLogEventActionChangeLocation) Zero() bool *ChannelAdminLogEventActionChangeLocation : ChannelAdminLogEventActionClass *ChannelAdminLogEventActionChangeLocation : github.com/gotd/td/bin.BareDecoder *ChannelAdminLogEventActionChangeLocation : github.com/gotd/td/bin.BareEncoder *ChannelAdminLogEventActionChangeLocation : github.com/gotd/td/bin.Decoder *ChannelAdminLogEventActionChangeLocation : github.com/gotd/td/bin.Encoder *ChannelAdminLogEventActionChangeLocation : github.com/gotd/td/bin.Object *ChannelAdminLogEventActionChangeLocation : github.com/gotd/td/tdp.Object *ChannelAdminLogEventActionChangeLocation : fmt.Stringer func ChannelAdminLogEventActionChangeLocationArray.First() (v ChannelAdminLogEventActionChangeLocation, ok bool) func ChannelAdminLogEventActionChangeLocationArray.Last() (v ChannelAdminLogEventActionChangeLocation, ok bool) func (*ChannelAdminLogEventActionChangeLocationArray).Pop() (v ChannelAdminLogEventActionChangeLocation, ok bool) func (*ChannelAdminLogEventActionChangeLocationArray).PopFirst() (v ChannelAdminLogEventActionChangeLocation, ok bool)
ChannelAdminLogEventActionChangeLocationArray is adapter for slice of ChannelAdminLogEventActionChangeLocation. First returns first element of slice (if exists). Last returns last element of slice (if exists). Pop returns last element of slice (if exists) and deletes it. PopFirst returns first element of slice (if exists) and deletes it. Retain filters in-place slice of ChannelAdminLogEventActionChangeLocation. Sort sorts slice of ChannelAdminLogEventActionChangeLocation. SortStable sorts slice of ChannelAdminLogEventActionChangeLocation. func ChannelAdminLogEventActionChangeLocationArray.Retain(keep func(x ChannelAdminLogEventActionChangeLocation) bool) ChannelAdminLogEventActionChangeLocationArray func ChannelAdminLogEventActionChangeLocationArray.Sort(less func(a, b ChannelAdminLogEventActionChangeLocation) bool) ChannelAdminLogEventActionChangeLocationArray func ChannelAdminLogEventActionChangeLocationArray.SortStable(less func(a, b ChannelAdminLogEventActionChangeLocation) bool) ChannelAdminLogEventActionChangeLocationArray func ChannelAdminLogEventActionClassArray.AsChannelAdminLogEventActionChangeLocation() (to ChannelAdminLogEventActionChangeLocationArray)
ChannelAdminLogEventActionChangePeerColor represents TL type `channelAdminLogEventActionChangePeerColor#5796e780`. See https://core.telegram.org/constructor/channelAdminLogEventActionChangePeerColor for reference. NewValue field of ChannelAdminLogEventActionChangePeerColor. PrevValue field of ChannelAdminLogEventActionChangePeerColor. Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. FillFrom fills ChannelAdminLogEventActionChangePeerColor from given interface. GetNewValue returns value of NewValue field. GetPrevValue returns value of PrevValue field. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*ChannelAdminLogEventActionChangePeerColor) Zero() bool *ChannelAdminLogEventActionChangePeerColor : ChannelAdminLogEventActionClass *ChannelAdminLogEventActionChangePeerColor : github.com/gotd/td/bin.BareDecoder *ChannelAdminLogEventActionChangePeerColor : github.com/gotd/td/bin.BareEncoder *ChannelAdminLogEventActionChangePeerColor : github.com/gotd/td/bin.Decoder *ChannelAdminLogEventActionChangePeerColor : github.com/gotd/td/bin.Encoder *ChannelAdminLogEventActionChangePeerColor : github.com/gotd/td/bin.Object *ChannelAdminLogEventActionChangePeerColor : github.com/gotd/td/tdp.Object *ChannelAdminLogEventActionChangePeerColor : fmt.Stringer func ChannelAdminLogEventActionChangePeerColorArray.First() (v ChannelAdminLogEventActionChangePeerColor, ok bool) func ChannelAdminLogEventActionChangePeerColorArray.Last() (v ChannelAdminLogEventActionChangePeerColor, ok bool) func (*ChannelAdminLogEventActionChangePeerColorArray).Pop() (v ChannelAdminLogEventActionChangePeerColor, ok bool) func (*ChannelAdminLogEventActionChangePeerColorArray).PopFirst() (v ChannelAdminLogEventActionChangePeerColor, ok bool)
ChannelAdminLogEventActionChangePeerColorArray is adapter for slice of ChannelAdminLogEventActionChangePeerColor. First returns first element of slice (if exists). Last returns last element of slice (if exists). Pop returns last element of slice (if exists) and deletes it. PopFirst returns first element of slice (if exists) and deletes it. Retain filters in-place slice of ChannelAdminLogEventActionChangePeerColor. Sort sorts slice of ChannelAdminLogEventActionChangePeerColor. SortStable sorts slice of ChannelAdminLogEventActionChangePeerColor. func ChannelAdminLogEventActionChangePeerColorArray.Retain(keep func(x ChannelAdminLogEventActionChangePeerColor) bool) ChannelAdminLogEventActionChangePeerColorArray func ChannelAdminLogEventActionChangePeerColorArray.Sort(less func(a, b ChannelAdminLogEventActionChangePeerColor) bool) ChannelAdminLogEventActionChangePeerColorArray func ChannelAdminLogEventActionChangePeerColorArray.SortStable(less func(a, b ChannelAdminLogEventActionChangePeerColor) bool) ChannelAdminLogEventActionChangePeerColorArray func ChannelAdminLogEventActionClassArray.AsChannelAdminLogEventActionChangePeerColor() (to ChannelAdminLogEventActionChangePeerColorArray)
ChannelAdminLogEventActionChangePhoto represents TL type `channelAdminLogEventActionChangePhoto#434bd2af`. The channel/supergroup's picture was changed See https://core.telegram.org/constructor/channelAdminLogEventActionChangePhoto for reference. New picture Previous picture Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. FillFrom fills ChannelAdminLogEventActionChangePhoto from given interface. GetNewPhoto returns value of NewPhoto field. GetPrevPhoto returns value of PrevPhoto field. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*ChannelAdminLogEventActionChangePhoto) Zero() bool *ChannelAdminLogEventActionChangePhoto : ChannelAdminLogEventActionClass *ChannelAdminLogEventActionChangePhoto : github.com/gotd/td/bin.BareDecoder *ChannelAdminLogEventActionChangePhoto : github.com/gotd/td/bin.BareEncoder *ChannelAdminLogEventActionChangePhoto : github.com/gotd/td/bin.Decoder *ChannelAdminLogEventActionChangePhoto : github.com/gotd/td/bin.Encoder *ChannelAdminLogEventActionChangePhoto : github.com/gotd/td/bin.Object *ChannelAdminLogEventActionChangePhoto : github.com/gotd/td/tdp.Object *ChannelAdminLogEventActionChangePhoto : fmt.Stringer func ChannelAdminLogEventActionChangePhotoArray.First() (v ChannelAdminLogEventActionChangePhoto, ok bool) func ChannelAdminLogEventActionChangePhotoArray.Last() (v ChannelAdminLogEventActionChangePhoto, ok bool) func (*ChannelAdminLogEventActionChangePhotoArray).Pop() (v ChannelAdminLogEventActionChangePhoto, ok bool) func (*ChannelAdminLogEventActionChangePhotoArray).PopFirst() (v ChannelAdminLogEventActionChangePhoto, ok bool)
ChannelAdminLogEventActionChangePhotoArray is adapter for slice of ChannelAdminLogEventActionChangePhoto. First returns first element of slice (if exists). Last returns last element of slice (if exists). Pop returns last element of slice (if exists) and deletes it. PopFirst returns first element of slice (if exists) and deletes it. Retain filters in-place slice of ChannelAdminLogEventActionChangePhoto. Sort sorts slice of ChannelAdminLogEventActionChangePhoto. SortStable sorts slice of ChannelAdminLogEventActionChangePhoto. func ChannelAdminLogEventActionChangePhotoArray.Retain(keep func(x ChannelAdminLogEventActionChangePhoto) bool) ChannelAdminLogEventActionChangePhotoArray func ChannelAdminLogEventActionChangePhotoArray.Sort(less func(a, b ChannelAdminLogEventActionChangePhoto) bool) ChannelAdminLogEventActionChangePhotoArray func ChannelAdminLogEventActionChangePhotoArray.SortStable(less func(a, b ChannelAdminLogEventActionChangePhoto) bool) ChannelAdminLogEventActionChangePhotoArray func ChannelAdminLogEventActionClassArray.AsChannelAdminLogEventActionChangePhoto() (to ChannelAdminLogEventActionChangePhotoArray)
ChannelAdminLogEventActionChangeProfilePeerColor represents TL type `channelAdminLogEventActionChangeProfilePeerColor#5e477b25`. See https://core.telegram.org/constructor/channelAdminLogEventActionChangeProfilePeerColor for reference. NewValue field of ChannelAdminLogEventActionChangePeerColor. PrevValue field of ChannelAdminLogEventActionChangePeerColor. Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. FillFrom fills ChannelAdminLogEventActionChangeProfilePeerColor from given interface. GetNewValue returns value of NewValue field. GetPrevValue returns value of PrevValue field. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*ChannelAdminLogEventActionChangeProfilePeerColor) Zero() bool *ChannelAdminLogEventActionChangeProfilePeerColor : ChannelAdminLogEventActionClass *ChannelAdminLogEventActionChangeProfilePeerColor : github.com/gotd/td/bin.BareDecoder *ChannelAdminLogEventActionChangeProfilePeerColor : github.com/gotd/td/bin.BareEncoder *ChannelAdminLogEventActionChangeProfilePeerColor : github.com/gotd/td/bin.Decoder *ChannelAdminLogEventActionChangeProfilePeerColor : github.com/gotd/td/bin.Encoder *ChannelAdminLogEventActionChangeProfilePeerColor : github.com/gotd/td/bin.Object *ChannelAdminLogEventActionChangeProfilePeerColor : github.com/gotd/td/tdp.Object *ChannelAdminLogEventActionChangeProfilePeerColor : fmt.Stringer func ChannelAdminLogEventActionChangeProfilePeerColorArray.First() (v ChannelAdminLogEventActionChangeProfilePeerColor, ok bool) func ChannelAdminLogEventActionChangeProfilePeerColorArray.Last() (v ChannelAdminLogEventActionChangeProfilePeerColor, ok bool) func (*ChannelAdminLogEventActionChangeProfilePeerColorArray).Pop() (v ChannelAdminLogEventActionChangeProfilePeerColor, ok bool) func (*ChannelAdminLogEventActionChangeProfilePeerColorArray).PopFirst() (v ChannelAdminLogEventActionChangeProfilePeerColor, ok bool)
ChannelAdminLogEventActionChangeProfilePeerColorArray is adapter for slice of ChannelAdminLogEventActionChangeProfilePeerColor. First returns first element of slice (if exists). Last returns last element of slice (if exists). Pop returns last element of slice (if exists) and deletes it. PopFirst returns first element of slice (if exists) and deletes it. Retain filters in-place slice of ChannelAdminLogEventActionChangeProfilePeerColor. Sort sorts slice of ChannelAdminLogEventActionChangeProfilePeerColor. SortStable sorts slice of ChannelAdminLogEventActionChangeProfilePeerColor. func ChannelAdminLogEventActionChangeProfilePeerColorArray.Retain(keep func(x ChannelAdminLogEventActionChangeProfilePeerColor) bool) ChannelAdminLogEventActionChangeProfilePeerColorArray func ChannelAdminLogEventActionChangeProfilePeerColorArray.Sort(less func(a, b ChannelAdminLogEventActionChangeProfilePeerColor) bool) ChannelAdminLogEventActionChangeProfilePeerColorArray func ChannelAdminLogEventActionChangeProfilePeerColorArray.SortStable(less func(a, b ChannelAdminLogEventActionChangeProfilePeerColor) bool) ChannelAdminLogEventActionChangeProfilePeerColorArray func ChannelAdminLogEventActionClassArray.AsChannelAdminLogEventActionChangeProfilePeerColor() (to ChannelAdminLogEventActionChangeProfilePeerColorArray)
ChannelAdminLogEventActionChangeStickerSet represents TL type `channelAdminLogEventActionChangeStickerSet#b1c3caa7`. The supergroup's stickerset was changed See https://core.telegram.org/constructor/channelAdminLogEventActionChangeStickerSet for reference. New stickerset Previous stickerset Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. FillFrom fills ChannelAdminLogEventActionChangeStickerSet from given interface. GetNewStickerset returns value of NewStickerset field. GetPrevStickerset returns value of PrevStickerset field. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*ChannelAdminLogEventActionChangeStickerSet) Zero() bool *ChannelAdminLogEventActionChangeStickerSet : ChannelAdminLogEventActionClass *ChannelAdminLogEventActionChangeStickerSet : github.com/gotd/td/bin.BareDecoder *ChannelAdminLogEventActionChangeStickerSet : github.com/gotd/td/bin.BareEncoder *ChannelAdminLogEventActionChangeStickerSet : github.com/gotd/td/bin.Decoder *ChannelAdminLogEventActionChangeStickerSet : github.com/gotd/td/bin.Encoder *ChannelAdminLogEventActionChangeStickerSet : github.com/gotd/td/bin.Object *ChannelAdminLogEventActionChangeStickerSet : github.com/gotd/td/tdp.Object *ChannelAdminLogEventActionChangeStickerSet : fmt.Stringer func ChannelAdminLogEventActionChangeStickerSetArray.First() (v ChannelAdminLogEventActionChangeStickerSet, ok bool) func ChannelAdminLogEventActionChangeStickerSetArray.Last() (v ChannelAdminLogEventActionChangeStickerSet, ok bool) func (*ChannelAdminLogEventActionChangeStickerSetArray).Pop() (v ChannelAdminLogEventActionChangeStickerSet, ok bool) func (*ChannelAdminLogEventActionChangeStickerSetArray).PopFirst() (v ChannelAdminLogEventActionChangeStickerSet, ok bool)
ChannelAdminLogEventActionChangeStickerSetArray is adapter for slice of ChannelAdminLogEventActionChangeStickerSet. First returns first element of slice (if exists). Last returns last element of slice (if exists). Pop returns last element of slice (if exists) and deletes it. PopFirst returns first element of slice (if exists) and deletes it. Retain filters in-place slice of ChannelAdminLogEventActionChangeStickerSet. Sort sorts slice of ChannelAdminLogEventActionChangeStickerSet. SortStable sorts slice of ChannelAdminLogEventActionChangeStickerSet. func ChannelAdminLogEventActionChangeStickerSetArray.Retain(keep func(x ChannelAdminLogEventActionChangeStickerSet) bool) ChannelAdminLogEventActionChangeStickerSetArray func ChannelAdminLogEventActionChangeStickerSetArray.Sort(less func(a, b ChannelAdminLogEventActionChangeStickerSet) bool) ChannelAdminLogEventActionChangeStickerSetArray func ChannelAdminLogEventActionChangeStickerSetArray.SortStable(less func(a, b ChannelAdminLogEventActionChangeStickerSet) bool) ChannelAdminLogEventActionChangeStickerSetArray func ChannelAdminLogEventActionClassArray.AsChannelAdminLogEventActionChangeStickerSet() (to ChannelAdminLogEventActionChangeStickerSetArray)
ChannelAdminLogEventActionChangeTitle represents TL type `channelAdminLogEventActionChangeTitle#e6dfb825`. Channel/supergroup title was changed See https://core.telegram.org/constructor/channelAdminLogEventActionChangeTitle for reference. New title Previous title Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. FillFrom fills ChannelAdminLogEventActionChangeTitle from given interface. GetNewValue returns value of NewValue field. GetPrevValue returns value of PrevValue field. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*ChannelAdminLogEventActionChangeTitle) Zero() bool *ChannelAdminLogEventActionChangeTitle : ChannelAdminLogEventActionClass *ChannelAdminLogEventActionChangeTitle : github.com/gotd/td/bin.BareDecoder *ChannelAdminLogEventActionChangeTitle : github.com/gotd/td/bin.BareEncoder *ChannelAdminLogEventActionChangeTitle : github.com/gotd/td/bin.Decoder *ChannelAdminLogEventActionChangeTitle : github.com/gotd/td/bin.Encoder *ChannelAdminLogEventActionChangeTitle : github.com/gotd/td/bin.Object *ChannelAdminLogEventActionChangeTitle : github.com/gotd/td/tdp.Object *ChannelAdminLogEventActionChangeTitle : fmt.Stringer func ChannelAdminLogEventActionChangeTitleArray.First() (v ChannelAdminLogEventActionChangeTitle, ok bool) func ChannelAdminLogEventActionChangeTitleArray.Last() (v ChannelAdminLogEventActionChangeTitle, ok bool) func (*ChannelAdminLogEventActionChangeTitleArray).Pop() (v ChannelAdminLogEventActionChangeTitle, ok bool) func (*ChannelAdminLogEventActionChangeTitleArray).PopFirst() (v ChannelAdminLogEventActionChangeTitle, ok bool)
ChannelAdminLogEventActionChangeTitleArray is adapter for slice of ChannelAdminLogEventActionChangeTitle. First returns first element of slice (if exists). Last returns last element of slice (if exists). Pop returns last element of slice (if exists) and deletes it. PopFirst returns first element of slice (if exists) and deletes it. Retain filters in-place slice of ChannelAdminLogEventActionChangeTitle. Sort sorts slice of ChannelAdminLogEventActionChangeTitle. SortStable sorts slice of ChannelAdminLogEventActionChangeTitle. func ChannelAdminLogEventActionChangeTitleArray.Retain(keep func(x ChannelAdminLogEventActionChangeTitle) bool) ChannelAdminLogEventActionChangeTitleArray func ChannelAdminLogEventActionChangeTitleArray.Sort(less func(a, b ChannelAdminLogEventActionChangeTitle) bool) ChannelAdminLogEventActionChangeTitleArray func ChannelAdminLogEventActionChangeTitleArray.SortStable(less func(a, b ChannelAdminLogEventActionChangeTitle) bool) ChannelAdminLogEventActionChangeTitleArray func ChannelAdminLogEventActionClassArray.AsChannelAdminLogEventActionChangeTitle() (to ChannelAdminLogEventActionChangeTitleArray)
ChannelAdminLogEventActionChangeUsername represents TL type `channelAdminLogEventActionChangeUsername#6a4afc38`. Channel/supergroup username was changed See https://core.telegram.org/constructor/channelAdminLogEventActionChangeUsername for reference. New title Previous title Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. FillFrom fills ChannelAdminLogEventActionChangeUsername from given interface. GetNewValue returns value of NewValue field. GetPrevValue returns value of PrevValue field. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*ChannelAdminLogEventActionChangeUsername) Zero() bool *ChannelAdminLogEventActionChangeUsername : ChannelAdminLogEventActionClass *ChannelAdminLogEventActionChangeUsername : github.com/gotd/td/bin.BareDecoder *ChannelAdminLogEventActionChangeUsername : github.com/gotd/td/bin.BareEncoder *ChannelAdminLogEventActionChangeUsername : github.com/gotd/td/bin.Decoder *ChannelAdminLogEventActionChangeUsername : github.com/gotd/td/bin.Encoder *ChannelAdminLogEventActionChangeUsername : github.com/gotd/td/bin.Object *ChannelAdminLogEventActionChangeUsername : github.com/gotd/td/tdp.Object *ChannelAdminLogEventActionChangeUsername : fmt.Stringer func ChannelAdminLogEventActionChangeUsernameArray.First() (v ChannelAdminLogEventActionChangeUsername, ok bool) func ChannelAdminLogEventActionChangeUsernameArray.Last() (v ChannelAdminLogEventActionChangeUsername, ok bool) func (*ChannelAdminLogEventActionChangeUsernameArray).Pop() (v ChannelAdminLogEventActionChangeUsername, ok bool) func (*ChannelAdminLogEventActionChangeUsernameArray).PopFirst() (v ChannelAdminLogEventActionChangeUsername, ok bool)
ChannelAdminLogEventActionChangeUsernameArray is adapter for slice of ChannelAdminLogEventActionChangeUsername. First returns first element of slice (if exists). Last returns last element of slice (if exists). Pop returns last element of slice (if exists) and deletes it. PopFirst returns first element of slice (if exists) and deletes it. Retain filters in-place slice of ChannelAdminLogEventActionChangeUsername. Sort sorts slice of ChannelAdminLogEventActionChangeUsername. SortStable sorts slice of ChannelAdminLogEventActionChangeUsername. func ChannelAdminLogEventActionChangeUsernameArray.Retain(keep func(x ChannelAdminLogEventActionChangeUsername) bool) ChannelAdminLogEventActionChangeUsernameArray func ChannelAdminLogEventActionChangeUsernameArray.Sort(less func(a, b ChannelAdminLogEventActionChangeUsername) bool) ChannelAdminLogEventActionChangeUsernameArray func ChannelAdminLogEventActionChangeUsernameArray.SortStable(less func(a, b ChannelAdminLogEventActionChangeUsername) bool) ChannelAdminLogEventActionChangeUsernameArray func ChannelAdminLogEventActionClassArray.AsChannelAdminLogEventActionChangeUsername() (to ChannelAdminLogEventActionChangeUsernameArray)
ChannelAdminLogEventActionChangeUsernames represents TL type `channelAdminLogEventActionChangeUsernames#f04fb3a9`. The list of usernames associated with the channel was changed See https://core.telegram.org/constructor/channelAdminLogEventActionChangeUsernames for reference. New set of usernames Previous set of usernames Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. FillFrom fills ChannelAdminLogEventActionChangeUsernames from given interface. GetNewValue returns value of NewValue field. GetPrevValue returns value of PrevValue field. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*ChannelAdminLogEventActionChangeUsernames) Zero() bool *ChannelAdminLogEventActionChangeUsernames : ChannelAdminLogEventActionClass *ChannelAdminLogEventActionChangeUsernames : github.com/gotd/td/bin.BareDecoder *ChannelAdminLogEventActionChangeUsernames : github.com/gotd/td/bin.BareEncoder *ChannelAdminLogEventActionChangeUsernames : github.com/gotd/td/bin.Decoder *ChannelAdminLogEventActionChangeUsernames : github.com/gotd/td/bin.Encoder *ChannelAdminLogEventActionChangeUsernames : github.com/gotd/td/bin.Object *ChannelAdminLogEventActionChangeUsernames : github.com/gotd/td/tdp.Object *ChannelAdminLogEventActionChangeUsernames : fmt.Stringer func ChannelAdminLogEventActionChangeUsernamesArray.First() (v ChannelAdminLogEventActionChangeUsernames, ok bool) func ChannelAdminLogEventActionChangeUsernamesArray.Last() (v ChannelAdminLogEventActionChangeUsernames, ok bool) func (*ChannelAdminLogEventActionChangeUsernamesArray).Pop() (v ChannelAdminLogEventActionChangeUsernames, ok bool) func (*ChannelAdminLogEventActionChangeUsernamesArray).PopFirst() (v ChannelAdminLogEventActionChangeUsernames, ok bool)
ChannelAdminLogEventActionChangeUsernamesArray is adapter for slice of ChannelAdminLogEventActionChangeUsernames. First returns first element of slice (if exists). Last returns last element of slice (if exists). Pop returns last element of slice (if exists) and deletes it. PopFirst returns first element of slice (if exists) and deletes it. Retain filters in-place slice of ChannelAdminLogEventActionChangeUsernames. Sort sorts slice of ChannelAdminLogEventActionChangeUsernames. SortStable sorts slice of ChannelAdminLogEventActionChangeUsernames. func ChannelAdminLogEventActionChangeUsernamesArray.Retain(keep func(x ChannelAdminLogEventActionChangeUsernames) bool) ChannelAdminLogEventActionChangeUsernamesArray func ChannelAdminLogEventActionChangeUsernamesArray.Sort(less func(a, b ChannelAdminLogEventActionChangeUsernames) bool) ChannelAdminLogEventActionChangeUsernamesArray func ChannelAdminLogEventActionChangeUsernamesArray.SortStable(less func(a, b ChannelAdminLogEventActionChangeUsernames) bool) ChannelAdminLogEventActionChangeUsernamesArray func ChannelAdminLogEventActionClassArray.AsChannelAdminLogEventActionChangeUsernames() (to ChannelAdminLogEventActionChangeUsernamesArray)
ChannelAdminLogEventActionChangeWallpaper represents TL type `channelAdminLogEventActionChangeWallpaper#31bb5d52`. See https://core.telegram.org/constructor/channelAdminLogEventActionChangeWallpaper for reference. NewValue field of ChannelAdminLogEventActionChangeWallpaper. PrevValue field of ChannelAdminLogEventActionChangeWallpaper. Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. FillFrom fills ChannelAdminLogEventActionChangeWallpaper from given interface. GetNewValue returns value of NewValue field. GetPrevValue returns value of PrevValue field. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*ChannelAdminLogEventActionChangeWallpaper) Zero() bool *ChannelAdminLogEventActionChangeWallpaper : ChannelAdminLogEventActionClass *ChannelAdminLogEventActionChangeWallpaper : github.com/gotd/td/bin.BareDecoder *ChannelAdminLogEventActionChangeWallpaper : github.com/gotd/td/bin.BareEncoder *ChannelAdminLogEventActionChangeWallpaper : github.com/gotd/td/bin.Decoder *ChannelAdminLogEventActionChangeWallpaper : github.com/gotd/td/bin.Encoder *ChannelAdminLogEventActionChangeWallpaper : github.com/gotd/td/bin.Object *ChannelAdminLogEventActionChangeWallpaper : github.com/gotd/td/tdp.Object *ChannelAdminLogEventActionChangeWallpaper : fmt.Stringer func ChannelAdminLogEventActionChangeWallpaperArray.First() (v ChannelAdminLogEventActionChangeWallpaper, ok bool) func ChannelAdminLogEventActionChangeWallpaperArray.Last() (v ChannelAdminLogEventActionChangeWallpaper, ok bool) func (*ChannelAdminLogEventActionChangeWallpaperArray).Pop() (v ChannelAdminLogEventActionChangeWallpaper, ok bool) func (*ChannelAdminLogEventActionChangeWallpaperArray).PopFirst() (v ChannelAdminLogEventActionChangeWallpaper, ok bool)
ChannelAdminLogEventActionChangeWallpaperArray is adapter for slice of ChannelAdminLogEventActionChangeWallpaper. First returns first element of slice (if exists). Last returns last element of slice (if exists). Pop returns last element of slice (if exists) and deletes it. PopFirst returns first element of slice (if exists) and deletes it. Retain filters in-place slice of ChannelAdminLogEventActionChangeWallpaper. Sort sorts slice of ChannelAdminLogEventActionChangeWallpaper. SortStable sorts slice of ChannelAdminLogEventActionChangeWallpaper. func ChannelAdminLogEventActionChangeWallpaperArray.Retain(keep func(x ChannelAdminLogEventActionChangeWallpaper) bool) ChannelAdminLogEventActionChangeWallpaperArray func ChannelAdminLogEventActionChangeWallpaperArray.Sort(less func(a, b ChannelAdminLogEventActionChangeWallpaper) bool) ChannelAdminLogEventActionChangeWallpaperArray func ChannelAdminLogEventActionChangeWallpaperArray.SortStable(less func(a, b ChannelAdminLogEventActionChangeWallpaper) bool) ChannelAdminLogEventActionChangeWallpaperArray func ChannelAdminLogEventActionClassArray.AsChannelAdminLogEventActionChangeWallpaper() (to ChannelAdminLogEventActionChangeWallpaperArray)
ChannelAdminLogEventActionClass represents ChannelAdminLogEventAction generic type. See https://core.telegram.org/type/ChannelAdminLogEventAction for reference. Example: g, err := tg.DecodeChannelAdminLogEventAction(buf) if err != nil { panic(err) } switch v := g.(type) { case *tg.ChannelAdminLogEventActionChangeTitle: // channelAdminLogEventActionChangeTitle#e6dfb825 case *tg.ChannelAdminLogEventActionChangeAbout: // channelAdminLogEventActionChangeAbout#55188a2e case *tg.ChannelAdminLogEventActionChangeUsername: // channelAdminLogEventActionChangeUsername#6a4afc38 case *tg.ChannelAdminLogEventActionChangePhoto: // channelAdminLogEventActionChangePhoto#434bd2af case *tg.ChannelAdminLogEventActionToggleInvites: // channelAdminLogEventActionToggleInvites#1b7907ae case *tg.ChannelAdminLogEventActionToggleSignatures: // channelAdminLogEventActionToggleSignatures#26ae0971 case *tg.ChannelAdminLogEventActionUpdatePinned: // channelAdminLogEventActionUpdatePinned#e9e82c18 case *tg.ChannelAdminLogEventActionEditMessage: // channelAdminLogEventActionEditMessage#709b2405 case *tg.ChannelAdminLogEventActionDeleteMessage: // channelAdminLogEventActionDeleteMessage#42e047bb case *tg.ChannelAdminLogEventActionParticipantJoin: // channelAdminLogEventActionParticipantJoin#183040d3 case *tg.ChannelAdminLogEventActionParticipantLeave: // channelAdminLogEventActionParticipantLeave#f89777f2 case *tg.ChannelAdminLogEventActionParticipantInvite: // channelAdminLogEventActionParticipantInvite#e31c34d8 case *tg.ChannelAdminLogEventActionParticipantToggleBan: // channelAdminLogEventActionParticipantToggleBan#e6d83d7e case *tg.ChannelAdminLogEventActionParticipantToggleAdmin: // channelAdminLogEventActionParticipantToggleAdmin#d5676710 case *tg.ChannelAdminLogEventActionChangeStickerSet: // channelAdminLogEventActionChangeStickerSet#b1c3caa7 case *tg.ChannelAdminLogEventActionTogglePreHistoryHidden: // channelAdminLogEventActionTogglePreHistoryHidden#5f5c95f1 case *tg.ChannelAdminLogEventActionDefaultBannedRights: // channelAdminLogEventActionDefaultBannedRights#2df5fc0a case *tg.ChannelAdminLogEventActionStopPoll: // channelAdminLogEventActionStopPoll#8f079643 case *tg.ChannelAdminLogEventActionChangeLinkedChat: // channelAdminLogEventActionChangeLinkedChat#50c7ac8 case *tg.ChannelAdminLogEventActionChangeLocation: // channelAdminLogEventActionChangeLocation#e6b76ae case *tg.ChannelAdminLogEventActionToggleSlowMode: // channelAdminLogEventActionToggleSlowMode#53909779 case *tg.ChannelAdminLogEventActionStartGroupCall: // channelAdminLogEventActionStartGroupCall#23209745 case *tg.ChannelAdminLogEventActionDiscardGroupCall: // channelAdminLogEventActionDiscardGroupCall#db9f9140 case *tg.ChannelAdminLogEventActionParticipantMute: // channelAdminLogEventActionParticipantMute#f92424d2 case *tg.ChannelAdminLogEventActionParticipantUnmute: // channelAdminLogEventActionParticipantUnmute#e64429c0 case *tg.ChannelAdminLogEventActionToggleGroupCallSetting: // channelAdminLogEventActionToggleGroupCallSetting#56d6a247 case *tg.ChannelAdminLogEventActionParticipantJoinByInvite: // channelAdminLogEventActionParticipantJoinByInvite#fe9fc158 case *tg.ChannelAdminLogEventActionExportedInviteDelete: // channelAdminLogEventActionExportedInviteDelete#5a50fca4 case *tg.ChannelAdminLogEventActionExportedInviteRevoke: // channelAdminLogEventActionExportedInviteRevoke#410a134e case *tg.ChannelAdminLogEventActionExportedInviteEdit: // channelAdminLogEventActionExportedInviteEdit#e90ebb59 case *tg.ChannelAdminLogEventActionParticipantVolume: // channelAdminLogEventActionParticipantVolume#3e7f6847 case *tg.ChannelAdminLogEventActionChangeHistoryTTL: // channelAdminLogEventActionChangeHistoryTTL#6e941a38 case *tg.ChannelAdminLogEventActionParticipantJoinByRequest: // channelAdminLogEventActionParticipantJoinByRequest#afb6144a case *tg.ChannelAdminLogEventActionToggleNoForwards: // channelAdminLogEventActionToggleNoForwards#cb2ac766 case *tg.ChannelAdminLogEventActionSendMessage: // channelAdminLogEventActionSendMessage#278f2868 case *tg.ChannelAdminLogEventActionChangeAvailableReactions: // channelAdminLogEventActionChangeAvailableReactions#be4e0ef8 case *tg.ChannelAdminLogEventActionChangeUsernames: // channelAdminLogEventActionChangeUsernames#f04fb3a9 case *tg.ChannelAdminLogEventActionToggleForum: // channelAdminLogEventActionToggleForum#2cc6383 case *tg.ChannelAdminLogEventActionCreateTopic: // channelAdminLogEventActionCreateTopic#58707d28 case *tg.ChannelAdminLogEventActionEditTopic: // channelAdminLogEventActionEditTopic#f06fe208 case *tg.ChannelAdminLogEventActionDeleteTopic: // channelAdminLogEventActionDeleteTopic#ae168909 case *tg.ChannelAdminLogEventActionPinTopic: // channelAdminLogEventActionPinTopic#5d8d353b case *tg.ChannelAdminLogEventActionToggleAntiSpam: // channelAdminLogEventActionToggleAntiSpam#64f36dfc case *tg.ChannelAdminLogEventActionChangePeerColor: // channelAdminLogEventActionChangePeerColor#5796e780 case *tg.ChannelAdminLogEventActionChangeProfilePeerColor: // channelAdminLogEventActionChangeProfilePeerColor#5e477b25 case *tg.ChannelAdminLogEventActionChangeWallpaper: // channelAdminLogEventActionChangeWallpaper#31bb5d52 case *tg.ChannelAdminLogEventActionChangeEmojiStatus: // channelAdminLogEventActionChangeEmojiStatus#3ea9feb1 default: panic(v) } ( ChannelAdminLogEventActionClass) Decode(b *bin.Buffer) error ( ChannelAdminLogEventActionClass) DecodeBare(b *bin.Buffer) error ( ChannelAdminLogEventActionClass) Encode(b *bin.Buffer) error ( ChannelAdminLogEventActionClass) EncodeBare(b *bin.Buffer) error String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeName returns name of type in TL schema. Zero returns true if current object has a zero value. *ChannelAdminLogEventActionChangeAbout *ChannelAdminLogEventActionChangeAvailableReactions *ChannelAdminLogEventActionChangeEmojiStatus *ChannelAdminLogEventActionChangeHistoryTTL *ChannelAdminLogEventActionChangeLinkedChat *ChannelAdminLogEventActionChangeLocation *ChannelAdminLogEventActionChangePeerColor *ChannelAdminLogEventActionChangePhoto *ChannelAdminLogEventActionChangeProfilePeerColor *ChannelAdminLogEventActionChangeStickerSet *ChannelAdminLogEventActionChangeTitle *ChannelAdminLogEventActionChangeUsername *ChannelAdminLogEventActionChangeUsernames *ChannelAdminLogEventActionChangeWallpaper *ChannelAdminLogEventActionCreateTopic *ChannelAdminLogEventActionDefaultBannedRights *ChannelAdminLogEventActionDeleteMessage *ChannelAdminLogEventActionDeleteTopic *ChannelAdminLogEventActionDiscardGroupCall *ChannelAdminLogEventActionEditMessage *ChannelAdminLogEventActionEditTopic *ChannelAdminLogEventActionExportedInviteDelete *ChannelAdminLogEventActionExportedInviteEdit *ChannelAdminLogEventActionExportedInviteRevoke *ChannelAdminLogEventActionParticipantInvite *ChannelAdminLogEventActionParticipantJoin *ChannelAdminLogEventActionParticipantJoinByInvite *ChannelAdminLogEventActionParticipantJoinByRequest *ChannelAdminLogEventActionParticipantLeave *ChannelAdminLogEventActionParticipantMute *ChannelAdminLogEventActionParticipantToggleAdmin *ChannelAdminLogEventActionParticipantToggleBan *ChannelAdminLogEventActionParticipantUnmute *ChannelAdminLogEventActionParticipantVolume *ChannelAdminLogEventActionPinTopic *ChannelAdminLogEventActionSendMessage *ChannelAdminLogEventActionStartGroupCall *ChannelAdminLogEventActionStopPoll *ChannelAdminLogEventActionToggleAntiSpam *ChannelAdminLogEventActionToggleForum *ChannelAdminLogEventActionToggleGroupCallSetting *ChannelAdminLogEventActionToggleInvites *ChannelAdminLogEventActionToggleNoForwards *ChannelAdminLogEventActionTogglePreHistoryHidden *ChannelAdminLogEventActionToggleSignatures *ChannelAdminLogEventActionToggleSlowMode *ChannelAdminLogEventActionUpdatePinned ChannelAdminLogEventActionClass : github.com/gotd/td/bin.BareDecoder ChannelAdminLogEventActionClass : github.com/gotd/td/bin.BareEncoder ChannelAdminLogEventActionClass : github.com/gotd/td/bin.Decoder ChannelAdminLogEventActionClass : github.com/gotd/td/bin.Encoder ChannelAdminLogEventActionClass : github.com/gotd/td/bin.Object ChannelAdminLogEventActionClass : fmt.Stringer func DecodeChannelAdminLogEventAction(buf *bin.Buffer) (ChannelAdminLogEventActionClass, error) func (*ChannelAdminLogEvent).GetAction() (value ChannelAdminLogEventActionClass) func ChannelAdminLogEventActionClassArray.First() (v ChannelAdminLogEventActionClass, ok bool) func ChannelAdminLogEventActionClassArray.Last() (v ChannelAdminLogEventActionClass, ok bool) func (*ChannelAdminLogEventActionClassArray).Pop() (v ChannelAdminLogEventActionClass, ok bool) func (*ChannelAdminLogEventActionClassArray).PopFirst() (v ChannelAdminLogEventActionClass, ok bool)
ChannelAdminLogEventActionClassArray is adapter for slice of ChannelAdminLogEventActionClass. AsChannelAdminLogEventActionChangeAbout returns copy with only ChannelAdminLogEventActionChangeAbout constructors. AsChannelAdminLogEventActionChangeAvailableReactions returns copy with only ChannelAdminLogEventActionChangeAvailableReactions constructors. AsChannelAdminLogEventActionChangeEmojiStatus returns copy with only ChannelAdminLogEventActionChangeEmojiStatus constructors. AsChannelAdminLogEventActionChangeHistoryTTL returns copy with only ChannelAdminLogEventActionChangeHistoryTTL constructors. AsChannelAdminLogEventActionChangeLinkedChat returns copy with only ChannelAdminLogEventActionChangeLinkedChat constructors. AsChannelAdminLogEventActionChangeLocation returns copy with only ChannelAdminLogEventActionChangeLocation constructors. AsChannelAdminLogEventActionChangePeerColor returns copy with only ChannelAdminLogEventActionChangePeerColor constructors. AsChannelAdminLogEventActionChangePhoto returns copy with only ChannelAdminLogEventActionChangePhoto constructors. AsChannelAdminLogEventActionChangeProfilePeerColor returns copy with only ChannelAdminLogEventActionChangeProfilePeerColor constructors. AsChannelAdminLogEventActionChangeStickerSet returns copy with only ChannelAdminLogEventActionChangeStickerSet constructors. AsChannelAdminLogEventActionChangeTitle returns copy with only ChannelAdminLogEventActionChangeTitle constructors. AsChannelAdminLogEventActionChangeUsername returns copy with only ChannelAdminLogEventActionChangeUsername constructors. AsChannelAdminLogEventActionChangeUsernames returns copy with only ChannelAdminLogEventActionChangeUsernames constructors. AsChannelAdminLogEventActionChangeWallpaper returns copy with only ChannelAdminLogEventActionChangeWallpaper constructors. AsChannelAdminLogEventActionCreateTopic returns copy with only ChannelAdminLogEventActionCreateTopic constructors. AsChannelAdminLogEventActionDefaultBannedRights returns copy with only ChannelAdminLogEventActionDefaultBannedRights constructors. AsChannelAdminLogEventActionDeleteMessage returns copy with only ChannelAdminLogEventActionDeleteMessage constructors. AsChannelAdminLogEventActionDeleteTopic returns copy with only ChannelAdminLogEventActionDeleteTopic constructors. AsChannelAdminLogEventActionDiscardGroupCall returns copy with only ChannelAdminLogEventActionDiscardGroupCall constructors. AsChannelAdminLogEventActionEditMessage returns copy with only ChannelAdminLogEventActionEditMessage constructors. AsChannelAdminLogEventActionEditTopic returns copy with only ChannelAdminLogEventActionEditTopic constructors. AsChannelAdminLogEventActionExportedInviteDelete returns copy with only ChannelAdminLogEventActionExportedInviteDelete constructors. AsChannelAdminLogEventActionExportedInviteEdit returns copy with only ChannelAdminLogEventActionExportedInviteEdit constructors. AsChannelAdminLogEventActionExportedInviteRevoke returns copy with only ChannelAdminLogEventActionExportedInviteRevoke constructors. AsChannelAdminLogEventActionParticipantInvite returns copy with only ChannelAdminLogEventActionParticipantInvite constructors. AsChannelAdminLogEventActionParticipantJoinByInvite returns copy with only ChannelAdminLogEventActionParticipantJoinByInvite constructors. AsChannelAdminLogEventActionParticipantJoinByRequest returns copy with only ChannelAdminLogEventActionParticipantJoinByRequest constructors. AsChannelAdminLogEventActionParticipantMute returns copy with only ChannelAdminLogEventActionParticipantMute constructors. AsChannelAdminLogEventActionParticipantToggleAdmin returns copy with only ChannelAdminLogEventActionParticipantToggleAdmin constructors. AsChannelAdminLogEventActionParticipantToggleBan returns copy with only ChannelAdminLogEventActionParticipantToggleBan constructors. AsChannelAdminLogEventActionParticipantUnmute returns copy with only ChannelAdminLogEventActionParticipantUnmute constructors. AsChannelAdminLogEventActionParticipantVolume returns copy with only ChannelAdminLogEventActionParticipantVolume constructors. AsChannelAdminLogEventActionPinTopic returns copy with only ChannelAdminLogEventActionPinTopic constructors. AsChannelAdminLogEventActionSendMessage returns copy with only ChannelAdminLogEventActionSendMessage constructors. AsChannelAdminLogEventActionStartGroupCall returns copy with only ChannelAdminLogEventActionStartGroupCall constructors. AsChannelAdminLogEventActionStopPoll returns copy with only ChannelAdminLogEventActionStopPoll constructors. AsChannelAdminLogEventActionToggleAntiSpam returns copy with only ChannelAdminLogEventActionToggleAntiSpam constructors. AsChannelAdminLogEventActionToggleForum returns copy with only ChannelAdminLogEventActionToggleForum constructors. AsChannelAdminLogEventActionToggleGroupCallSetting returns copy with only ChannelAdminLogEventActionToggleGroupCallSetting constructors. AsChannelAdminLogEventActionToggleInvites returns copy with only ChannelAdminLogEventActionToggleInvites constructors. AsChannelAdminLogEventActionToggleNoForwards returns copy with only ChannelAdminLogEventActionToggleNoForwards constructors. AsChannelAdminLogEventActionTogglePreHistoryHidden returns copy with only ChannelAdminLogEventActionTogglePreHistoryHidden constructors. AsChannelAdminLogEventActionToggleSignatures returns copy with only ChannelAdminLogEventActionToggleSignatures constructors. AsChannelAdminLogEventActionToggleSlowMode returns copy with only ChannelAdminLogEventActionToggleSlowMode constructors. AsChannelAdminLogEventActionUpdatePinned returns copy with only ChannelAdminLogEventActionUpdatePinned constructors. First returns first element of slice (if exists). Last returns last element of slice (if exists). Pop returns last element of slice (if exists) and deletes it. PopFirst returns first element of slice (if exists) and deletes it. Retain filters in-place slice of ChannelAdminLogEventActionClass. Sort sorts slice of ChannelAdminLogEventActionClass. SortStable sorts slice of ChannelAdminLogEventActionClass. func ChannelAdminLogEventActionClassArray.Retain(keep func(x ChannelAdminLogEventActionClass) bool) ChannelAdminLogEventActionClassArray func ChannelAdminLogEventActionClassArray.Sort(less func(a, b ChannelAdminLogEventActionClass) bool) ChannelAdminLogEventActionClassArray func ChannelAdminLogEventActionClassArray.SortStable(less func(a, b ChannelAdminLogEventActionClass) bool) ChannelAdminLogEventActionClassArray
ChannelAdminLogEventActionCreateTopic represents TL type `channelAdminLogEventActionCreateTopic#58707d28`. A forum topic¹ was created Links: 1. https://core.telegram.org/api/forum#forum-topics See https://core.telegram.org/constructor/channelAdminLogEventActionCreateTopic for reference. The forum topic¹ that was created Links: 1) https://core.telegram.org/api/forum#forum-topics Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. FillFrom fills ChannelAdminLogEventActionCreateTopic from given interface. GetTopic returns value of Topic field. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*ChannelAdminLogEventActionCreateTopic) Zero() bool *ChannelAdminLogEventActionCreateTopic : ChannelAdminLogEventActionClass *ChannelAdminLogEventActionCreateTopic : github.com/gotd/td/bin.BareDecoder *ChannelAdminLogEventActionCreateTopic : github.com/gotd/td/bin.BareEncoder *ChannelAdminLogEventActionCreateTopic : github.com/gotd/td/bin.Decoder *ChannelAdminLogEventActionCreateTopic : github.com/gotd/td/bin.Encoder *ChannelAdminLogEventActionCreateTopic : github.com/gotd/td/bin.Object *ChannelAdminLogEventActionCreateTopic : github.com/gotd/td/tdp.Object *ChannelAdminLogEventActionCreateTopic : fmt.Stringer func ChannelAdminLogEventActionCreateTopicArray.First() (v ChannelAdminLogEventActionCreateTopic, ok bool) func ChannelAdminLogEventActionCreateTopicArray.Last() (v ChannelAdminLogEventActionCreateTopic, ok bool) func (*ChannelAdminLogEventActionCreateTopicArray).Pop() (v ChannelAdminLogEventActionCreateTopic, ok bool) func (*ChannelAdminLogEventActionCreateTopicArray).PopFirst() (v ChannelAdminLogEventActionCreateTopic, ok bool)
ChannelAdminLogEventActionCreateTopicArray is adapter for slice of ChannelAdminLogEventActionCreateTopic. First returns first element of slice (if exists). Last returns last element of slice (if exists). Pop returns last element of slice (if exists) and deletes it. PopFirst returns first element of slice (if exists) and deletes it. Retain filters in-place slice of ChannelAdminLogEventActionCreateTopic. Sort sorts slice of ChannelAdminLogEventActionCreateTopic. SortStable sorts slice of ChannelAdminLogEventActionCreateTopic. func ChannelAdminLogEventActionClassArray.AsChannelAdminLogEventActionCreateTopic() (to ChannelAdminLogEventActionCreateTopicArray) func ChannelAdminLogEventActionCreateTopicArray.Retain(keep func(x ChannelAdminLogEventActionCreateTopic) bool) ChannelAdminLogEventActionCreateTopicArray func ChannelAdminLogEventActionCreateTopicArray.Sort(less func(a, b ChannelAdminLogEventActionCreateTopic) bool) ChannelAdminLogEventActionCreateTopicArray func ChannelAdminLogEventActionCreateTopicArray.SortStable(less func(a, b ChannelAdminLogEventActionCreateTopic) bool) ChannelAdminLogEventActionCreateTopicArray
ChannelAdminLogEventActionDefaultBannedRights represents TL type `channelAdminLogEventActionDefaultBannedRights#2df5fc0a`. The default banned rights were modified See https://core.telegram.org/constructor/channelAdminLogEventActionDefaultBannedRights for reference. New global banned rights¹. Links: 1) https://core.telegram.org/api/rights Previous global banned rights¹ Links: 1) https://core.telegram.org/api/rights Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. FillFrom fills ChannelAdminLogEventActionDefaultBannedRights from given interface. GetNewBannedRights returns value of NewBannedRights field. GetPrevBannedRights returns value of PrevBannedRights field. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*ChannelAdminLogEventActionDefaultBannedRights) Zero() bool *ChannelAdminLogEventActionDefaultBannedRights : ChannelAdminLogEventActionClass *ChannelAdminLogEventActionDefaultBannedRights : github.com/gotd/td/bin.BareDecoder *ChannelAdminLogEventActionDefaultBannedRights : github.com/gotd/td/bin.BareEncoder *ChannelAdminLogEventActionDefaultBannedRights : github.com/gotd/td/bin.Decoder *ChannelAdminLogEventActionDefaultBannedRights : github.com/gotd/td/bin.Encoder *ChannelAdminLogEventActionDefaultBannedRights : github.com/gotd/td/bin.Object *ChannelAdminLogEventActionDefaultBannedRights : github.com/gotd/td/tdp.Object *ChannelAdminLogEventActionDefaultBannedRights : fmt.Stringer func ChannelAdminLogEventActionDefaultBannedRightsArray.First() (v ChannelAdminLogEventActionDefaultBannedRights, ok bool) func ChannelAdminLogEventActionDefaultBannedRightsArray.Last() (v ChannelAdminLogEventActionDefaultBannedRights, ok bool) func (*ChannelAdminLogEventActionDefaultBannedRightsArray).Pop() (v ChannelAdminLogEventActionDefaultBannedRights, ok bool) func (*ChannelAdminLogEventActionDefaultBannedRightsArray).PopFirst() (v ChannelAdminLogEventActionDefaultBannedRights, ok bool)
ChannelAdminLogEventActionDefaultBannedRightsArray is adapter for slice of ChannelAdminLogEventActionDefaultBannedRights. First returns first element of slice (if exists). Last returns last element of slice (if exists). Pop returns last element of slice (if exists) and deletes it. PopFirst returns first element of slice (if exists) and deletes it. Retain filters in-place slice of ChannelAdminLogEventActionDefaultBannedRights. Sort sorts slice of ChannelAdminLogEventActionDefaultBannedRights. SortStable sorts slice of ChannelAdminLogEventActionDefaultBannedRights. func ChannelAdminLogEventActionClassArray.AsChannelAdminLogEventActionDefaultBannedRights() (to ChannelAdminLogEventActionDefaultBannedRightsArray) func ChannelAdminLogEventActionDefaultBannedRightsArray.Retain(keep func(x ChannelAdminLogEventActionDefaultBannedRights) bool) ChannelAdminLogEventActionDefaultBannedRightsArray func ChannelAdminLogEventActionDefaultBannedRightsArray.Sort(less func(a, b ChannelAdminLogEventActionDefaultBannedRights) bool) ChannelAdminLogEventActionDefaultBannedRightsArray func ChannelAdminLogEventActionDefaultBannedRightsArray.SortStable(less func(a, b ChannelAdminLogEventActionDefaultBannedRights) bool) ChannelAdminLogEventActionDefaultBannedRightsArray
ChannelAdminLogEventActionDeleteMessage represents TL type `channelAdminLogEventActionDeleteMessage#42e047bb`. A message was deleted See https://core.telegram.org/constructor/channelAdminLogEventActionDeleteMessage for reference. The message that was pinned Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. FillFrom fills ChannelAdminLogEventActionDeleteMessage from given interface. GetMessage returns value of Message field. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*ChannelAdminLogEventActionDeleteMessage) Zero() bool *ChannelAdminLogEventActionDeleteMessage : ChannelAdminLogEventActionClass *ChannelAdminLogEventActionDeleteMessage : github.com/gotd/td/bin.BareDecoder *ChannelAdminLogEventActionDeleteMessage : github.com/gotd/td/bin.BareEncoder *ChannelAdminLogEventActionDeleteMessage : github.com/gotd/td/bin.Decoder *ChannelAdminLogEventActionDeleteMessage : github.com/gotd/td/bin.Encoder *ChannelAdminLogEventActionDeleteMessage : github.com/gotd/td/bin.Object *ChannelAdminLogEventActionDeleteMessage : github.com/gotd/td/tdp.Object *ChannelAdminLogEventActionDeleteMessage : fmt.Stringer func ChannelAdminLogEventActionDeleteMessageArray.First() (v ChannelAdminLogEventActionDeleteMessage, ok bool) func ChannelAdminLogEventActionDeleteMessageArray.Last() (v ChannelAdminLogEventActionDeleteMessage, ok bool) func (*ChannelAdminLogEventActionDeleteMessageArray).Pop() (v ChannelAdminLogEventActionDeleteMessage, ok bool) func (*ChannelAdminLogEventActionDeleteMessageArray).PopFirst() (v ChannelAdminLogEventActionDeleteMessage, ok bool)
ChannelAdminLogEventActionDeleteMessageArray is adapter for slice of ChannelAdminLogEventActionDeleteMessage. First returns first element of slice (if exists). Last returns last element of slice (if exists). Pop returns last element of slice (if exists) and deletes it. PopFirst returns first element of slice (if exists) and deletes it. Retain filters in-place slice of ChannelAdminLogEventActionDeleteMessage. Sort sorts slice of ChannelAdminLogEventActionDeleteMessage. SortStable sorts slice of ChannelAdminLogEventActionDeleteMessage. func ChannelAdminLogEventActionClassArray.AsChannelAdminLogEventActionDeleteMessage() (to ChannelAdminLogEventActionDeleteMessageArray) func ChannelAdminLogEventActionDeleteMessageArray.Retain(keep func(x ChannelAdminLogEventActionDeleteMessage) bool) ChannelAdminLogEventActionDeleteMessageArray func ChannelAdminLogEventActionDeleteMessageArray.Sort(less func(a, b ChannelAdminLogEventActionDeleteMessage) bool) ChannelAdminLogEventActionDeleteMessageArray func ChannelAdminLogEventActionDeleteMessageArray.SortStable(less func(a, b ChannelAdminLogEventActionDeleteMessage) bool) ChannelAdminLogEventActionDeleteMessageArray
ChannelAdminLogEventActionDeleteTopic represents TL type `channelAdminLogEventActionDeleteTopic#ae168909`. A forum topic¹ was deleted Links: 1. https://core.telegram.org/api/forum#forum-topics See https://core.telegram.org/constructor/channelAdminLogEventActionDeleteTopic for reference. The forum topic¹ that was created Links: 1) https://core.telegram.org/api/forum#forum-topics Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. FillFrom fills ChannelAdminLogEventActionDeleteTopic from given interface. GetTopic returns value of Topic field. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*ChannelAdminLogEventActionDeleteTopic) Zero() bool *ChannelAdminLogEventActionDeleteTopic : ChannelAdminLogEventActionClass *ChannelAdminLogEventActionDeleteTopic : github.com/gotd/td/bin.BareDecoder *ChannelAdminLogEventActionDeleteTopic : github.com/gotd/td/bin.BareEncoder *ChannelAdminLogEventActionDeleteTopic : github.com/gotd/td/bin.Decoder *ChannelAdminLogEventActionDeleteTopic : github.com/gotd/td/bin.Encoder *ChannelAdminLogEventActionDeleteTopic : github.com/gotd/td/bin.Object *ChannelAdminLogEventActionDeleteTopic : github.com/gotd/td/tdp.Object *ChannelAdminLogEventActionDeleteTopic : fmt.Stringer func ChannelAdminLogEventActionDeleteTopicArray.First() (v ChannelAdminLogEventActionDeleteTopic, ok bool) func ChannelAdminLogEventActionDeleteTopicArray.Last() (v ChannelAdminLogEventActionDeleteTopic, ok bool) func (*ChannelAdminLogEventActionDeleteTopicArray).Pop() (v ChannelAdminLogEventActionDeleteTopic, ok bool) func (*ChannelAdminLogEventActionDeleteTopicArray).PopFirst() (v ChannelAdminLogEventActionDeleteTopic, ok bool)
ChannelAdminLogEventActionDeleteTopicArray is adapter for slice of ChannelAdminLogEventActionDeleteTopic. First returns first element of slice (if exists). Last returns last element of slice (if exists). Pop returns last element of slice (if exists) and deletes it. PopFirst returns first element of slice (if exists) and deletes it. Retain filters in-place slice of ChannelAdminLogEventActionDeleteTopic. Sort sorts slice of ChannelAdminLogEventActionDeleteTopic. SortStable sorts slice of ChannelAdminLogEventActionDeleteTopic. func ChannelAdminLogEventActionClassArray.AsChannelAdminLogEventActionDeleteTopic() (to ChannelAdminLogEventActionDeleteTopicArray) func ChannelAdminLogEventActionDeleteTopicArray.Retain(keep func(x ChannelAdminLogEventActionDeleteTopic) bool) ChannelAdminLogEventActionDeleteTopicArray func ChannelAdminLogEventActionDeleteTopicArray.Sort(less func(a, b ChannelAdminLogEventActionDeleteTopic) bool) ChannelAdminLogEventActionDeleteTopicArray func ChannelAdminLogEventActionDeleteTopicArray.SortStable(less func(a, b ChannelAdminLogEventActionDeleteTopic) bool) ChannelAdminLogEventActionDeleteTopicArray
ChannelAdminLogEventActionDiscardGroupCall represents TL type `channelAdminLogEventActionDiscardGroupCall#db9f9140`. A group call was terminated See https://core.telegram.org/constructor/channelAdminLogEventActionDiscardGroupCall for reference. Group call Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. FillFrom fills ChannelAdminLogEventActionDiscardGroupCall from given interface. GetCall returns value of Call field. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*ChannelAdminLogEventActionDiscardGroupCall) Zero() bool *ChannelAdminLogEventActionDiscardGroupCall : ChannelAdminLogEventActionClass *ChannelAdminLogEventActionDiscardGroupCall : github.com/gotd/td/bin.BareDecoder *ChannelAdminLogEventActionDiscardGroupCall : github.com/gotd/td/bin.BareEncoder *ChannelAdminLogEventActionDiscardGroupCall : github.com/gotd/td/bin.Decoder *ChannelAdminLogEventActionDiscardGroupCall : github.com/gotd/td/bin.Encoder *ChannelAdminLogEventActionDiscardGroupCall : github.com/gotd/td/bin.Object *ChannelAdminLogEventActionDiscardGroupCall : github.com/gotd/td/tdp.Object *ChannelAdminLogEventActionDiscardGroupCall : fmt.Stringer func ChannelAdminLogEventActionDiscardGroupCallArray.First() (v ChannelAdminLogEventActionDiscardGroupCall, ok bool) func ChannelAdminLogEventActionDiscardGroupCallArray.Last() (v ChannelAdminLogEventActionDiscardGroupCall, ok bool) func (*ChannelAdminLogEventActionDiscardGroupCallArray).Pop() (v ChannelAdminLogEventActionDiscardGroupCall, ok bool) func (*ChannelAdminLogEventActionDiscardGroupCallArray).PopFirst() (v ChannelAdminLogEventActionDiscardGroupCall, ok bool)
ChannelAdminLogEventActionDiscardGroupCallArray is adapter for slice of ChannelAdminLogEventActionDiscardGroupCall. First returns first element of slice (if exists). Last returns last element of slice (if exists). Pop returns last element of slice (if exists) and deletes it. PopFirst returns first element of slice (if exists) and deletes it. Retain filters in-place slice of ChannelAdminLogEventActionDiscardGroupCall. Sort sorts slice of ChannelAdminLogEventActionDiscardGroupCall. SortStable sorts slice of ChannelAdminLogEventActionDiscardGroupCall. func ChannelAdminLogEventActionClassArray.AsChannelAdminLogEventActionDiscardGroupCall() (to ChannelAdminLogEventActionDiscardGroupCallArray) func ChannelAdminLogEventActionDiscardGroupCallArray.Retain(keep func(x ChannelAdminLogEventActionDiscardGroupCall) bool) ChannelAdminLogEventActionDiscardGroupCallArray func ChannelAdminLogEventActionDiscardGroupCallArray.Sort(less func(a, b ChannelAdminLogEventActionDiscardGroupCall) bool) ChannelAdminLogEventActionDiscardGroupCallArray func ChannelAdminLogEventActionDiscardGroupCallArray.SortStable(less func(a, b ChannelAdminLogEventActionDiscardGroupCall) bool) ChannelAdminLogEventActionDiscardGroupCallArray
ChannelAdminLogEventActionEditMessage represents TL type `channelAdminLogEventActionEditMessage#709b2405`. A message was edited See https://core.telegram.org/constructor/channelAdminLogEventActionEditMessage for reference. New message Old message Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. FillFrom fills ChannelAdminLogEventActionEditMessage from given interface. GetNewMessage returns value of NewMessage field. GetPrevMessage returns value of PrevMessage field. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*ChannelAdminLogEventActionEditMessage) Zero() bool *ChannelAdminLogEventActionEditMessage : ChannelAdminLogEventActionClass *ChannelAdminLogEventActionEditMessage : github.com/gotd/td/bin.BareDecoder *ChannelAdminLogEventActionEditMessage : github.com/gotd/td/bin.BareEncoder *ChannelAdminLogEventActionEditMessage : github.com/gotd/td/bin.Decoder *ChannelAdminLogEventActionEditMessage : github.com/gotd/td/bin.Encoder *ChannelAdminLogEventActionEditMessage : github.com/gotd/td/bin.Object *ChannelAdminLogEventActionEditMessage : github.com/gotd/td/tdp.Object *ChannelAdminLogEventActionEditMessage : fmt.Stringer func ChannelAdminLogEventActionEditMessageArray.First() (v ChannelAdminLogEventActionEditMessage, ok bool) func ChannelAdminLogEventActionEditMessageArray.Last() (v ChannelAdminLogEventActionEditMessage, ok bool) func (*ChannelAdminLogEventActionEditMessageArray).Pop() (v ChannelAdminLogEventActionEditMessage, ok bool) func (*ChannelAdminLogEventActionEditMessageArray).PopFirst() (v ChannelAdminLogEventActionEditMessage, ok bool)
ChannelAdminLogEventActionEditMessageArray is adapter for slice of ChannelAdminLogEventActionEditMessage. First returns first element of slice (if exists). Last returns last element of slice (if exists). Pop returns last element of slice (if exists) and deletes it. PopFirst returns first element of slice (if exists) and deletes it. Retain filters in-place slice of ChannelAdminLogEventActionEditMessage. Sort sorts slice of ChannelAdminLogEventActionEditMessage. SortStable sorts slice of ChannelAdminLogEventActionEditMessage. func ChannelAdminLogEventActionClassArray.AsChannelAdminLogEventActionEditMessage() (to ChannelAdminLogEventActionEditMessageArray) func ChannelAdminLogEventActionEditMessageArray.Retain(keep func(x ChannelAdminLogEventActionEditMessage) bool) ChannelAdminLogEventActionEditMessageArray func ChannelAdminLogEventActionEditMessageArray.Sort(less func(a, b ChannelAdminLogEventActionEditMessage) bool) ChannelAdminLogEventActionEditMessageArray func ChannelAdminLogEventActionEditMessageArray.SortStable(less func(a, b ChannelAdminLogEventActionEditMessage) bool) ChannelAdminLogEventActionEditMessageArray
ChannelAdminLogEventActionEditTopic represents TL type `channelAdminLogEventActionEditTopic#f06fe208`. A forum topic¹ was edited Links: 1. https://core.telegram.org/api/forum#forum-topics See https://core.telegram.org/constructor/channelAdminLogEventActionEditTopic for reference. New topic information Previous topic information Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. FillFrom fills ChannelAdminLogEventActionEditTopic from given interface. GetNewTopic returns value of NewTopic field. GetPrevTopic returns value of PrevTopic field. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*ChannelAdminLogEventActionEditTopic) Zero() bool *ChannelAdminLogEventActionEditTopic : ChannelAdminLogEventActionClass *ChannelAdminLogEventActionEditTopic : github.com/gotd/td/bin.BareDecoder *ChannelAdminLogEventActionEditTopic : github.com/gotd/td/bin.BareEncoder *ChannelAdminLogEventActionEditTopic : github.com/gotd/td/bin.Decoder *ChannelAdminLogEventActionEditTopic : github.com/gotd/td/bin.Encoder *ChannelAdminLogEventActionEditTopic : github.com/gotd/td/bin.Object *ChannelAdminLogEventActionEditTopic : github.com/gotd/td/tdp.Object *ChannelAdminLogEventActionEditTopic : fmt.Stringer func ChannelAdminLogEventActionEditTopicArray.First() (v ChannelAdminLogEventActionEditTopic, ok bool) func ChannelAdminLogEventActionEditTopicArray.Last() (v ChannelAdminLogEventActionEditTopic, ok bool) func (*ChannelAdminLogEventActionEditTopicArray).Pop() (v ChannelAdminLogEventActionEditTopic, ok bool) func (*ChannelAdminLogEventActionEditTopicArray).PopFirst() (v ChannelAdminLogEventActionEditTopic, ok bool)
ChannelAdminLogEventActionEditTopicArray is adapter for slice of ChannelAdminLogEventActionEditTopic. First returns first element of slice (if exists). Last returns last element of slice (if exists). Pop returns last element of slice (if exists) and deletes it. PopFirst returns first element of slice (if exists) and deletes it. Retain filters in-place slice of ChannelAdminLogEventActionEditTopic. Sort sorts slice of ChannelAdminLogEventActionEditTopic. SortStable sorts slice of ChannelAdminLogEventActionEditTopic. func ChannelAdminLogEventActionClassArray.AsChannelAdminLogEventActionEditTopic() (to ChannelAdminLogEventActionEditTopicArray) func ChannelAdminLogEventActionEditTopicArray.Retain(keep func(x ChannelAdminLogEventActionEditTopic) bool) ChannelAdminLogEventActionEditTopicArray func ChannelAdminLogEventActionEditTopicArray.Sort(less func(a, b ChannelAdminLogEventActionEditTopic) bool) ChannelAdminLogEventActionEditTopicArray func ChannelAdminLogEventActionEditTopicArray.SortStable(less func(a, b ChannelAdminLogEventActionEditTopic) bool) ChannelAdminLogEventActionEditTopicArray
ChannelAdminLogEventActionExportedInviteDelete represents TL type `channelAdminLogEventActionExportedInviteDelete#5a50fca4`. A chat invite was deleted See https://core.telegram.org/constructor/channelAdminLogEventActionExportedInviteDelete for reference. The deleted chat invite Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. FillFrom fills ChannelAdminLogEventActionExportedInviteDelete from given interface. GetInvite returns value of Invite field. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*ChannelAdminLogEventActionExportedInviteDelete) Zero() bool *ChannelAdminLogEventActionExportedInviteDelete : ChannelAdminLogEventActionClass *ChannelAdminLogEventActionExportedInviteDelete : github.com/gotd/td/bin.BareDecoder *ChannelAdminLogEventActionExportedInviteDelete : github.com/gotd/td/bin.BareEncoder *ChannelAdminLogEventActionExportedInviteDelete : github.com/gotd/td/bin.Decoder *ChannelAdminLogEventActionExportedInviteDelete : github.com/gotd/td/bin.Encoder *ChannelAdminLogEventActionExportedInviteDelete : github.com/gotd/td/bin.Object *ChannelAdminLogEventActionExportedInviteDelete : github.com/gotd/td/tdp.Object *ChannelAdminLogEventActionExportedInviteDelete : fmt.Stringer func ChannelAdminLogEventActionExportedInviteDeleteArray.First() (v ChannelAdminLogEventActionExportedInviteDelete, ok bool) func ChannelAdminLogEventActionExportedInviteDeleteArray.Last() (v ChannelAdminLogEventActionExportedInviteDelete, ok bool) func (*ChannelAdminLogEventActionExportedInviteDeleteArray).Pop() (v ChannelAdminLogEventActionExportedInviteDelete, ok bool) func (*ChannelAdminLogEventActionExportedInviteDeleteArray).PopFirst() (v ChannelAdminLogEventActionExportedInviteDelete, ok bool)
ChannelAdminLogEventActionExportedInviteDeleteArray is adapter for slice of ChannelAdminLogEventActionExportedInviteDelete. First returns first element of slice (if exists). Last returns last element of slice (if exists). Pop returns last element of slice (if exists) and deletes it. PopFirst returns first element of slice (if exists) and deletes it. Retain filters in-place slice of ChannelAdminLogEventActionExportedInviteDelete. Sort sorts slice of ChannelAdminLogEventActionExportedInviteDelete. SortStable sorts slice of ChannelAdminLogEventActionExportedInviteDelete. func ChannelAdminLogEventActionClassArray.AsChannelAdminLogEventActionExportedInviteDelete() (to ChannelAdminLogEventActionExportedInviteDeleteArray) func ChannelAdminLogEventActionExportedInviteDeleteArray.Retain(keep func(x ChannelAdminLogEventActionExportedInviteDelete) bool) ChannelAdminLogEventActionExportedInviteDeleteArray func ChannelAdminLogEventActionExportedInviteDeleteArray.Sort(less func(a, b ChannelAdminLogEventActionExportedInviteDelete) bool) ChannelAdminLogEventActionExportedInviteDeleteArray func ChannelAdminLogEventActionExportedInviteDeleteArray.SortStable(less func(a, b ChannelAdminLogEventActionExportedInviteDelete) bool) ChannelAdminLogEventActionExportedInviteDeleteArray
ChannelAdminLogEventActionExportedInviteEdit represents TL type `channelAdminLogEventActionExportedInviteEdit#e90ebb59`. A chat invite was edited See https://core.telegram.org/constructor/channelAdminLogEventActionExportedInviteEdit for reference. New chat invite information Previous chat invite information Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. FillFrom fills ChannelAdminLogEventActionExportedInviteEdit from given interface. GetNewInvite returns value of NewInvite field. GetPrevInvite returns value of PrevInvite field. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*ChannelAdminLogEventActionExportedInviteEdit) Zero() bool *ChannelAdminLogEventActionExportedInviteEdit : ChannelAdminLogEventActionClass *ChannelAdminLogEventActionExportedInviteEdit : github.com/gotd/td/bin.BareDecoder *ChannelAdminLogEventActionExportedInviteEdit : github.com/gotd/td/bin.BareEncoder *ChannelAdminLogEventActionExportedInviteEdit : github.com/gotd/td/bin.Decoder *ChannelAdminLogEventActionExportedInviteEdit : github.com/gotd/td/bin.Encoder *ChannelAdminLogEventActionExportedInviteEdit : github.com/gotd/td/bin.Object *ChannelAdminLogEventActionExportedInviteEdit : github.com/gotd/td/tdp.Object *ChannelAdminLogEventActionExportedInviteEdit : fmt.Stringer func ChannelAdminLogEventActionExportedInviteEditArray.First() (v ChannelAdminLogEventActionExportedInviteEdit, ok bool) func ChannelAdminLogEventActionExportedInviteEditArray.Last() (v ChannelAdminLogEventActionExportedInviteEdit, ok bool) func (*ChannelAdminLogEventActionExportedInviteEditArray).Pop() (v ChannelAdminLogEventActionExportedInviteEdit, ok bool) func (*ChannelAdminLogEventActionExportedInviteEditArray).PopFirst() (v ChannelAdminLogEventActionExportedInviteEdit, ok bool)
ChannelAdminLogEventActionExportedInviteEditArray is adapter for slice of ChannelAdminLogEventActionExportedInviteEdit. First returns first element of slice (if exists). Last returns last element of slice (if exists). Pop returns last element of slice (if exists) and deletes it. PopFirst returns first element of slice (if exists) and deletes it. Retain filters in-place slice of ChannelAdminLogEventActionExportedInviteEdit. Sort sorts slice of ChannelAdminLogEventActionExportedInviteEdit. SortStable sorts slice of ChannelAdminLogEventActionExportedInviteEdit. func ChannelAdminLogEventActionClassArray.AsChannelAdminLogEventActionExportedInviteEdit() (to ChannelAdminLogEventActionExportedInviteEditArray) func ChannelAdminLogEventActionExportedInviteEditArray.Retain(keep func(x ChannelAdminLogEventActionExportedInviteEdit) bool) ChannelAdminLogEventActionExportedInviteEditArray func ChannelAdminLogEventActionExportedInviteEditArray.Sort(less func(a, b ChannelAdminLogEventActionExportedInviteEdit) bool) ChannelAdminLogEventActionExportedInviteEditArray func ChannelAdminLogEventActionExportedInviteEditArray.SortStable(less func(a, b ChannelAdminLogEventActionExportedInviteEdit) bool) ChannelAdminLogEventActionExportedInviteEditArray
ChannelAdminLogEventActionExportedInviteRevoke represents TL type `channelAdminLogEventActionExportedInviteRevoke#410a134e`. A specific invite link was revoked See https://core.telegram.org/constructor/channelAdminLogEventActionExportedInviteRevoke for reference. The deleted chat invite Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. FillFrom fills ChannelAdminLogEventActionExportedInviteRevoke from given interface. GetInvite returns value of Invite field. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*ChannelAdminLogEventActionExportedInviteRevoke) Zero() bool *ChannelAdminLogEventActionExportedInviteRevoke : ChannelAdminLogEventActionClass *ChannelAdminLogEventActionExportedInviteRevoke : github.com/gotd/td/bin.BareDecoder *ChannelAdminLogEventActionExportedInviteRevoke : github.com/gotd/td/bin.BareEncoder *ChannelAdminLogEventActionExportedInviteRevoke : github.com/gotd/td/bin.Decoder *ChannelAdminLogEventActionExportedInviteRevoke : github.com/gotd/td/bin.Encoder *ChannelAdminLogEventActionExportedInviteRevoke : github.com/gotd/td/bin.Object *ChannelAdminLogEventActionExportedInviteRevoke : github.com/gotd/td/tdp.Object *ChannelAdminLogEventActionExportedInviteRevoke : fmt.Stringer func ChannelAdminLogEventActionExportedInviteRevokeArray.First() (v ChannelAdminLogEventActionExportedInviteRevoke, ok bool) func ChannelAdminLogEventActionExportedInviteRevokeArray.Last() (v ChannelAdminLogEventActionExportedInviteRevoke, ok bool) func (*ChannelAdminLogEventActionExportedInviteRevokeArray).Pop() (v ChannelAdminLogEventActionExportedInviteRevoke, ok bool) func (*ChannelAdminLogEventActionExportedInviteRevokeArray).PopFirst() (v ChannelAdminLogEventActionExportedInviteRevoke, ok bool)
ChannelAdminLogEventActionExportedInviteRevokeArray is adapter for slice of ChannelAdminLogEventActionExportedInviteRevoke. First returns first element of slice (if exists). Last returns last element of slice (if exists). Pop returns last element of slice (if exists) and deletes it. PopFirst returns first element of slice (if exists) and deletes it. Retain filters in-place slice of ChannelAdminLogEventActionExportedInviteRevoke. Sort sorts slice of ChannelAdminLogEventActionExportedInviteRevoke. SortStable sorts slice of ChannelAdminLogEventActionExportedInviteRevoke. func ChannelAdminLogEventActionClassArray.AsChannelAdminLogEventActionExportedInviteRevoke() (to ChannelAdminLogEventActionExportedInviteRevokeArray) func ChannelAdminLogEventActionExportedInviteRevokeArray.Retain(keep func(x ChannelAdminLogEventActionExportedInviteRevoke) bool) ChannelAdminLogEventActionExportedInviteRevokeArray func ChannelAdminLogEventActionExportedInviteRevokeArray.Sort(less func(a, b ChannelAdminLogEventActionExportedInviteRevoke) bool) ChannelAdminLogEventActionExportedInviteRevokeArray func ChannelAdminLogEventActionExportedInviteRevokeArray.SortStable(less func(a, b ChannelAdminLogEventActionExportedInviteRevoke) bool) ChannelAdminLogEventActionExportedInviteRevokeArray
ChannelAdminLogEventActionParticipantInvite represents TL type `channelAdminLogEventActionParticipantInvite#e31c34d8`. A user was invited to the group See https://core.telegram.org/constructor/channelAdminLogEventActionParticipantInvite for reference. The user that was invited Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. FillFrom fills ChannelAdminLogEventActionParticipantInvite from given interface. GetParticipant returns value of Participant field. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*ChannelAdminLogEventActionParticipantInvite) Zero() bool *ChannelAdminLogEventActionParticipantInvite : ChannelAdminLogEventActionClass *ChannelAdminLogEventActionParticipantInvite : github.com/gotd/td/bin.BareDecoder *ChannelAdminLogEventActionParticipantInvite : github.com/gotd/td/bin.BareEncoder *ChannelAdminLogEventActionParticipantInvite : github.com/gotd/td/bin.Decoder *ChannelAdminLogEventActionParticipantInvite : github.com/gotd/td/bin.Encoder *ChannelAdminLogEventActionParticipantInvite : github.com/gotd/td/bin.Object *ChannelAdminLogEventActionParticipantInvite : github.com/gotd/td/tdp.Object *ChannelAdminLogEventActionParticipantInvite : fmt.Stringer func ChannelAdminLogEventActionParticipantInviteArray.First() (v ChannelAdminLogEventActionParticipantInvite, ok bool) func ChannelAdminLogEventActionParticipantInviteArray.Last() (v ChannelAdminLogEventActionParticipantInvite, ok bool) func (*ChannelAdminLogEventActionParticipantInviteArray).Pop() (v ChannelAdminLogEventActionParticipantInvite, ok bool) func (*ChannelAdminLogEventActionParticipantInviteArray).PopFirst() (v ChannelAdminLogEventActionParticipantInvite, ok bool)
ChannelAdminLogEventActionParticipantInviteArray is adapter for slice of ChannelAdminLogEventActionParticipantInvite. First returns first element of slice (if exists). Last returns last element of slice (if exists). Pop returns last element of slice (if exists) and deletes it. PopFirst returns first element of slice (if exists) and deletes it. Retain filters in-place slice of ChannelAdminLogEventActionParticipantInvite. Sort sorts slice of ChannelAdminLogEventActionParticipantInvite. SortStable sorts slice of ChannelAdminLogEventActionParticipantInvite. func ChannelAdminLogEventActionClassArray.AsChannelAdminLogEventActionParticipantInvite() (to ChannelAdminLogEventActionParticipantInviteArray) func ChannelAdminLogEventActionParticipantInviteArray.Retain(keep func(x ChannelAdminLogEventActionParticipantInvite) bool) ChannelAdminLogEventActionParticipantInviteArray func ChannelAdminLogEventActionParticipantInviteArray.Sort(less func(a, b ChannelAdminLogEventActionParticipantInvite) bool) ChannelAdminLogEventActionParticipantInviteArray func ChannelAdminLogEventActionParticipantInviteArray.SortStable(less func(a, b ChannelAdminLogEventActionParticipantInvite) bool) ChannelAdminLogEventActionParticipantInviteArray
ChannelAdminLogEventActionParticipantJoin represents TL type `channelAdminLogEventActionParticipantJoin#183040d3`. A user has joined the group (in the case of big groups, info of the user that has joined isn't shown) See https://core.telegram.org/constructor/channelAdminLogEventActionParticipantJoin for reference. Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*ChannelAdminLogEventActionParticipantJoin) Zero() bool *ChannelAdminLogEventActionParticipantJoin : ChannelAdminLogEventActionClass *ChannelAdminLogEventActionParticipantJoin : github.com/gotd/td/bin.BareDecoder *ChannelAdminLogEventActionParticipantJoin : github.com/gotd/td/bin.BareEncoder *ChannelAdminLogEventActionParticipantJoin : github.com/gotd/td/bin.Decoder *ChannelAdminLogEventActionParticipantJoin : github.com/gotd/td/bin.Encoder *ChannelAdminLogEventActionParticipantJoin : github.com/gotd/td/bin.Object *ChannelAdminLogEventActionParticipantJoin : github.com/gotd/td/tdp.Object *ChannelAdminLogEventActionParticipantJoin : fmt.Stringer
ChannelAdminLogEventActionParticipantJoinByInvite represents TL type `channelAdminLogEventActionParticipantJoinByInvite#fe9fc158`. A user joined the supergroup/channel¹ using a specific invite link Links: 1. https://core.telegram.org/api/channel See https://core.telegram.org/constructor/channelAdminLogEventActionParticipantJoinByInvite for reference. Flags, see TL conditional fields¹ Links: 1) https://core.telegram.org/mtproto/TL-combinators#conditional-fields The invite link used to join the supergroup/channel¹ Links: 1) https://core.telegram.org/api/channel The participant joined by importing a chat folder deep link »¹. Links: 1) https://core.telegram.org/api/links#chat-folder-links Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. FillFrom fills ChannelAdminLogEventActionParticipantJoinByInvite from given interface. GetInvite returns value of Invite field. GetViaChatlist returns value of ViaChatlist conditional field. SetFlags sets flags for non-zero fields. SetViaChatlist sets value of ViaChatlist conditional field. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*ChannelAdminLogEventActionParticipantJoinByInvite) Zero() bool *ChannelAdminLogEventActionParticipantJoinByInvite : ChannelAdminLogEventActionClass *ChannelAdminLogEventActionParticipantJoinByInvite : github.com/gotd/td/bin.BareDecoder *ChannelAdminLogEventActionParticipantJoinByInvite : github.com/gotd/td/bin.BareEncoder *ChannelAdminLogEventActionParticipantJoinByInvite : github.com/gotd/td/bin.Decoder *ChannelAdminLogEventActionParticipantJoinByInvite : github.com/gotd/td/bin.Encoder *ChannelAdminLogEventActionParticipantJoinByInvite : github.com/gotd/td/bin.Object *ChannelAdminLogEventActionParticipantJoinByInvite : github.com/gotd/td/tdp.Object *ChannelAdminLogEventActionParticipantJoinByInvite : fmt.Stringer func ChannelAdminLogEventActionParticipantJoinByInviteArray.First() (v ChannelAdminLogEventActionParticipantJoinByInvite, ok bool) func ChannelAdminLogEventActionParticipantJoinByInviteArray.Last() (v ChannelAdminLogEventActionParticipantJoinByInvite, ok bool) func (*ChannelAdminLogEventActionParticipantJoinByInviteArray).Pop() (v ChannelAdminLogEventActionParticipantJoinByInvite, ok bool) func (*ChannelAdminLogEventActionParticipantJoinByInviteArray).PopFirst() (v ChannelAdminLogEventActionParticipantJoinByInvite, ok bool)
ChannelAdminLogEventActionParticipantJoinByInviteArray is adapter for slice of ChannelAdminLogEventActionParticipantJoinByInvite. First returns first element of slice (if exists). Last returns last element of slice (if exists). Pop returns last element of slice (if exists) and deletes it. PopFirst returns first element of slice (if exists) and deletes it. Retain filters in-place slice of ChannelAdminLogEventActionParticipantJoinByInvite. Sort sorts slice of ChannelAdminLogEventActionParticipantJoinByInvite. SortStable sorts slice of ChannelAdminLogEventActionParticipantJoinByInvite. func ChannelAdminLogEventActionClassArray.AsChannelAdminLogEventActionParticipantJoinByInvite() (to ChannelAdminLogEventActionParticipantJoinByInviteArray) func ChannelAdminLogEventActionParticipantJoinByInviteArray.Retain(keep func(x ChannelAdminLogEventActionParticipantJoinByInvite) bool) ChannelAdminLogEventActionParticipantJoinByInviteArray func ChannelAdminLogEventActionParticipantJoinByInviteArray.Sort(less func(a, b ChannelAdminLogEventActionParticipantJoinByInvite) bool) ChannelAdminLogEventActionParticipantJoinByInviteArray func ChannelAdminLogEventActionParticipantJoinByInviteArray.SortStable(less func(a, b ChannelAdminLogEventActionParticipantJoinByInvite) bool) ChannelAdminLogEventActionParticipantJoinByInviteArray
ChannelAdminLogEventActionParticipantJoinByRequest represents TL type `channelAdminLogEventActionParticipantJoinByRequest#afb6144a`. A new member was accepted to the chat by an admin See https://core.telegram.org/constructor/channelAdminLogEventActionParticipantJoinByRequest for reference. ID of the admin that approved the invite The invite link that was used to join the chat Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. FillFrom fills ChannelAdminLogEventActionParticipantJoinByRequest from given interface. GetApprovedBy returns value of ApprovedBy field. GetInvite returns value of Invite field. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*ChannelAdminLogEventActionParticipantJoinByRequest) Zero() bool *ChannelAdminLogEventActionParticipantJoinByRequest : ChannelAdminLogEventActionClass *ChannelAdminLogEventActionParticipantJoinByRequest : github.com/gotd/td/bin.BareDecoder *ChannelAdminLogEventActionParticipantJoinByRequest : github.com/gotd/td/bin.BareEncoder *ChannelAdminLogEventActionParticipantJoinByRequest : github.com/gotd/td/bin.Decoder *ChannelAdminLogEventActionParticipantJoinByRequest : github.com/gotd/td/bin.Encoder *ChannelAdminLogEventActionParticipantJoinByRequest : github.com/gotd/td/bin.Object *ChannelAdminLogEventActionParticipantJoinByRequest : github.com/gotd/td/tdp.Object *ChannelAdminLogEventActionParticipantJoinByRequest : fmt.Stringer func ChannelAdminLogEventActionParticipantJoinByRequestArray.First() (v ChannelAdminLogEventActionParticipantJoinByRequest, ok bool) func ChannelAdminLogEventActionParticipantJoinByRequestArray.Last() (v ChannelAdminLogEventActionParticipantJoinByRequest, ok bool) func (*ChannelAdminLogEventActionParticipantJoinByRequestArray).Pop() (v ChannelAdminLogEventActionParticipantJoinByRequest, ok bool) func (*ChannelAdminLogEventActionParticipantJoinByRequestArray).PopFirst() (v ChannelAdminLogEventActionParticipantJoinByRequest, ok bool)
ChannelAdminLogEventActionParticipantJoinByRequestArray is adapter for slice of ChannelAdminLogEventActionParticipantJoinByRequest. First returns first element of slice (if exists). Last returns last element of slice (if exists). Pop returns last element of slice (if exists) and deletes it. PopFirst returns first element of slice (if exists) and deletes it. Retain filters in-place slice of ChannelAdminLogEventActionParticipantJoinByRequest. Sort sorts slice of ChannelAdminLogEventActionParticipantJoinByRequest. SortStable sorts slice of ChannelAdminLogEventActionParticipantJoinByRequest. func ChannelAdminLogEventActionClassArray.AsChannelAdminLogEventActionParticipantJoinByRequest() (to ChannelAdminLogEventActionParticipantJoinByRequestArray) func ChannelAdminLogEventActionParticipantJoinByRequestArray.Retain(keep func(x ChannelAdminLogEventActionParticipantJoinByRequest) bool) ChannelAdminLogEventActionParticipantJoinByRequestArray func ChannelAdminLogEventActionParticipantJoinByRequestArray.Sort(less func(a, b ChannelAdminLogEventActionParticipantJoinByRequest) bool) ChannelAdminLogEventActionParticipantJoinByRequestArray func ChannelAdminLogEventActionParticipantJoinByRequestArray.SortStable(less func(a, b ChannelAdminLogEventActionParticipantJoinByRequest) bool) ChannelAdminLogEventActionParticipantJoinByRequestArray
ChannelAdminLogEventActionParticipantLeave represents TL type `channelAdminLogEventActionParticipantLeave#f89777f2`. A user left the channel/supergroup (in the case of big groups, info of the user that has joined isn't shown) See https://core.telegram.org/constructor/channelAdminLogEventActionParticipantLeave for reference. Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*ChannelAdminLogEventActionParticipantLeave) Zero() bool *ChannelAdminLogEventActionParticipantLeave : ChannelAdminLogEventActionClass *ChannelAdminLogEventActionParticipantLeave : github.com/gotd/td/bin.BareDecoder *ChannelAdminLogEventActionParticipantLeave : github.com/gotd/td/bin.BareEncoder *ChannelAdminLogEventActionParticipantLeave : github.com/gotd/td/bin.Decoder *ChannelAdminLogEventActionParticipantLeave : github.com/gotd/td/bin.Encoder *ChannelAdminLogEventActionParticipantLeave : github.com/gotd/td/bin.Object *ChannelAdminLogEventActionParticipantLeave : github.com/gotd/td/tdp.Object *ChannelAdminLogEventActionParticipantLeave : fmt.Stringer
ChannelAdminLogEventActionParticipantMute represents TL type `channelAdminLogEventActionParticipantMute#f92424d2`. A group call participant was muted See https://core.telegram.org/constructor/channelAdminLogEventActionParticipantMute for reference. The participant that was muted Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. FillFrom fills ChannelAdminLogEventActionParticipantMute from given interface. GetParticipant returns value of Participant field. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*ChannelAdminLogEventActionParticipantMute) Zero() bool *ChannelAdminLogEventActionParticipantMute : ChannelAdminLogEventActionClass *ChannelAdminLogEventActionParticipantMute : github.com/gotd/td/bin.BareDecoder *ChannelAdminLogEventActionParticipantMute : github.com/gotd/td/bin.BareEncoder *ChannelAdminLogEventActionParticipantMute : github.com/gotd/td/bin.Decoder *ChannelAdminLogEventActionParticipantMute : github.com/gotd/td/bin.Encoder *ChannelAdminLogEventActionParticipantMute : github.com/gotd/td/bin.Object *ChannelAdminLogEventActionParticipantMute : github.com/gotd/td/tdp.Object *ChannelAdminLogEventActionParticipantMute : fmt.Stringer func ChannelAdminLogEventActionParticipantMuteArray.First() (v ChannelAdminLogEventActionParticipantMute, ok bool) func ChannelAdminLogEventActionParticipantMuteArray.Last() (v ChannelAdminLogEventActionParticipantMute, ok bool) func (*ChannelAdminLogEventActionParticipantMuteArray).Pop() (v ChannelAdminLogEventActionParticipantMute, ok bool) func (*ChannelAdminLogEventActionParticipantMuteArray).PopFirst() (v ChannelAdminLogEventActionParticipantMute, ok bool)
ChannelAdminLogEventActionParticipantMuteArray is adapter for slice of ChannelAdminLogEventActionParticipantMute. First returns first element of slice (if exists). Last returns last element of slice (if exists). Pop returns last element of slice (if exists) and deletes it. PopFirst returns first element of slice (if exists) and deletes it. Retain filters in-place slice of ChannelAdminLogEventActionParticipantMute. Sort sorts slice of ChannelAdminLogEventActionParticipantMute. SortStable sorts slice of ChannelAdminLogEventActionParticipantMute. func ChannelAdminLogEventActionClassArray.AsChannelAdminLogEventActionParticipantMute() (to ChannelAdminLogEventActionParticipantMuteArray) func ChannelAdminLogEventActionParticipantMuteArray.Retain(keep func(x ChannelAdminLogEventActionParticipantMute) bool) ChannelAdminLogEventActionParticipantMuteArray func ChannelAdminLogEventActionParticipantMuteArray.Sort(less func(a, b ChannelAdminLogEventActionParticipantMute) bool) ChannelAdminLogEventActionParticipantMuteArray func ChannelAdminLogEventActionParticipantMuteArray.SortStable(less func(a, b ChannelAdminLogEventActionParticipantMute) bool) ChannelAdminLogEventActionParticipantMuteArray
ChannelAdminLogEventActionParticipantToggleAdmin represents TL type `channelAdminLogEventActionParticipantToggleAdmin#d5676710`. The admin rights¹ of a user were changed Links: 1. https://core.telegram.org/api/rights See https://core.telegram.org/constructor/channelAdminLogEventActionParticipantToggleAdmin for reference. New banned rights of user Old banned rights of user Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. FillFrom fills ChannelAdminLogEventActionParticipantToggleAdmin from given interface. GetNewParticipant returns value of NewParticipant field. GetPrevParticipant returns value of PrevParticipant field. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*ChannelAdminLogEventActionParticipantToggleAdmin) Zero() bool *ChannelAdminLogEventActionParticipantToggleAdmin : ChannelAdminLogEventActionClass *ChannelAdminLogEventActionParticipantToggleAdmin : github.com/gotd/td/bin.BareDecoder *ChannelAdminLogEventActionParticipantToggleAdmin : github.com/gotd/td/bin.BareEncoder *ChannelAdminLogEventActionParticipantToggleAdmin : github.com/gotd/td/bin.Decoder *ChannelAdminLogEventActionParticipantToggleAdmin : github.com/gotd/td/bin.Encoder *ChannelAdminLogEventActionParticipantToggleAdmin : github.com/gotd/td/bin.Object *ChannelAdminLogEventActionParticipantToggleAdmin : github.com/gotd/td/tdp.Object *ChannelAdminLogEventActionParticipantToggleAdmin : fmt.Stringer func ChannelAdminLogEventActionParticipantToggleAdminArray.First() (v ChannelAdminLogEventActionParticipantToggleAdmin, ok bool) func ChannelAdminLogEventActionParticipantToggleAdminArray.Last() (v ChannelAdminLogEventActionParticipantToggleAdmin, ok bool) func (*ChannelAdminLogEventActionParticipantToggleAdminArray).Pop() (v ChannelAdminLogEventActionParticipantToggleAdmin, ok bool) func (*ChannelAdminLogEventActionParticipantToggleAdminArray).PopFirst() (v ChannelAdminLogEventActionParticipantToggleAdmin, ok bool)
ChannelAdminLogEventActionParticipantToggleAdminArray is adapter for slice of ChannelAdminLogEventActionParticipantToggleAdmin. First returns first element of slice (if exists). Last returns last element of slice (if exists). Pop returns last element of slice (if exists) and deletes it. PopFirst returns first element of slice (if exists) and deletes it. Retain filters in-place slice of ChannelAdminLogEventActionParticipantToggleAdmin. Sort sorts slice of ChannelAdminLogEventActionParticipantToggleAdmin. SortStable sorts slice of ChannelAdminLogEventActionParticipantToggleAdmin. func ChannelAdminLogEventActionClassArray.AsChannelAdminLogEventActionParticipantToggleAdmin() (to ChannelAdminLogEventActionParticipantToggleAdminArray) func ChannelAdminLogEventActionParticipantToggleAdminArray.Retain(keep func(x ChannelAdminLogEventActionParticipantToggleAdmin) bool) ChannelAdminLogEventActionParticipantToggleAdminArray func ChannelAdminLogEventActionParticipantToggleAdminArray.Sort(less func(a, b ChannelAdminLogEventActionParticipantToggleAdmin) bool) ChannelAdminLogEventActionParticipantToggleAdminArray func ChannelAdminLogEventActionParticipantToggleAdminArray.SortStable(less func(a, b ChannelAdminLogEventActionParticipantToggleAdmin) bool) ChannelAdminLogEventActionParticipantToggleAdminArray
ChannelAdminLogEventActionParticipantToggleBan represents TL type `channelAdminLogEventActionParticipantToggleBan#e6d83d7e`. The banned rights¹ of a user were changed Links: 1. https://core.telegram.org/api/rights See https://core.telegram.org/constructor/channelAdminLogEventActionParticipantToggleBan for reference. New banned rights of user Old banned rights of user Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. FillFrom fills ChannelAdminLogEventActionParticipantToggleBan from given interface. GetNewParticipant returns value of NewParticipant field. GetPrevParticipant returns value of PrevParticipant field. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*ChannelAdminLogEventActionParticipantToggleBan) Zero() bool *ChannelAdminLogEventActionParticipantToggleBan : ChannelAdminLogEventActionClass *ChannelAdminLogEventActionParticipantToggleBan : github.com/gotd/td/bin.BareDecoder *ChannelAdminLogEventActionParticipantToggleBan : github.com/gotd/td/bin.BareEncoder *ChannelAdminLogEventActionParticipantToggleBan : github.com/gotd/td/bin.Decoder *ChannelAdminLogEventActionParticipantToggleBan : github.com/gotd/td/bin.Encoder *ChannelAdminLogEventActionParticipantToggleBan : github.com/gotd/td/bin.Object *ChannelAdminLogEventActionParticipantToggleBan : github.com/gotd/td/tdp.Object *ChannelAdminLogEventActionParticipantToggleBan : fmt.Stringer func ChannelAdminLogEventActionParticipantToggleBanArray.First() (v ChannelAdminLogEventActionParticipantToggleBan, ok bool) func ChannelAdminLogEventActionParticipantToggleBanArray.Last() (v ChannelAdminLogEventActionParticipantToggleBan, ok bool) func (*ChannelAdminLogEventActionParticipantToggleBanArray).Pop() (v ChannelAdminLogEventActionParticipantToggleBan, ok bool) func (*ChannelAdminLogEventActionParticipantToggleBanArray).PopFirst() (v ChannelAdminLogEventActionParticipantToggleBan, ok bool)
ChannelAdminLogEventActionParticipantToggleBanArray is adapter for slice of ChannelAdminLogEventActionParticipantToggleBan. First returns first element of slice (if exists). Last returns last element of slice (if exists). Pop returns last element of slice (if exists) and deletes it. PopFirst returns first element of slice (if exists) and deletes it. Retain filters in-place slice of ChannelAdminLogEventActionParticipantToggleBan. Sort sorts slice of ChannelAdminLogEventActionParticipantToggleBan. SortStable sorts slice of ChannelAdminLogEventActionParticipantToggleBan. func ChannelAdminLogEventActionClassArray.AsChannelAdminLogEventActionParticipantToggleBan() (to ChannelAdminLogEventActionParticipantToggleBanArray) func ChannelAdminLogEventActionParticipantToggleBanArray.Retain(keep func(x ChannelAdminLogEventActionParticipantToggleBan) bool) ChannelAdminLogEventActionParticipantToggleBanArray func ChannelAdminLogEventActionParticipantToggleBanArray.Sort(less func(a, b ChannelAdminLogEventActionParticipantToggleBan) bool) ChannelAdminLogEventActionParticipantToggleBanArray func ChannelAdminLogEventActionParticipantToggleBanArray.SortStable(less func(a, b ChannelAdminLogEventActionParticipantToggleBan) bool) ChannelAdminLogEventActionParticipantToggleBanArray
ChannelAdminLogEventActionParticipantUnmute represents TL type `channelAdminLogEventActionParticipantUnmute#e64429c0`. A group call participant was unmuted See https://core.telegram.org/constructor/channelAdminLogEventActionParticipantUnmute for reference. The participant that was muted Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. FillFrom fills ChannelAdminLogEventActionParticipantUnmute from given interface. GetParticipant returns value of Participant field. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*ChannelAdminLogEventActionParticipantUnmute) Zero() bool *ChannelAdminLogEventActionParticipantUnmute : ChannelAdminLogEventActionClass *ChannelAdminLogEventActionParticipantUnmute : github.com/gotd/td/bin.BareDecoder *ChannelAdminLogEventActionParticipantUnmute : github.com/gotd/td/bin.BareEncoder *ChannelAdminLogEventActionParticipantUnmute : github.com/gotd/td/bin.Decoder *ChannelAdminLogEventActionParticipantUnmute : github.com/gotd/td/bin.Encoder *ChannelAdminLogEventActionParticipantUnmute : github.com/gotd/td/bin.Object *ChannelAdminLogEventActionParticipantUnmute : github.com/gotd/td/tdp.Object *ChannelAdminLogEventActionParticipantUnmute : fmt.Stringer func ChannelAdminLogEventActionParticipantUnmuteArray.First() (v ChannelAdminLogEventActionParticipantUnmute, ok bool) func ChannelAdminLogEventActionParticipantUnmuteArray.Last() (v ChannelAdminLogEventActionParticipantUnmute, ok bool) func (*ChannelAdminLogEventActionParticipantUnmuteArray).Pop() (v ChannelAdminLogEventActionParticipantUnmute, ok bool) func (*ChannelAdminLogEventActionParticipantUnmuteArray).PopFirst() (v ChannelAdminLogEventActionParticipantUnmute, ok bool)
ChannelAdminLogEventActionParticipantUnmuteArray is adapter for slice of ChannelAdminLogEventActionParticipantUnmute. First returns first element of slice (if exists). Last returns last element of slice (if exists). Pop returns last element of slice (if exists) and deletes it. PopFirst returns first element of slice (if exists) and deletes it. Retain filters in-place slice of ChannelAdminLogEventActionParticipantUnmute. Sort sorts slice of ChannelAdminLogEventActionParticipantUnmute. SortStable sorts slice of ChannelAdminLogEventActionParticipantUnmute. func ChannelAdminLogEventActionClassArray.AsChannelAdminLogEventActionParticipantUnmute() (to ChannelAdminLogEventActionParticipantUnmuteArray) func ChannelAdminLogEventActionParticipantUnmuteArray.Retain(keep func(x ChannelAdminLogEventActionParticipantUnmute) bool) ChannelAdminLogEventActionParticipantUnmuteArray func ChannelAdminLogEventActionParticipantUnmuteArray.Sort(less func(a, b ChannelAdminLogEventActionParticipantUnmute) bool) ChannelAdminLogEventActionParticipantUnmuteArray func ChannelAdminLogEventActionParticipantUnmuteArray.SortStable(less func(a, b ChannelAdminLogEventActionParticipantUnmute) bool) ChannelAdminLogEventActionParticipantUnmuteArray
ChannelAdminLogEventActionParticipantVolume represents TL type `channelAdminLogEventActionParticipantVolume#3e7f6847`. channelAdminLogEvent.user_id has set the volume of participant.peer to participant volume See https://core.telegram.org/constructor/channelAdminLogEventActionParticipantVolume for reference. The participant that was muted Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. FillFrom fills ChannelAdminLogEventActionParticipantVolume from given interface. GetParticipant returns value of Participant field. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*ChannelAdminLogEventActionParticipantVolume) Zero() bool *ChannelAdminLogEventActionParticipantVolume : ChannelAdminLogEventActionClass *ChannelAdminLogEventActionParticipantVolume : github.com/gotd/td/bin.BareDecoder *ChannelAdminLogEventActionParticipantVolume : github.com/gotd/td/bin.BareEncoder *ChannelAdminLogEventActionParticipantVolume : github.com/gotd/td/bin.Decoder *ChannelAdminLogEventActionParticipantVolume : github.com/gotd/td/bin.Encoder *ChannelAdminLogEventActionParticipantVolume : github.com/gotd/td/bin.Object *ChannelAdminLogEventActionParticipantVolume : github.com/gotd/td/tdp.Object *ChannelAdminLogEventActionParticipantVolume : fmt.Stringer func ChannelAdminLogEventActionParticipantVolumeArray.First() (v ChannelAdminLogEventActionParticipantVolume, ok bool) func ChannelAdminLogEventActionParticipantVolumeArray.Last() (v ChannelAdminLogEventActionParticipantVolume, ok bool) func (*ChannelAdminLogEventActionParticipantVolumeArray).Pop() (v ChannelAdminLogEventActionParticipantVolume, ok bool) func (*ChannelAdminLogEventActionParticipantVolumeArray).PopFirst() (v ChannelAdminLogEventActionParticipantVolume, ok bool)
ChannelAdminLogEventActionParticipantVolumeArray is adapter for slice of ChannelAdminLogEventActionParticipantVolume. First returns first element of slice (if exists). Last returns last element of slice (if exists). Pop returns last element of slice (if exists) and deletes it. PopFirst returns first element of slice (if exists) and deletes it. Retain filters in-place slice of ChannelAdminLogEventActionParticipantVolume. Sort sorts slice of ChannelAdminLogEventActionParticipantVolume. SortStable sorts slice of ChannelAdminLogEventActionParticipantVolume. func ChannelAdminLogEventActionClassArray.AsChannelAdminLogEventActionParticipantVolume() (to ChannelAdminLogEventActionParticipantVolumeArray) func ChannelAdminLogEventActionParticipantVolumeArray.Retain(keep func(x ChannelAdminLogEventActionParticipantVolume) bool) ChannelAdminLogEventActionParticipantVolumeArray func ChannelAdminLogEventActionParticipantVolumeArray.Sort(less func(a, b ChannelAdminLogEventActionParticipantVolume) bool) ChannelAdminLogEventActionParticipantVolumeArray func ChannelAdminLogEventActionParticipantVolumeArray.SortStable(less func(a, b ChannelAdminLogEventActionParticipantVolume) bool) ChannelAdminLogEventActionParticipantVolumeArray
ChannelAdminLogEventActionPinTopic represents TL type `channelAdminLogEventActionPinTopic#5d8d353b`. A forum topic¹ was pinned or unpinned Links: 1. https://core.telegram.org/api/forum#forum-topics See https://core.telegram.org/constructor/channelAdminLogEventActionPinTopic for reference. Flags, see TL conditional fields¹ Links: 1) https://core.telegram.org/mtproto/TL-combinators#conditional-fields New topic information Use SetNewTopic and GetNewTopic helpers. Previous topic information Use SetPrevTopic and GetPrevTopic helpers. Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. FillFrom fills ChannelAdminLogEventActionPinTopic from given interface. GetNewTopic returns value of NewTopic conditional field and boolean which is true if field was set. GetPrevTopic returns value of PrevTopic conditional field and boolean which is true if field was set. SetFlags sets flags for non-zero fields. SetNewTopic sets value of NewTopic conditional field. SetPrevTopic sets value of PrevTopic conditional field. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*ChannelAdminLogEventActionPinTopic) Zero() bool *ChannelAdminLogEventActionPinTopic : ChannelAdminLogEventActionClass *ChannelAdminLogEventActionPinTopic : github.com/gotd/td/bin.BareDecoder *ChannelAdminLogEventActionPinTopic : github.com/gotd/td/bin.BareEncoder *ChannelAdminLogEventActionPinTopic : github.com/gotd/td/bin.Decoder *ChannelAdminLogEventActionPinTopic : github.com/gotd/td/bin.Encoder *ChannelAdminLogEventActionPinTopic : github.com/gotd/td/bin.Object *ChannelAdminLogEventActionPinTopic : github.com/gotd/td/tdp.Object *ChannelAdminLogEventActionPinTopic : fmt.Stringer func ChannelAdminLogEventActionPinTopicArray.First() (v ChannelAdminLogEventActionPinTopic, ok bool) func ChannelAdminLogEventActionPinTopicArray.Last() (v ChannelAdminLogEventActionPinTopic, ok bool) func (*ChannelAdminLogEventActionPinTopicArray).Pop() (v ChannelAdminLogEventActionPinTopic, ok bool) func (*ChannelAdminLogEventActionPinTopicArray).PopFirst() (v ChannelAdminLogEventActionPinTopic, ok bool)
ChannelAdminLogEventActionPinTopicArray is adapter for slice of ChannelAdminLogEventActionPinTopic. First returns first element of slice (if exists). Last returns last element of slice (if exists). Pop returns last element of slice (if exists) and deletes it. PopFirst returns first element of slice (if exists) and deletes it. Retain filters in-place slice of ChannelAdminLogEventActionPinTopic. Sort sorts slice of ChannelAdminLogEventActionPinTopic. SortStable sorts slice of ChannelAdminLogEventActionPinTopic. func ChannelAdminLogEventActionClassArray.AsChannelAdminLogEventActionPinTopic() (to ChannelAdminLogEventActionPinTopicArray) func ChannelAdminLogEventActionPinTopicArray.Retain(keep func(x ChannelAdminLogEventActionPinTopic) bool) ChannelAdminLogEventActionPinTopicArray func ChannelAdminLogEventActionPinTopicArray.Sort(less func(a, b ChannelAdminLogEventActionPinTopic) bool) ChannelAdminLogEventActionPinTopicArray func ChannelAdminLogEventActionPinTopicArray.SortStable(less func(a, b ChannelAdminLogEventActionPinTopic) bool) ChannelAdminLogEventActionPinTopicArray
ChannelAdminLogEventActionSendMessage represents TL type `channelAdminLogEventActionSendMessage#278f2868`. A message was posted in a channel See https://core.telegram.org/constructor/channelAdminLogEventActionSendMessage for reference. The message that was pinned Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. FillFrom fills ChannelAdminLogEventActionSendMessage from given interface. GetMessage returns value of Message field. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*ChannelAdminLogEventActionSendMessage) Zero() bool *ChannelAdminLogEventActionSendMessage : ChannelAdminLogEventActionClass *ChannelAdminLogEventActionSendMessage : github.com/gotd/td/bin.BareDecoder *ChannelAdminLogEventActionSendMessage : github.com/gotd/td/bin.BareEncoder *ChannelAdminLogEventActionSendMessage : github.com/gotd/td/bin.Decoder *ChannelAdminLogEventActionSendMessage : github.com/gotd/td/bin.Encoder *ChannelAdminLogEventActionSendMessage : github.com/gotd/td/bin.Object *ChannelAdminLogEventActionSendMessage : github.com/gotd/td/tdp.Object *ChannelAdminLogEventActionSendMessage : fmt.Stringer func ChannelAdminLogEventActionSendMessageArray.First() (v ChannelAdminLogEventActionSendMessage, ok bool) func ChannelAdminLogEventActionSendMessageArray.Last() (v ChannelAdminLogEventActionSendMessage, ok bool) func (*ChannelAdminLogEventActionSendMessageArray).Pop() (v ChannelAdminLogEventActionSendMessage, ok bool) func (*ChannelAdminLogEventActionSendMessageArray).PopFirst() (v ChannelAdminLogEventActionSendMessage, ok bool)
ChannelAdminLogEventActionSendMessageArray is adapter for slice of ChannelAdminLogEventActionSendMessage. First returns first element of slice (if exists). Last returns last element of slice (if exists). Pop returns last element of slice (if exists) and deletes it. PopFirst returns first element of slice (if exists) and deletes it. Retain filters in-place slice of ChannelAdminLogEventActionSendMessage. Sort sorts slice of ChannelAdminLogEventActionSendMessage. SortStable sorts slice of ChannelAdminLogEventActionSendMessage. func ChannelAdminLogEventActionClassArray.AsChannelAdminLogEventActionSendMessage() (to ChannelAdminLogEventActionSendMessageArray) func ChannelAdminLogEventActionSendMessageArray.Retain(keep func(x ChannelAdminLogEventActionSendMessage) bool) ChannelAdminLogEventActionSendMessageArray func ChannelAdminLogEventActionSendMessageArray.Sort(less func(a, b ChannelAdminLogEventActionSendMessage) bool) ChannelAdminLogEventActionSendMessageArray func ChannelAdminLogEventActionSendMessageArray.SortStable(less func(a, b ChannelAdminLogEventActionSendMessage) bool) ChannelAdminLogEventActionSendMessageArray
ChannelAdminLogEventActionStartGroupCall represents TL type `channelAdminLogEventActionStartGroupCall#23209745`. A group call was started See https://core.telegram.org/constructor/channelAdminLogEventActionStartGroupCall for reference. Group call Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. FillFrom fills ChannelAdminLogEventActionStartGroupCall from given interface. GetCall returns value of Call field. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*ChannelAdminLogEventActionStartGroupCall) Zero() bool *ChannelAdminLogEventActionStartGroupCall : ChannelAdminLogEventActionClass *ChannelAdminLogEventActionStartGroupCall : github.com/gotd/td/bin.BareDecoder *ChannelAdminLogEventActionStartGroupCall : github.com/gotd/td/bin.BareEncoder *ChannelAdminLogEventActionStartGroupCall : github.com/gotd/td/bin.Decoder *ChannelAdminLogEventActionStartGroupCall : github.com/gotd/td/bin.Encoder *ChannelAdminLogEventActionStartGroupCall : github.com/gotd/td/bin.Object *ChannelAdminLogEventActionStartGroupCall : github.com/gotd/td/tdp.Object *ChannelAdminLogEventActionStartGroupCall : fmt.Stringer func ChannelAdminLogEventActionStartGroupCallArray.First() (v ChannelAdminLogEventActionStartGroupCall, ok bool) func ChannelAdminLogEventActionStartGroupCallArray.Last() (v ChannelAdminLogEventActionStartGroupCall, ok bool) func (*ChannelAdminLogEventActionStartGroupCallArray).Pop() (v ChannelAdminLogEventActionStartGroupCall, ok bool) func (*ChannelAdminLogEventActionStartGroupCallArray).PopFirst() (v ChannelAdminLogEventActionStartGroupCall, ok bool)
ChannelAdminLogEventActionStartGroupCallArray is adapter for slice of ChannelAdminLogEventActionStartGroupCall. First returns first element of slice (if exists). Last returns last element of slice (if exists). Pop returns last element of slice (if exists) and deletes it. PopFirst returns first element of slice (if exists) and deletes it. Retain filters in-place slice of ChannelAdminLogEventActionStartGroupCall. Sort sorts slice of ChannelAdminLogEventActionStartGroupCall. SortStable sorts slice of ChannelAdminLogEventActionStartGroupCall. func ChannelAdminLogEventActionClassArray.AsChannelAdminLogEventActionStartGroupCall() (to ChannelAdminLogEventActionStartGroupCallArray) func ChannelAdminLogEventActionStartGroupCallArray.Retain(keep func(x ChannelAdminLogEventActionStartGroupCall) bool) ChannelAdminLogEventActionStartGroupCallArray func ChannelAdminLogEventActionStartGroupCallArray.Sort(less func(a, b ChannelAdminLogEventActionStartGroupCall) bool) ChannelAdminLogEventActionStartGroupCallArray func ChannelAdminLogEventActionStartGroupCallArray.SortStable(less func(a, b ChannelAdminLogEventActionStartGroupCall) bool) ChannelAdminLogEventActionStartGroupCallArray
ChannelAdminLogEventActionStopPoll represents TL type `channelAdminLogEventActionStopPoll#8f079643`. A poll was stopped See https://core.telegram.org/constructor/channelAdminLogEventActionStopPoll for reference. The message that was pinned Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. FillFrom fills ChannelAdminLogEventActionStopPoll from given interface. GetMessage returns value of Message field. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*ChannelAdminLogEventActionStopPoll) Zero() bool *ChannelAdminLogEventActionStopPoll : ChannelAdminLogEventActionClass *ChannelAdminLogEventActionStopPoll : github.com/gotd/td/bin.BareDecoder *ChannelAdminLogEventActionStopPoll : github.com/gotd/td/bin.BareEncoder *ChannelAdminLogEventActionStopPoll : github.com/gotd/td/bin.Decoder *ChannelAdminLogEventActionStopPoll : github.com/gotd/td/bin.Encoder *ChannelAdminLogEventActionStopPoll : github.com/gotd/td/bin.Object *ChannelAdminLogEventActionStopPoll : github.com/gotd/td/tdp.Object *ChannelAdminLogEventActionStopPoll : fmt.Stringer func ChannelAdminLogEventActionStopPollArray.First() (v ChannelAdminLogEventActionStopPoll, ok bool) func ChannelAdminLogEventActionStopPollArray.Last() (v ChannelAdminLogEventActionStopPoll, ok bool) func (*ChannelAdminLogEventActionStopPollArray).Pop() (v ChannelAdminLogEventActionStopPoll, ok bool) func (*ChannelAdminLogEventActionStopPollArray).PopFirst() (v ChannelAdminLogEventActionStopPoll, ok bool)
ChannelAdminLogEventActionStopPollArray is adapter for slice of ChannelAdminLogEventActionStopPoll. First returns first element of slice (if exists). Last returns last element of slice (if exists). Pop returns last element of slice (if exists) and deletes it. PopFirst returns first element of slice (if exists) and deletes it. Retain filters in-place slice of ChannelAdminLogEventActionStopPoll. Sort sorts slice of ChannelAdminLogEventActionStopPoll. SortStable sorts slice of ChannelAdminLogEventActionStopPoll. func ChannelAdminLogEventActionClassArray.AsChannelAdminLogEventActionStopPoll() (to ChannelAdminLogEventActionStopPollArray) func ChannelAdminLogEventActionStopPollArray.Retain(keep func(x ChannelAdminLogEventActionStopPoll) bool) ChannelAdminLogEventActionStopPollArray func ChannelAdminLogEventActionStopPollArray.Sort(less func(a, b ChannelAdminLogEventActionStopPoll) bool) ChannelAdminLogEventActionStopPollArray func ChannelAdminLogEventActionStopPollArray.SortStable(less func(a, b ChannelAdminLogEventActionStopPoll) bool) ChannelAdminLogEventActionStopPollArray
ChannelAdminLogEventActionToggleAntiSpam represents TL type `channelAdminLogEventActionToggleAntiSpam#64f36dfc`. Native antispam¹ functionality was enabled or disabled. Links: 1. https://core.telegram.org/api/antispam See https://core.telegram.org/constructor/channelAdminLogEventActionToggleAntiSpam for reference. New value Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. FillFrom fills ChannelAdminLogEventActionToggleAntiSpam from given interface. GetNewValue returns value of NewValue field. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*ChannelAdminLogEventActionToggleAntiSpam) Zero() bool *ChannelAdminLogEventActionToggleAntiSpam : ChannelAdminLogEventActionClass *ChannelAdminLogEventActionToggleAntiSpam : github.com/gotd/td/bin.BareDecoder *ChannelAdminLogEventActionToggleAntiSpam : github.com/gotd/td/bin.BareEncoder *ChannelAdminLogEventActionToggleAntiSpam : github.com/gotd/td/bin.Decoder *ChannelAdminLogEventActionToggleAntiSpam : github.com/gotd/td/bin.Encoder *ChannelAdminLogEventActionToggleAntiSpam : github.com/gotd/td/bin.Object *ChannelAdminLogEventActionToggleAntiSpam : github.com/gotd/td/tdp.Object *ChannelAdminLogEventActionToggleAntiSpam : fmt.Stringer func ChannelAdminLogEventActionToggleAntiSpamArray.First() (v ChannelAdminLogEventActionToggleAntiSpam, ok bool) func ChannelAdminLogEventActionToggleAntiSpamArray.Last() (v ChannelAdminLogEventActionToggleAntiSpam, ok bool) func (*ChannelAdminLogEventActionToggleAntiSpamArray).Pop() (v ChannelAdminLogEventActionToggleAntiSpam, ok bool) func (*ChannelAdminLogEventActionToggleAntiSpamArray).PopFirst() (v ChannelAdminLogEventActionToggleAntiSpam, ok bool)
ChannelAdminLogEventActionToggleAntiSpamArray is adapter for slice of ChannelAdminLogEventActionToggleAntiSpam. First returns first element of slice (if exists). Last returns last element of slice (if exists). Pop returns last element of slice (if exists) and deletes it. PopFirst returns first element of slice (if exists) and deletes it. Retain filters in-place slice of ChannelAdminLogEventActionToggleAntiSpam. Sort sorts slice of ChannelAdminLogEventActionToggleAntiSpam. SortStable sorts slice of ChannelAdminLogEventActionToggleAntiSpam. func ChannelAdminLogEventActionClassArray.AsChannelAdminLogEventActionToggleAntiSpam() (to ChannelAdminLogEventActionToggleAntiSpamArray) func ChannelAdminLogEventActionToggleAntiSpamArray.Retain(keep func(x ChannelAdminLogEventActionToggleAntiSpam) bool) ChannelAdminLogEventActionToggleAntiSpamArray func ChannelAdminLogEventActionToggleAntiSpamArray.Sort(less func(a, b ChannelAdminLogEventActionToggleAntiSpam) bool) ChannelAdminLogEventActionToggleAntiSpamArray func ChannelAdminLogEventActionToggleAntiSpamArray.SortStable(less func(a, b ChannelAdminLogEventActionToggleAntiSpam) bool) ChannelAdminLogEventActionToggleAntiSpamArray
ChannelAdminLogEventActionToggleForum represents TL type `channelAdminLogEventActionToggleForum#2cc6383`. Forum¹ functionality was enabled or disabled. Links: 1. https://core.telegram.org/api/forum See https://core.telegram.org/constructor/channelAdminLogEventActionToggleForum for reference. New value Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. FillFrom fills ChannelAdminLogEventActionToggleForum from given interface. GetNewValue returns value of NewValue field. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*ChannelAdminLogEventActionToggleForum) Zero() bool *ChannelAdminLogEventActionToggleForum : ChannelAdminLogEventActionClass *ChannelAdminLogEventActionToggleForum : github.com/gotd/td/bin.BareDecoder *ChannelAdminLogEventActionToggleForum : github.com/gotd/td/bin.BareEncoder *ChannelAdminLogEventActionToggleForum : github.com/gotd/td/bin.Decoder *ChannelAdminLogEventActionToggleForum : github.com/gotd/td/bin.Encoder *ChannelAdminLogEventActionToggleForum : github.com/gotd/td/bin.Object *ChannelAdminLogEventActionToggleForum : github.com/gotd/td/tdp.Object *ChannelAdminLogEventActionToggleForum : fmt.Stringer func ChannelAdminLogEventActionToggleForumArray.First() (v ChannelAdminLogEventActionToggleForum, ok bool) func ChannelAdminLogEventActionToggleForumArray.Last() (v ChannelAdminLogEventActionToggleForum, ok bool) func (*ChannelAdminLogEventActionToggleForumArray).Pop() (v ChannelAdminLogEventActionToggleForum, ok bool) func (*ChannelAdminLogEventActionToggleForumArray).PopFirst() (v ChannelAdminLogEventActionToggleForum, ok bool)
ChannelAdminLogEventActionToggleForumArray is adapter for slice of ChannelAdminLogEventActionToggleForum. First returns first element of slice (if exists). Last returns last element of slice (if exists). Pop returns last element of slice (if exists) and deletes it. PopFirst returns first element of slice (if exists) and deletes it. Retain filters in-place slice of ChannelAdminLogEventActionToggleForum. Sort sorts slice of ChannelAdminLogEventActionToggleForum. SortStable sorts slice of ChannelAdminLogEventActionToggleForum. func ChannelAdminLogEventActionClassArray.AsChannelAdminLogEventActionToggleForum() (to ChannelAdminLogEventActionToggleForumArray) func ChannelAdminLogEventActionToggleForumArray.Retain(keep func(x ChannelAdminLogEventActionToggleForum) bool) ChannelAdminLogEventActionToggleForumArray func ChannelAdminLogEventActionToggleForumArray.Sort(less func(a, b ChannelAdminLogEventActionToggleForum) bool) ChannelAdminLogEventActionToggleForumArray func ChannelAdminLogEventActionToggleForumArray.SortStable(less func(a, b ChannelAdminLogEventActionToggleForum) bool) ChannelAdminLogEventActionToggleForumArray
ChannelAdminLogEventActionToggleGroupCallSetting represents TL type `channelAdminLogEventActionToggleGroupCallSetting#56d6a247`. Group call settings were changed See https://core.telegram.org/constructor/channelAdminLogEventActionToggleGroupCallSetting for reference. Whether all users are muted by default upon joining Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. FillFrom fills ChannelAdminLogEventActionToggleGroupCallSetting from given interface. GetJoinMuted returns value of JoinMuted field. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*ChannelAdminLogEventActionToggleGroupCallSetting) Zero() bool *ChannelAdminLogEventActionToggleGroupCallSetting : ChannelAdminLogEventActionClass *ChannelAdminLogEventActionToggleGroupCallSetting : github.com/gotd/td/bin.BareDecoder *ChannelAdminLogEventActionToggleGroupCallSetting : github.com/gotd/td/bin.BareEncoder *ChannelAdminLogEventActionToggleGroupCallSetting : github.com/gotd/td/bin.Decoder *ChannelAdminLogEventActionToggleGroupCallSetting : github.com/gotd/td/bin.Encoder *ChannelAdminLogEventActionToggleGroupCallSetting : github.com/gotd/td/bin.Object *ChannelAdminLogEventActionToggleGroupCallSetting : github.com/gotd/td/tdp.Object *ChannelAdminLogEventActionToggleGroupCallSetting : fmt.Stringer func ChannelAdminLogEventActionToggleGroupCallSettingArray.First() (v ChannelAdminLogEventActionToggleGroupCallSetting, ok bool) func ChannelAdminLogEventActionToggleGroupCallSettingArray.Last() (v ChannelAdminLogEventActionToggleGroupCallSetting, ok bool) func (*ChannelAdminLogEventActionToggleGroupCallSettingArray).Pop() (v ChannelAdminLogEventActionToggleGroupCallSetting, ok bool) func (*ChannelAdminLogEventActionToggleGroupCallSettingArray).PopFirst() (v ChannelAdminLogEventActionToggleGroupCallSetting, ok bool)
ChannelAdminLogEventActionToggleGroupCallSettingArray is adapter for slice of ChannelAdminLogEventActionToggleGroupCallSetting. First returns first element of slice (if exists). Last returns last element of slice (if exists). Pop returns last element of slice (if exists) and deletes it. PopFirst returns first element of slice (if exists) and deletes it. Retain filters in-place slice of ChannelAdminLogEventActionToggleGroupCallSetting. Sort sorts slice of ChannelAdminLogEventActionToggleGroupCallSetting. SortStable sorts slice of ChannelAdminLogEventActionToggleGroupCallSetting. func ChannelAdminLogEventActionClassArray.AsChannelAdminLogEventActionToggleGroupCallSetting() (to ChannelAdminLogEventActionToggleGroupCallSettingArray) func ChannelAdminLogEventActionToggleGroupCallSettingArray.Retain(keep func(x ChannelAdminLogEventActionToggleGroupCallSetting) bool) ChannelAdminLogEventActionToggleGroupCallSettingArray func ChannelAdminLogEventActionToggleGroupCallSettingArray.Sort(less func(a, b ChannelAdminLogEventActionToggleGroupCallSetting) bool) ChannelAdminLogEventActionToggleGroupCallSettingArray func ChannelAdminLogEventActionToggleGroupCallSettingArray.SortStable(less func(a, b ChannelAdminLogEventActionToggleGroupCallSetting) bool) ChannelAdminLogEventActionToggleGroupCallSettingArray
ChannelAdminLogEventActionToggleInvites represents TL type `channelAdminLogEventActionToggleInvites#1b7907ae`. Invites were enabled/disabled See https://core.telegram.org/constructor/channelAdminLogEventActionToggleInvites for reference. New value Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. FillFrom fills ChannelAdminLogEventActionToggleInvites from given interface. GetNewValue returns value of NewValue field. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*ChannelAdminLogEventActionToggleInvites) Zero() bool *ChannelAdminLogEventActionToggleInvites : ChannelAdminLogEventActionClass *ChannelAdminLogEventActionToggleInvites : github.com/gotd/td/bin.BareDecoder *ChannelAdminLogEventActionToggleInvites : github.com/gotd/td/bin.BareEncoder *ChannelAdminLogEventActionToggleInvites : github.com/gotd/td/bin.Decoder *ChannelAdminLogEventActionToggleInvites : github.com/gotd/td/bin.Encoder *ChannelAdminLogEventActionToggleInvites : github.com/gotd/td/bin.Object *ChannelAdminLogEventActionToggleInvites : github.com/gotd/td/tdp.Object *ChannelAdminLogEventActionToggleInvites : fmt.Stringer func ChannelAdminLogEventActionToggleInvitesArray.First() (v ChannelAdminLogEventActionToggleInvites, ok bool) func ChannelAdminLogEventActionToggleInvitesArray.Last() (v ChannelAdminLogEventActionToggleInvites, ok bool) func (*ChannelAdminLogEventActionToggleInvitesArray).Pop() (v ChannelAdminLogEventActionToggleInvites, ok bool) func (*ChannelAdminLogEventActionToggleInvitesArray).PopFirst() (v ChannelAdminLogEventActionToggleInvites, ok bool)
ChannelAdminLogEventActionToggleInvitesArray is adapter for slice of ChannelAdminLogEventActionToggleInvites. First returns first element of slice (if exists). Last returns last element of slice (if exists). Pop returns last element of slice (if exists) and deletes it. PopFirst returns first element of slice (if exists) and deletes it. Retain filters in-place slice of ChannelAdminLogEventActionToggleInvites. Sort sorts slice of ChannelAdminLogEventActionToggleInvites. SortStable sorts slice of ChannelAdminLogEventActionToggleInvites. func ChannelAdminLogEventActionClassArray.AsChannelAdminLogEventActionToggleInvites() (to ChannelAdminLogEventActionToggleInvitesArray) func ChannelAdminLogEventActionToggleInvitesArray.Retain(keep func(x ChannelAdminLogEventActionToggleInvites) bool) ChannelAdminLogEventActionToggleInvitesArray func ChannelAdminLogEventActionToggleInvitesArray.Sort(less func(a, b ChannelAdminLogEventActionToggleInvites) bool) ChannelAdminLogEventActionToggleInvitesArray func ChannelAdminLogEventActionToggleInvitesArray.SortStable(less func(a, b ChannelAdminLogEventActionToggleInvites) bool) ChannelAdminLogEventActionToggleInvitesArray
ChannelAdminLogEventActionToggleNoForwards represents TL type `channelAdminLogEventActionToggleNoForwards#cb2ac766`. Forwards were enabled or disabled See https://core.telegram.org/constructor/channelAdminLogEventActionToggleNoForwards for reference. New value Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. FillFrom fills ChannelAdminLogEventActionToggleNoForwards from given interface. GetNewValue returns value of NewValue field. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*ChannelAdminLogEventActionToggleNoForwards) Zero() bool *ChannelAdminLogEventActionToggleNoForwards : ChannelAdminLogEventActionClass *ChannelAdminLogEventActionToggleNoForwards : github.com/gotd/td/bin.BareDecoder *ChannelAdminLogEventActionToggleNoForwards : github.com/gotd/td/bin.BareEncoder *ChannelAdminLogEventActionToggleNoForwards : github.com/gotd/td/bin.Decoder *ChannelAdminLogEventActionToggleNoForwards : github.com/gotd/td/bin.Encoder *ChannelAdminLogEventActionToggleNoForwards : github.com/gotd/td/bin.Object *ChannelAdminLogEventActionToggleNoForwards : github.com/gotd/td/tdp.Object *ChannelAdminLogEventActionToggleNoForwards : fmt.Stringer func ChannelAdminLogEventActionToggleNoForwardsArray.First() (v ChannelAdminLogEventActionToggleNoForwards, ok bool) func ChannelAdminLogEventActionToggleNoForwardsArray.Last() (v ChannelAdminLogEventActionToggleNoForwards, ok bool) func (*ChannelAdminLogEventActionToggleNoForwardsArray).Pop() (v ChannelAdminLogEventActionToggleNoForwards, ok bool) func (*ChannelAdminLogEventActionToggleNoForwardsArray).PopFirst() (v ChannelAdminLogEventActionToggleNoForwards, ok bool)
ChannelAdminLogEventActionToggleNoForwardsArray is adapter for slice of ChannelAdminLogEventActionToggleNoForwards. First returns first element of slice (if exists). Last returns last element of slice (if exists). Pop returns last element of slice (if exists) and deletes it. PopFirst returns first element of slice (if exists) and deletes it. Retain filters in-place slice of ChannelAdminLogEventActionToggleNoForwards. Sort sorts slice of ChannelAdminLogEventActionToggleNoForwards. SortStable sorts slice of ChannelAdminLogEventActionToggleNoForwards. func ChannelAdminLogEventActionClassArray.AsChannelAdminLogEventActionToggleNoForwards() (to ChannelAdminLogEventActionToggleNoForwardsArray) func ChannelAdminLogEventActionToggleNoForwardsArray.Retain(keep func(x ChannelAdminLogEventActionToggleNoForwards) bool) ChannelAdminLogEventActionToggleNoForwardsArray func ChannelAdminLogEventActionToggleNoForwardsArray.Sort(less func(a, b ChannelAdminLogEventActionToggleNoForwards) bool) ChannelAdminLogEventActionToggleNoForwardsArray func ChannelAdminLogEventActionToggleNoForwardsArray.SortStable(less func(a, b ChannelAdminLogEventActionToggleNoForwards) bool) ChannelAdminLogEventActionToggleNoForwardsArray
ChannelAdminLogEventActionTogglePreHistoryHidden represents TL type `channelAdminLogEventActionTogglePreHistoryHidden#5f5c95f1`. The hidden prehistory setting was changed¹ Links: 1. https://core.telegram.org/method/channels.togglePreHistoryHidden See https://core.telegram.org/constructor/channelAdminLogEventActionTogglePreHistoryHidden for reference. New value Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. FillFrom fills ChannelAdminLogEventActionTogglePreHistoryHidden from given interface. GetNewValue returns value of NewValue field. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*ChannelAdminLogEventActionTogglePreHistoryHidden) Zero() bool *ChannelAdminLogEventActionTogglePreHistoryHidden : ChannelAdminLogEventActionClass *ChannelAdminLogEventActionTogglePreHistoryHidden : github.com/gotd/td/bin.BareDecoder *ChannelAdminLogEventActionTogglePreHistoryHidden : github.com/gotd/td/bin.BareEncoder *ChannelAdminLogEventActionTogglePreHistoryHidden : github.com/gotd/td/bin.Decoder *ChannelAdminLogEventActionTogglePreHistoryHidden : github.com/gotd/td/bin.Encoder *ChannelAdminLogEventActionTogglePreHistoryHidden : github.com/gotd/td/bin.Object *ChannelAdminLogEventActionTogglePreHistoryHidden : github.com/gotd/td/tdp.Object *ChannelAdminLogEventActionTogglePreHistoryHidden : fmt.Stringer func ChannelAdminLogEventActionTogglePreHistoryHiddenArray.First() (v ChannelAdminLogEventActionTogglePreHistoryHidden, ok bool) func ChannelAdminLogEventActionTogglePreHistoryHiddenArray.Last() (v ChannelAdminLogEventActionTogglePreHistoryHidden, ok bool) func (*ChannelAdminLogEventActionTogglePreHistoryHiddenArray).Pop() (v ChannelAdminLogEventActionTogglePreHistoryHidden, ok bool) func (*ChannelAdminLogEventActionTogglePreHistoryHiddenArray).PopFirst() (v ChannelAdminLogEventActionTogglePreHistoryHidden, ok bool)
ChannelAdminLogEventActionTogglePreHistoryHiddenArray is adapter for slice of ChannelAdminLogEventActionTogglePreHistoryHidden. First returns first element of slice (if exists). Last returns last element of slice (if exists). Pop returns last element of slice (if exists) and deletes it. PopFirst returns first element of slice (if exists) and deletes it. Retain filters in-place slice of ChannelAdminLogEventActionTogglePreHistoryHidden. Sort sorts slice of ChannelAdminLogEventActionTogglePreHistoryHidden. SortStable sorts slice of ChannelAdminLogEventActionTogglePreHistoryHidden. func ChannelAdminLogEventActionClassArray.AsChannelAdminLogEventActionTogglePreHistoryHidden() (to ChannelAdminLogEventActionTogglePreHistoryHiddenArray) func ChannelAdminLogEventActionTogglePreHistoryHiddenArray.Retain(keep func(x ChannelAdminLogEventActionTogglePreHistoryHidden) bool) ChannelAdminLogEventActionTogglePreHistoryHiddenArray func ChannelAdminLogEventActionTogglePreHistoryHiddenArray.Sort(less func(a, b ChannelAdminLogEventActionTogglePreHistoryHidden) bool) ChannelAdminLogEventActionTogglePreHistoryHiddenArray func ChannelAdminLogEventActionTogglePreHistoryHiddenArray.SortStable(less func(a, b ChannelAdminLogEventActionTogglePreHistoryHidden) bool) ChannelAdminLogEventActionTogglePreHistoryHiddenArray
ChannelAdminLogEventActionToggleSignatures represents TL type `channelAdminLogEventActionToggleSignatures#26ae0971`. Channel signatures were enabled/disabled See https://core.telegram.org/constructor/channelAdminLogEventActionToggleSignatures for reference. New value Decode implements bin.Decoder. DecodeBare implements bin.BareDecoder. Encode implements bin.Encoder. EncodeBare implements bin.BareEncoder. FillFrom fills ChannelAdminLogEventActionToggleSignatures from given interface. GetNewValue returns value of NewValue field. String implements fmt.Stringer. TypeID returns type id in TL schema. See https://core.telegram.org/mtproto/TL-tl#remarks. TypeInfo returns info about TL type. TypeName returns name of type in TL schema. (*ChannelAdminLogEventActionToggleSignatures) Zero() bool *ChannelAdminLogEventActionToggleSignatures : ChannelAdminLogEventActionClass *ChannelAdminLogEventActionToggleSignatures : github.com/gotd/td/bin.BareDecoder *ChannelAdminLogEventActionToggleSignatures : github.com/gotd/td/bin.BareEncoder *ChannelAdminLogEventActionToggleSignatures : github.com/gotd/td/bin.Decoder *ChannelAdminLogEventActionToggleSignatures : github.com/gotd/td/bin.Encoder *ChannelAdminLogEventActionToggleSignatures : github.com/gotd/td/bin.Object *ChannelAdminLogEventActionToggleSignatures : github.com/gotd/td/tdp.Object *ChannelAdminLogEventActionToggleSignatures : fmt.Stringer func ChannelAdminLogEventActionToggleSignaturesArray.First() (v ChannelAdminLogEventActionToggleSignatures, ok bool) func ChannelAdminLogEventActionToggleSignaturesArray.Last() (v ChannelAdminLogEventActionToggleSignatures, ok bool) func (*ChannelAdminLogEventActionToggleSignaturesArray).Pop() (v ChannelAdminLogEventActionToggleSignatures, ok bool) func (*ChannelAdminLogEventActionToggleSignaturesArray).PopFirst() (v ChannelAdminLogEventActionToggleSignatures, ok bool)
ChannelAdminLogEventActionToggleSignaturesArray is adapter for slice of ChannelAdminLogEventActionToggleSignatures. First returns first element of slice (if exists).