Skip to content

stats.getMegagroupStats

stats.getMegagroupStats#dcdf8607 flags:# dark:flags.0?true channel:InputChannel = stats.MegagroupStats;

stats.MegagroupStats

Name Type Flag Default Description
flags # flag word —
dark flags.0?true flags.0 —
channel InputChannel — —
Parameter Bit Meaning
dark 0 Controlled by flags; present when this bit is set.
from miniproto.raw.functions import StatsGetMegagroupStats

Public access: miniproto.raw.functions.StatsGetMegagroupStats.

stats.MegagroupStats

Code Error Description
400 BUSINESS_CONNECTION_NOT_ALLOWED This method was invoked over a business connection using invokeWithBusinessConnection, but either (1) we’re a user, and users cannot invoke methods over a business connection; (2) we’re a bot, but business mode was disabled in @botfather or (3); we’re a bot, but this method cannot be invoked over a business connection.
400 CHANNEL_INVALID The provided channel is invalid.
400 CHAT_ADMIN_REQUIRED You must be an admin in this chat to do this.
400 MEGAGROUP_REQUIRED You can only use this method on a supergroup.
401 AUTH_KEY_UNREGISTERED The specified authorization key is not registered in the system (for example, a PFS temporary key has expired).
403 CHAT_ADMIN_REQUIRED You must be an admin in this chat to do this.

InputChannel Known selected constructors: inputChannel, inputChannelEmpty, inputChannelFromMessage

stats.MegagroupStats Known selected constructors: stats.megagroupStats

account.updatePersonalChannel, channels.checkUsername, channels.convertToGigagroup, channels.deactivateAllUsernames, channels.deleteChannel, channels.deleteHistory, channels.deleteMessages, channels.deleteParticipantHistory, channels.editAdmin, channels.editBanned, channels.editLocation, channels.editPhoto, channels.editTitle, channels.exportMessageLink, channels.getAdminLog, channels.getChannelRecommendations, channels.getChannels, channels.getFullChannel, channels.getMessageAuthor, channels.getMessages, channels.getParticipant, channels.getParticipants, channels.inviteToChannel, channels.joinChannel, channels.leaveChannel, channels.readHistory, channels.readMessageContents, channels.reorderUsernames, channels.reportAntiSpamFalsePositive, channels.reportSpam, channels.restrictSponsoredMessages, channels.setBoostsToUnblockRestrictions, channels.setDiscussionGroup, channels.setEmojiStickers, channels.setMainProfileTab, channels.setStickers, channels.toggleAntiSpam, channels.toggleAutotranslation, channels.toggleForum, channels.toggleJoinRequest, channels.toggleJoinToSend, channels.toggleParticipantsHidden, channels.togglePreHistoryHidden, channels.toggleSignatures, channels.toggleSlowMode, channels.toggleUsername, channels.toggleViewForumAsMessages, channels.updateColor, channels.updateEmojiStatus, channels.updatePaidMessagesPrice, channels.updateUsername, communities.getParticipantJoinedChats, communities.getPeerLinkRequests, communities.toggleAllPeerLinkRequestApproval, communities.toggleCommunityCollapsedInDialogs, communities.toggleParticipantBanned, communities.togglePeerLink, communities.togglePeerLinkRequestApproval, messages.searchGlobal, stats.getBroadcastStats, stats.getMessagePublicForwards, stats.getMessageStats, updates.getChannelDifference

  • user only

Schema sources