Module stats

Source
Expand description

Delta Chat has an advanced option “Send statistics to the developers of Delta Chat”. If this is enabled, a JSON file with some anonymous statistics will be sent to a bot once a week.

Structs§

ContactStat 🔒
JoinedInvite 🔒
Some information on an invite-joining event (i.e. a qr scan or a clicked link).
MessageStats 🔒
SecurejoinSources 🔒
SecurejoinUiPaths 🔒
Statistics 🔒

Enums§

SecurejoinSource
Where a securejoin invite link or QR code came from. This is only used if the user enabled StatsSending.
SecurejoinUiPath
How the user opened the QR activity in order scan a QR code on Android. This is only used if the user enabled StatsSending.
VerifiedStatus 🔒

Constants§

MESSAGE_STATS_UPDATE_INTERVAL_SECONDS 🔒
SENDING_INTERVAL_SECONDS 🔒
STATISTICS_BOT_EMAIL 🔒
STATISTICS_BOT_VCARD 🔒

Functions§

count_securejoin_invite 🔒
count_securejoin_ux_info 🔒
ensure_last_old_contact_id 🔒
get_contact_stats 🔒
get_message_stats 🔒
last_msg_id: The last msg_id that was already counted in the previous stats. Only messages newer than that will be counted.one_one_chats: If true, only messages in 1:1 chats are counted. If false, only messages in other chats (groups and broadcast channels) are counted.
get_securejoin_invite_stats 🔒
get_securejoin_source_stats 🔒
get_securejoin_uipath_stats 🔒
get_stats 🔒
get_stats_chat_id 🔒
get_timestamps 🔒
is_false 🔒
maybe_send_stats
Sends a message with statistics about the usage of Delta Chat, if the last time such a message was sent was more than a week ago.
maybe_update_message_stats 🔒
pre_sending_config_change 🔒
send_stats 🔒
set_last_counted_msg_id 🔒
should_send_stats 🔒
stats_id 🔒
time_has_passed 🔒
update_message_stats 🔒
update_message_stats_inner 🔒