Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/mtkruto/tl/2_types.ts>stats_MegagroupStats_

Cross-runtime JavaScript library for building Telegram clients
Go to Latest
class stats_MegagroupStats_
extends _stats_MegagroupStats_
import { stats_MegagroupStats_ } from "https://deno.land/x/mtkruto@0.1.190/tl/2_types.ts";

Supergroup statistics

Constructors

new
stats_MegagroupStats_(params: { period: enums.StatsDateRangeDays; members: enums.StatsAbsValueAndPrev; messages: enums.StatsAbsValueAndPrev; viewers: enums.StatsAbsValueAndPrev; posters: enums.StatsAbsValueAndPrev; growth_graph: enums.StatsGraph; members_graph: enums.StatsGraph; new_members_by_source_graph: enums.StatsGraph; languages_graph: enums.StatsGraph; messages_graph: enums.StatsGraph; actions_graph: enums.StatsGraph; top_hours_graph: enums.StatsGraph; weekdays_graph: enums.StatsGraph; top_posters: Array<enums.StatsGroupTopPoster>; top_admins: Array<enums.StatsGroupTopAdmin>; top_inviters: Array<enums.StatsGroupTopInviter>; users: Array<enums.User>; })

Properties

protected
readonly
[id]: number
protected
readonly
[params]: Params
actions_graph: enums.StatsGraph

Group activity graph (deleted, modified messages, blocked users)

growth_graph: enums.StatsGraph

Supergroup growth graph (absolute subscriber count)

languages_graph: enums.StatsGraph

Subscriber language graph (pie chart)

members: enums.StatsAbsValueAndPrev

Member count change for period in consideration

members_graph: enums.StatsGraph

Members growth (relative subscriber count)

messages: enums.StatsAbsValueAndPrev

Message number change for period in consideration

messages_graph: enums.StatsGraph

Message activity graph (stacked bar graph, message type)

new_members_by_source_graph: enums.StatsGraph

New members by source graph

period: enums.StatsDateRangeDays

Period in consideration

posters: enums.StatsAbsValueAndPrev

Number of users that posted messages, for range in consideration

top_admins: Array<enums.StatsGroupTopAdmin>

Info about most active group admins

top_hours_graph: enums.StatsGraph

Activity per hour graph (absolute)

top_inviters: Array<enums.StatsGroupTopInviter>

Info about most active group inviters

top_posters: Array<enums.StatsGroupTopPoster>

Info about most active group members

users: Array<enums.User>

Info about users mentioned in statistics

viewers: enums.StatsAbsValueAndPrev

Number of users that viewed messages, for range in consideration

weekdays_graph: enums.StatsGraph

Activity per day of week graph (absolute)

Static Properties

readonly
[name]: string
readonly
[paramDesc]: ParamDesc