📄️ add_handler
Add a handler to the bot.
📄️ answer_inline_query
This method sends an answer to an inline query. On success, True is returned.
📄️ ban an user
ban an user from the community
📄️ clear_conversation
Clears the conversation history of the current user.
📄️ create_sticker
create_sticker
📄️ create_sticker_pack Method
Creates a new sticker pack.
📄️ deduct_xp
Deduct the XP of user.
📄️ delete_media
Delete a Media by its ID.
📄️ delete_messages
Delete messages.
📄️ delete_sticker
Deletes a sticker by its ID.
📄️ delete_sticker_pack
Deletes a sticker pack by its ID.
📄️ download_media
Download a media file from a message.
📄️ edit_media
Edits the media of a message.
📄️ edit_message
Edits a message
📄️ forward_message
Forwards a message to a user, channel or group.
📄️ get_active_commands
Get active commands in the community.
📄️ get_all_channels
Gets a list of Channel present in the community.
📄️ get_all_groups
Gets a list of Group present in the community.
📄️ get_all_sticker_packs
getallsticker_packs
📄️ get_bot_info
Gets a bot info by its ID.
📄️ get_channel
Gets a Channel by its ID.
📄️ get_channel_chat_history
Get the chat history of a channel or group.
📄️ get_community
Gets a Community by its ID.
📄️ get_community_media_files:
Get community media files.
📄️ get_community_media_files by status:
Get community media files by status.
📄️ get_community_member
Gets a community member by their ID.
📄️ get_group
Gets a Group by its ID.
📄️ get_group_chat_history
Get the chat history of a channel or group.
📄️ get_last_seen
Get last seen of the user.
📄️ get_media
get_media Method
📄️ get_message
Gets a Message by its ID.
📄 ️ get_messages
Get a list of messages by user ID.
📄️ get_organization_apps
Retrieve the apps associated with a specific organization.
📄️ get_organization_by_id
Get Organization by ID
📄️ get_organization_followers
Retrieve the followers of a specific organization.
📄️ get_organizations
Retrieve a list of organizations based on specified parameters.
📄️ get_stickers
get_stickers Method
📄️ get_unread_messages_count
Get the amount of unread messages
📄️ get_user
get the User info from user id.
📄️ list_restricted_users
get the list of RestrictedUser in the community!
📄️ remove_handler
Remove a handler from the bot.
📄️ run
Starts the app and handles the start/stop of the bot.
📄️ search_sticker_packs
searchstickerpacks``
📄️ send_media
Send a message with media to a user, channel or group.
📄️ send_message
Send a text message to a user, channel or group.
📄️ Send sticker
Parameters:
📄️ sort_stickers
sort_stickers Method
📄️ start
Starts the app and starts listening for updates.
📄️ stop
Stops the app and stops listening for updates.
📄️ update_media_info
Update a Media info by its ID.