checkSearchPostsFlood
Check if the specified global post search ยป requires payment.
checkUsername
Check if a username is free and can be assigned to a channel/supergroup
convertToGigagroup
Convert a supergroup to a gigagroup, when requested by channel suggestions.
createChannel
Create a supergroup/channel.
deactivateAllUsernames
Disable all purchased usernames of a supergroup or channel
deleteChannel
Delete a channel/supergroup
deleteHistory
Delete the history of a supergroup
deleteMessages
Delete messages in a channel/supergroup
deleteParticipantHistory
Delete all messages sent by a specific participant of a given supergroup
editAdmin
Modify the admin rights of a user in a supergroup/channel.
editBanned
Ban/unban/kick a user in a supergroup/channel.
editLocation
Edit location of geogroup, see here ยป for more info on geogroups.
editPhoto
Change the photo of a channel/supergroup
editTitle
Edit the name of a channel/supergroup
exportMessageLink
Get link and embed info of a message in a channel/supergroup
getAdminLog
Get the admin log of a channel/supergroup
getAdminedPublicChannels
Get channels/supergroups/geogroups we're admin in. Usually called when the user exceeds the limit for owned public channels/supergroups/geogroups, and the user is given the choice to remove one of his channels/supergroups/geogroups.
getChannelRecommendations
Obtain a list of similarly themed public channels, selected based on similarities in their subscriber bases.
getChannels
Get info about channels/supergroups
getFullChannel
Get full info about a supergroup, gigagroup or channel
getGroupsForDiscussion
Get all groups that can be used as discussion groups. Returned basic group chats must be first upgraded to supergroups before they can be set as a discussion group. To set a returned supergroup as a discussion group, access to its old messages must be enabled using channels.togglePreHistoryHidden, first.
getInactiveChannels
Get inactive channels and supergroups
getLeftChannels
Get a list of channels/supergroups we left, requires a takeout session, see here ยป for more info.
getMessageAuthor
Can only be invoked by non-bot admins of a monoforum ยป, obtains the original sender of a message sent by other monoforum admins to the monoforum, on behalf of the channel associated to the monoforum.
getMessages
Get channel/supergroup messages
getParticipant
Get info about a channel/supergroup participant
getParticipants
Get the participants of a supergroup/channel
getSendAs
Obtains a list of peers that can be used to send messages in a specific group
inviteToChannel
Invite users to a channel/supergroup
joinChannel
Join a channel/supergroup
leaveChannel
Leave a channel/supergroup
readHistory
Mark channel/supergroup history as read
readMessageContents
Mark channel/supergroup message contents as read, emitting an updateChannelReadMessagesContents.
reorderUsernames
Reorder active usernames
reportAntiSpamFalsePositive
Report a native antispam false positive
reportSpam
Reports some messages from a user in a supergroup as spam; requires administrator rights in the supergroup
restrictSponsoredMessages
Disable ads on the specified channel, for all users. Available only after reaching at least the boost level ยป specified in the channel_restrict_sponsored_level_min ยป config parameter.
searchPosts
Globally search for posts from public channels ยป (including those we aren't a member of) containing either a specific hashtag, or a full text query. Exactly one of query and hashtag must be set.
setBoostsToUnblockRestrictions
Admins with ban_users admin rights ยป may allow users that apply a certain number of booosts ยป to the group to bypass slow mode ยป and other ยป supergroup restrictions, see here ยป for more info.
setDiscussionGroup
Associate a group to a channel as discussion group for that channel
setEmojiStickers
Set a custom emoji stickerset for supergroups. Only usable after reaching at least the boost level ยป specified in the group_emoji_stickers_level_min ยป config parameter.
setMainProfileTab
Changes the main profile tab of a channel, see here ยป for more info.
setStickers
Associate a stickerset to the supergroup
toggleAntiSpam
Enable or disable the native antispam system.
toggleAutotranslation
Toggle autotranslation in a channel, for all users: see here ยป for more info.
toggleForum
Enable or disable forum functionality in a supergroup.
toggleJoinRequest
Set whether all users should request admin approval to join the group ยป.
toggleJoinToSend
Set whether all users should join a discussion group in order to comment on a post ยป
toggleParticipantsHidden
Hide or display the participants list in a supergroup. The supergroup must have at least hidden_members_group_size_min participants in order to use this method, as specified by the client configuration parameters ยป.
togglePreHistoryHidden
Hide/unhide message history for new channel/supergroup users
toggleSignatures
Enable/disable message signatures in channels
toggleSlowMode
Toggle supergroup slow mode: if enabled, users will only be able to send one message every seconds seconds
toggleUsername
Activate or deactivate a purchased fragment.com username associated to a supergroup or channel we own.
toggleViewForumAsMessages
Users may also choose to display messages from all topics of a forum as if they were sent to a normal group, using a "View as messages" setting in the local client: this setting only affects the current account, and is synced to other logged in sessions using this method. Invoking this method will update the value of the view_forum_as_messages flag of channelFull or dialog and emit an updateChannelViewForumAsMessages.
updateColor
Update the accent color and background custom emoji ยป of a channel.
updateEmojiStatus
Set an emoji status for a channel or supergroup.
updatePaidMessagesPrice
Enable or disable paid messages ยป in this supergroup or monoforum. Also used to enable or disable monoforums aka direct messages in a channel. Note that passing the ID of the monoforum itself to channel will return a CHANNEL_MONOFORUM_UNSUPPORTED error: pass the ID of the associated channel to edit the settings of the associated monoforum, instead.
updateUsername
Change or remove the username of a supergroup/channel