Update docs
This commit is contained in:
parent
eb43707118
commit
979d7575fc
@ -21,6 +21,12 @@ namespace danog\MadelineProto;
|
||||
|
||||
class APIFactory extends AbstractAPIFactory
|
||||
{
|
||||
/**
|
||||
* @internal this is a internal property generated by build_docs.php, don't change manually
|
||||
*
|
||||
* @var stats
|
||||
*/
|
||||
public $stats;
|
||||
/**
|
||||
* @internal this is a internal property generated by build_docs.php, don't change manually
|
||||
*
|
||||
|
@ -2906,6 +2906,45 @@ interface messages
|
||||
* @return bool
|
||||
*/
|
||||
public function toggleStickerSets($params);
|
||||
|
||||
/**
|
||||
*
|
||||
*
|
||||
* @return of DialogFilter[]
|
||||
*/
|
||||
public function getDialogFilters();
|
||||
|
||||
/**
|
||||
*
|
||||
*
|
||||
* @return of DialogFilterSuggested[]
|
||||
*/
|
||||
public function getSuggestedDialogFilters();
|
||||
|
||||
/**
|
||||
*
|
||||
*
|
||||
* Parameters:
|
||||
* * `int` **id** -
|
||||
* * `DialogFilter` **filter** - Optional:.
|
||||
*
|
||||
* @param array $params Parameters
|
||||
*
|
||||
* @return bool
|
||||
*/
|
||||
public function updateDialogFilter($params);
|
||||
|
||||
/**
|
||||
*
|
||||
*
|
||||
* Parameters:
|
||||
* * `[int]` **order** -.
|
||||
*
|
||||
* @param array $params Parameters
|
||||
*
|
||||
* @return bool
|
||||
*/
|
||||
public function updateDialogFiltersOrder($params);
|
||||
}
|
||||
|
||||
interface updates
|
||||
@ -4146,6 +4185,35 @@ interface folders
|
||||
public function deleteFolder($params);
|
||||
}
|
||||
|
||||
interface stats
|
||||
{
|
||||
/**
|
||||
*
|
||||
*
|
||||
* Parameters:
|
||||
* * `boolean` **dark** - Optional:
|
||||
* * `InputChannel` **channel** -.
|
||||
*
|
||||
* @param array $params Parameters
|
||||
*
|
||||
* @return stats.BroadcastStats
|
||||
*/
|
||||
public function getBroadcastStats($params);
|
||||
|
||||
/**
|
||||
*
|
||||
*
|
||||
* Parameters:
|
||||
* * `string` **token** -
|
||||
* * `long` **x** - Optional:.
|
||||
*
|
||||
* @param array $params Parameters
|
||||
*
|
||||
* @return StatsGraph
|
||||
*/
|
||||
public function loadAsyncGraph($params);
|
||||
}
|
||||
|
||||
class InternalDoc extends APIFactory
|
||||
{
|
||||
/**
|
||||
|
@ -5753,6 +5753,87 @@ Contains the reason why access to a certain object must be restricted. Clients a
|
||||
'object_payments.bankCardData' => '',
|
||||
'object_payments.bankCardData_param_title_type_string' => '',
|
||||
'object_payments.bankCardData_param_open_urls_type_Vector t' => '',
|
||||
'method_messages.getDialogFilters' => '',
|
||||
'method_messages.getSuggestedDialogFilters' => '',
|
||||
'method_messages.updateDialogFilter' => '',
|
||||
'method_messages.updateDialogFilter_param_id_type_int' => '',
|
||||
'method_messages.updateDialogFilter_param_filter_type_DialogFilter' => '',
|
||||
'method_messages.updateDialogFiltersOrder' => '',
|
||||
'method_messages.updateDialogFiltersOrder_param_order_type_Vector t' => '',
|
||||
'method_stats.getBroadcastStats' => '',
|
||||
'method_stats.getBroadcastStats_param_dark_type_true' => '',
|
||||
'method_stats.getBroadcastStats_param_channel_type_InputChannel' => '',
|
||||
'method_stats.loadAsyncGraph' => '',
|
||||
'method_stats.loadAsyncGraph_param_token_type_string' => '',
|
||||
'method_stats.loadAsyncGraph_param_x_type_long' => '',
|
||||
'object_inputMediaDice' => '',
|
||||
'object_channelFull_param_stats_dc_type_int' => '',
|
||||
'object_messageMediaDice' => '',
|
||||
'object_messageMediaDice_param_value_type_int' => '',
|
||||
'object_updateDialogFilter' => '',
|
||||
'object_updateDialogFilter_param_id_type_int' => '',
|
||||
'object_updateDialogFilter_param_filter_type_DialogFilter' => '',
|
||||
'object_updateDialogFilterOrder' => '',
|
||||
'object_updateDialogFilterOrder_param_order_type_Vector t' => '',
|
||||
'object_updateDialogFilters' => '',
|
||||
'object_webPageNotModified_param_cached_page_views_type_int' => '',
|
||||
'object_inputStickerSetDice' => '',
|
||||
'object_phoneCallProtocol_param_library_versions_type_Vector t' => '',
|
||||
'object_page_param_views_type_int' => '',
|
||||
'object_dialogFilter' => '',
|
||||
'object_dialogFilter_param_contacts_type_true' => '',
|
||||
'object_dialogFilter_param_non_contacts_type_true' => '',
|
||||
'object_dialogFilter_param_groups_type_true' => '',
|
||||
'object_dialogFilter_param_broadcasts_type_true' => '',
|
||||
'object_dialogFilter_param_bots_type_true' => '',
|
||||
'object_dialogFilter_param_exclude_muted_type_true' => '',
|
||||
'object_dialogFilter_param_exclude_read_type_true' => '',
|
||||
'object_dialogFilter_param_exclude_archived_type_true' => '',
|
||||
'object_dialogFilter_param_id_type_int' => '',
|
||||
'object_dialogFilter_param_title_type_string' => '',
|
||||
'object_dialogFilter_param_emoticon_type_string' => '',
|
||||
'object_dialogFilter_param_pinned_peers_type_Vector t' => '',
|
||||
'object_dialogFilter_param_include_peers_type_Vector t' => '',
|
||||
'object_dialogFilter_param_exclude_peers_type_Vector t' => '',
|
||||
'object_dialogFilterSuggested' => '',
|
||||
'object_dialogFilterSuggested_param_filter_type_DialogFilter' => '',
|
||||
'object_dialogFilterSuggested_param_description_type_string' => '',
|
||||
'object_statsDateRangeDays' => '',
|
||||
'object_statsDateRangeDays_param_min_date_type_int' => '',
|
||||
'object_statsDateRangeDays_param_max_date_type_int' => '',
|
||||
'object_statsAbsValueAndPrev' => '',
|
||||
'object_statsAbsValueAndPrev_param_current_type_double' => '',
|
||||
'object_statsAbsValueAndPrev_param_previous_type_double' => '',
|
||||
'object_statsPercentValue' => '',
|
||||
'object_statsPercentValue_param_part_type_double' => '',
|
||||
'object_statsPercentValue_param_total_type_double' => '',
|
||||
'object_statsGraphAsync' => '',
|
||||
'object_statsGraphAsync_param_token_type_string' => '',
|
||||
'object_statsGraphError' => '',
|
||||
'object_statsGraphError_param_error_type_string' => '',
|
||||
'object_statsGraph' => '',
|
||||
'object_statsGraph_param_json_type_DataJSON' => '',
|
||||
'object_statsGraph_param_zoom_token_type_string' => '',
|
||||
'object_messageInteractionCounters' => '',
|
||||
'object_messageInteractionCounters_param_msg_id_type_int' => '',
|
||||
'object_messageInteractionCounters_param_views_type_int' => '',
|
||||
'object_messageInteractionCounters_param_forwards_type_int' => '',
|
||||
'object_stats.broadcastStats' => '',
|
||||
'object_stats.broadcastStats_param_period_type_StatsDateRangeDays' => '',
|
||||
'object_stats.broadcastStats_param_followers_type_StatsAbsValueAndPrev' => '',
|
||||
'object_stats.broadcastStats_param_views_per_post_type_StatsAbsValueAndPrev' => '',
|
||||
'object_stats.broadcastStats_param_shares_per_post_type_StatsAbsValueAndPrev' => '',
|
||||
'object_stats.broadcastStats_param_enabled_notifications_type_StatsPercentValue' => '',
|
||||
'object_stats.broadcastStats_param_growth_graph_type_StatsGraph' => '',
|
||||
'object_stats.broadcastStats_param_followers_graph_type_StatsGraph' => '',
|
||||
'object_stats.broadcastStats_param_mute_graph_type_StatsGraph' => '',
|
||||
'object_stats.broadcastStats_param_top_hours_graph_type_StatsGraph' => '',
|
||||
'object_stats.broadcastStats_param_interactions_graph_type_StatsGraph' => '',
|
||||
'object_stats.broadcastStats_param_iv_interactions_graph_type_StatsGraph' => '',
|
||||
'object_stats.broadcastStats_param_views_by_source_graph_type_StatsGraph' => '',
|
||||
'object_stats.broadcastStats_param_new_followers_by_source_graph_type_StatsGraph' => '',
|
||||
'object_stats.broadcastStats_param_languages_graph_type_StatsGraph' => '',
|
||||
'object_stats.broadcastStats_param_recent_message_interactions_type_Vector t' => '',
|
||||
],
|
||||
];
|
||||
|
||||
@ -11347,5 +11428,86 @@ Contains the reason why access to a certain object must be restricted. Clients a
|
||||
'object_payments.bankCardData' => '',
|
||||
'object_payments.bankCardData_param_title_type_string' => '',
|
||||
'object_payments.bankCardData_param_open_urls_type_Vector t' => '',
|
||||
'method_messages.getDialogFilters' => '',
|
||||
'method_messages.getSuggestedDialogFilters' => '',
|
||||
'method_messages.updateDialogFilter' => '',
|
||||
'method_messages.updateDialogFilter_param_id_type_int' => '',
|
||||
'method_messages.updateDialogFilter_param_filter_type_DialogFilter' => '',
|
||||
'method_messages.updateDialogFiltersOrder' => '',
|
||||
'method_messages.updateDialogFiltersOrder_param_order_type_Vector t' => '',
|
||||
'method_stats.getBroadcastStats' => '',
|
||||
'method_stats.getBroadcastStats_param_dark_type_true' => '',
|
||||
'method_stats.getBroadcastStats_param_channel_type_InputChannel' => '',
|
||||
'method_stats.loadAsyncGraph' => '',
|
||||
'method_stats.loadAsyncGraph_param_token_type_string' => '',
|
||||
'method_stats.loadAsyncGraph_param_x_type_long' => '',
|
||||
'object_inputMediaDice' => '',
|
||||
'object_channelFull_param_stats_dc_type_int' => '',
|
||||
'object_messageMediaDice' => '',
|
||||
'object_messageMediaDice_param_value_type_int' => '',
|
||||
'object_updateDialogFilter' => '',
|
||||
'object_updateDialogFilter_param_id_type_int' => '',
|
||||
'object_updateDialogFilter_param_filter_type_DialogFilter' => '',
|
||||
'object_updateDialogFilterOrder' => '',
|
||||
'object_updateDialogFilterOrder_param_order_type_Vector t' => '',
|
||||
'object_updateDialogFilters' => '',
|
||||
'object_webPageNotModified_param_cached_page_views_type_int' => '',
|
||||
'object_inputStickerSetDice' => '',
|
||||
'object_phoneCallProtocol_param_library_versions_type_Vector t' => '',
|
||||
'object_page_param_views_type_int' => '',
|
||||
'object_dialogFilter' => '',
|
||||
'object_dialogFilter_param_contacts_type_true' => '',
|
||||
'object_dialogFilter_param_non_contacts_type_true' => '',
|
||||
'object_dialogFilter_param_groups_type_true' => '',
|
||||
'object_dialogFilter_param_broadcasts_type_true' => '',
|
||||
'object_dialogFilter_param_bots_type_true' => '',
|
||||
'object_dialogFilter_param_exclude_muted_type_true' => '',
|
||||
'object_dialogFilter_param_exclude_read_type_true' => '',
|
||||
'object_dialogFilter_param_exclude_archived_type_true' => '',
|
||||
'object_dialogFilter_param_id_type_int' => '',
|
||||
'object_dialogFilter_param_title_type_string' => '',
|
||||
'object_dialogFilter_param_emoticon_type_string' => '',
|
||||
'object_dialogFilter_param_pinned_peers_type_Vector t' => '',
|
||||
'object_dialogFilter_param_include_peers_type_Vector t' => '',
|
||||
'object_dialogFilter_param_exclude_peers_type_Vector t' => '',
|
||||
'object_dialogFilterSuggested' => '',
|
||||
'object_dialogFilterSuggested_param_filter_type_DialogFilter' => '',
|
||||
'object_dialogFilterSuggested_param_description_type_string' => '',
|
||||
'object_statsDateRangeDays' => '',
|
||||
'object_statsDateRangeDays_param_min_date_type_int' => '',
|
||||
'object_statsDateRangeDays_param_max_date_type_int' => '',
|
||||
'object_statsAbsValueAndPrev' => '',
|
||||
'object_statsAbsValueAndPrev_param_current_type_double' => '',
|
||||
'object_statsAbsValueAndPrev_param_previous_type_double' => '',
|
||||
'object_statsPercentValue' => '',
|
||||
'object_statsPercentValue_param_part_type_double' => '',
|
||||
'object_statsPercentValue_param_total_type_double' => '',
|
||||
'object_statsGraphAsync' => '',
|
||||
'object_statsGraphAsync_param_token_type_string' => '',
|
||||
'object_statsGraphError' => '',
|
||||
'object_statsGraphError_param_error_type_string' => '',
|
||||
'object_statsGraph' => '',
|
||||
'object_statsGraph_param_json_type_DataJSON' => '',
|
||||
'object_statsGraph_param_zoom_token_type_string' => '',
|
||||
'object_messageInteractionCounters' => '',
|
||||
'object_messageInteractionCounters_param_msg_id_type_int' => '',
|
||||
'object_messageInteractionCounters_param_views_type_int' => '',
|
||||
'object_messageInteractionCounters_param_forwards_type_int' => '',
|
||||
'object_stats.broadcastStats' => '',
|
||||
'object_stats.broadcastStats_param_period_type_StatsDateRangeDays' => '',
|
||||
'object_stats.broadcastStats_param_followers_type_StatsAbsValueAndPrev' => '',
|
||||
'object_stats.broadcastStats_param_views_per_post_type_StatsAbsValueAndPrev' => '',
|
||||
'object_stats.broadcastStats_param_shares_per_post_type_StatsAbsValueAndPrev' => '',
|
||||
'object_stats.broadcastStats_param_enabled_notifications_type_StatsPercentValue' => '',
|
||||
'object_stats.broadcastStats_param_growth_graph_type_StatsGraph' => '',
|
||||
'object_stats.broadcastStats_param_followers_graph_type_StatsGraph' => '',
|
||||
'object_stats.broadcastStats_param_mute_graph_type_StatsGraph' => '',
|
||||
'object_stats.broadcastStats_param_top_hours_graph_type_StatsGraph' => '',
|
||||
'object_stats.broadcastStats_param_interactions_graph_type_StatsGraph' => '',
|
||||
'object_stats.broadcastStats_param_iv_interactions_graph_type_StatsGraph' => '',
|
||||
'object_stats.broadcastStats_param_views_by_source_graph_type_StatsGraph' => '',
|
||||
'object_stats.broadcastStats_param_new_followers_by_source_graph_type_StatsGraph' => '',
|
||||
'object_stats.broadcastStats_param_languages_graph_type_StatsGraph' => '',
|
||||
'object_stats.broadcastStats_param_recent_message_interactions_type_Vector t' => '',
|
||||
];
|
||||
}
|
||||
|
@ -71,7 +71,9 @@ class SeqLoop extends ResumableSignalLoop
|
||||
\reset($this->pendingWakeups);
|
||||
$channelId = \key($this->pendingWakeups);
|
||||
unset($this->pendingWakeups[$channelId]);
|
||||
if (isset($this->API->feeders[$channelId])) $this->API->feeders[$channelId]->resume();
|
||||
if (isset($this->API->feeders[$channelId])) {
|
||||
$this->API->feeders[$channelId]->resume();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user