Constructor: stats.megagroupStats

Back to constructors index

Attributes:

Name Type Required
period StatsDateRangeDays Yes
members StatsAbsValueAndPrev Yes
messages StatsAbsValueAndPrev Yes
viewers StatsAbsValueAndPrev Yes
posters StatsAbsValueAndPrev Yes
growth_graph StatsGraph Yes
members_graph StatsGraph Yes
new_members_by_source_graph StatsGraph Yes
languages_graph StatsGraph Yes
messages_graph StatsGraph Yes
actions_graph StatsGraph Yes
top_hours_graph StatsGraph Yes
weekdays_graph StatsGraph Yes
top_posters Array of StatsGroupTopPoster Yes
top_admins Array of StatsGroupTopAdmin Yes
top_inviters Array of StatsGroupTopInviter Yes
users Array of User Yes

Type: stats.MegagroupStats

Example:

$stats.megagroupStats = ['_' => 'stats.megagroupStats', 'period' => StatsDateRangeDays, 'members' => StatsAbsValueAndPrev, 'messages' => StatsAbsValueAndPrev, 'viewers' => StatsAbsValueAndPrev, 'posters' => StatsAbsValueAndPrev, 'growth_graph' => StatsGraph, 'members_graph' => StatsGraph, 'new_members_by_source_graph' => StatsGraph, 'languages_graph' => StatsGraph, 'messages_graph' => StatsGraph, 'actions_graph' => StatsGraph, 'top_hours_graph' => StatsGraph, 'weekdays_graph' => StatsGraph, 'top_posters' => [StatsGroupTopPoster, StatsGroupTopPoster], 'top_admins' => [StatsGroupTopAdmin, StatsGroupTopAdmin], 'top_inviters' => [StatsGroupTopInviter, StatsGroupTopInviter], 'users' => [User, User]];

Or, if you’re into Lua:

stats.megagroupStats={_='stats.megagroupStats', period=StatsDateRangeDays, members=StatsAbsValueAndPrev, messages=StatsAbsValueAndPrev, viewers=StatsAbsValueAndPrev, posters=StatsAbsValueAndPrev, growth_graph=StatsGraph, members_graph=StatsGraph, new_members_by_source_graph=StatsGraph, languages_graph=StatsGraph, messages_graph=StatsGraph, actions_graph=StatsGraph, top_hours_graph=StatsGraph, weekdays_graph=StatsGraph, top_posters={StatsGroupTopPoster}, top_admins={StatsGroupTopAdmin}, top_inviters={StatsGroupTopInviter}, users={User}}

This site uses cookies, as described in the cookie policy. By clicking on "Accept" you consent to the use of cookies.