Showing posts with label latest. Show all posts
Showing posts with label latest. Show all posts

Data Clustering Contest 2021, Round 2

Prize fund in round 2: $50,000.
Deadline: 23:59 on May, 2 (Dubai Time)
Task: improve the C/C++ library you created in Round 1 to determine the topic of Telegram channels based on provided data.

- Only participants of Round 1 (https://t.me/contest/209)can take part.
- Categories should be determined for channels in English, Russian, Arabic, Persian and Uzbek.
- Samples include more banned content than in Round 1, added 8 new categories.
- Samples include more data: number of subscribers, total number of text posts, total number of posts containing various media, metadata for media and links.

Details: https://contest.com/docs/dc2021-r2

Set Reminder for Scheduled Voice Chat

Set Reminder for Scheduled Voice Chat - Beta v7.7

- Users will be shown with scheduled Voice chat bar in groups
- A reminder can be set to get notified on starting the scheduled Voice chat
- On the voice chat start, a message will be received from Telegram Service notifications account

Telegram X - Anonymous admin

Anonymous admin has a nice little icon in Admin list 
Anonymous admin has an option to make himself visible without the promoted admin making the changes (which is not working as of now)

This Trick will Help Hide Your Phone Number on Telegram

Telegram is a feature-packed messaging app, many of which are privacy orientated features. One of the many abilities of Telegram is to hide personal details from people you message or those who are in common groups with you.

Hiding your phone number prevents strangers from getting your registered phone number and harassing you on Telegram or outside the platform. Here is how you can hide your Telegram number in a few easy steps.

How to hide your phone number on Telegram

Step 1: Open telegram, go to the setting

Open the Telegram app and pull out the hamburger menu from the right. Select the Settings option to enter Telegram Settings.

Step 2: Navigate to Privacy and Security

Under the Settings tab, find the ‘Privacy and Security’ section. Under this option, you will find the Privacy tab where you can select who can view various elements like your profile picture, last seen status and more.

Step 3: Change the ‘Phone Number’ setting to Nobody

Find the ‘Phone Number’ option and change the corresponding option to ‘Nobody’ if you want complete privacy. Alternatively, you can also set it to ‘My Contacts’, making your number visible to only those whose number you already have saved in your contacts. If you set it to nobody, a new option will pop up below asking who can find your account using your number. You can choose either Everybody or My Contacts in this option.

Bonus tip

The same section of privacy settings can also be used to hide a number of other details that can be used to harass you or track you down. These include your profile picture, your last seen and online status. You can even decide who can call you and add you to groups from this section.

Telegram X: an update finally arrives after a year

Using an app billed as "experimental" comes with its fair share of risks, including the chance that the developers may just give up on the project altogether. It seemed like Telegram X, the company's alternate client for testing out new features, was headed towards a quiet death following its last update in May, but the app has finally shown a new spark of life. After nearly a year of silence, a new beta version for Telegram X is finally available for download, including several bug fixes and some key features to help modernize the app.

Following a year without updates, the change log for this beta is unsurprisingly massive. With this new patch, Telegram X is finally getting support for last year's collection of emoji, as well as theme sync with your phone's dark mode settings. Other notable changes include statistics within group chats, a new menu for tagging a user in chat, and support for sending files up to 2GB in size. Telegram has also squashed some lingering bugs, like. flak files causing crashes and issues when displaying admin lists in chat.

To get this update on your phone, you'll need to make sure you've signed up for Telegram X's beta program. Alternately, you can grab this new beta version from APK Mirror, where you'll also find the complete list of patch notes in all its glory.

Changelog update Telegram X 0.23.6.1398 beta

As indicated on the Apkmirror website, with the latest beta version of the application the following new features are introduced:

What’s new:

– Multipin.
– Support for all new emojis.
– Statistics for group chats.
– Album by file support.
– Support for the system night theme.
– Support for sending 2,000MB files.
– Support for anonymous administrators.
– Compress video before sending (select quality).
– Counter of republished posts in the channel feed (available to all).

– Updated menu to mention the user in the chat (type @ in the message entry field and press and hold the user).
– Ability to enable anonymity for administrators and for yourself directly from the participant list.
– Updated the scrolling chat system (down arrow).
– Updated icon for deferred messages in the dialog box list.
– Ability to change the unit of measurement of the weight of the files (Settings> Unit size)
– updated the report if an unknown contact writes
– Many other improvements.

Resolved:
– Crash when playing .flac files.
– Problem with an infinite list of administrators in the chat.
– other fixes.

Pavel Durov Told why Bondholders do not Influence Telegram

Owning bonds does not imply any significant leverage, let alone "friendship" with bondholders. Telegram bonds are a form of debt that any investor can now buy on the secondary market, none of these investors have received any rights to use Telegram or influence its policies.

"This is inaccurate. Owning bonds doesn't imply any meaningful leverage, neither does "being friends" with someone who owns bonds. Telegram bonds are a form of debt which any investor can now buy on the secondary market; none of these investors obtain any rights in managing Telegram or affecting its policies.

A bond issuance is very different from an equity sale in which investors get voting shares, board seats etc. This is why - as I pointed out in my latest post - issuing bonds allowed Telegram to raise funds without sacrificing its independent nature."

How To Create Telegram Unlimited Filter bot

An advanced Filter Bot with nearly unlimited filters!

Support Group: @TroJanzSupport

Features

Nearly unlimited filters
Supports all type of filters
Can save button filters directly (Rose Bot Feature)
Supports multiple PM connections
And all other features of a Filter Bot :D
Deploy the bot and start adding your filters :)


Config

How to use the bot - Watch Video

1. Add bot to your group with admin rights.
2. Add your filters :)

Bot Commands 

(You need to be an admin or Auth User in order to use these commands)

Filter Commands
/add <filtername> <filtercontent> - To add your filter. You can also reply to your content with /add command.

/del <filtername> - Delete your filter.
/delall - Delete all filters from group. (Group Owner Only!)
/viewfilters - List all filters in chat.

Connection Commands
/connect groupid - Connects your group to PM. You can also simply use, /connect in groups.
/connections - Manage your connections. (only in PM)

Extras
/status - Shows current status of your bot (Auth User Only)
/id - Shows ID information
/info <userid> - Shows User Information. Also use /info as reply to some message for their details!

Credit: @PrGofficial

Voice Chats 2.0: Channels, Millions of Listeners, Recorded Chats, Admin Tools

Telegram has extended the voice chats feature to Channels with the latest update that also brings a handful of new features including recordable voice chat, raise hand mechanics, voice chat titles, among others. With the latest update, admins of Telegram Channels can now host voice chats for millions of live listeners. To start a voice chat, admins will have to:

Limitless Voice Chats

Admins of channels and public groups can now host voice chats for millions of live listeners. No matter how popular your talk gets, new people will be able to tune in. It's like public radio reinvented for the 21st century.
To start a Voice Chat, open the profile of any group or channel where you're an admin, tap (⋮) or (⋯) and select Start Voice Chat.

Recorded Chats

While some conversations are meant to be temporary, others are worth preserving and passing on. Admins can now record audio from voice chats to save talks and publish them for followers who missed the live event.

Once you finish recording, the audio file becomes instantly available in your Saved Messages. To avoid surprises, chats that are being recorded are marked with a red light next to their title.

Raise Hand

In chats where participants are muted, listeners can tap to raise their hand and alert the admins that they want to speak. Just like calling in to a talk show – but with addictive animations.

Your bio text is now visible in the list of participants, which you can use to detail your expertise, interests, or just a little bit about yourself. This info might help admins find a good slot for your questions or comments.
Speaker and Listener Links

Admins of public groups and channels can now create invite links that open the voice chat right away. Separate links can be made for speakers and listeners. This way you won't need to unmute important guests when they join – and they can use a different link to promote the upcoming chat to their communities.

Voice chats also have optional titles which help users see the topic of conversation before they join.

Join As…

When entering a voice chat in a channel, users have the option to join with their personal account or appear as one of their channels. Celebrities and public figures can use this to avoid drawing too much attention to their personal accounts.
For example, the Presidents of Brazil and Turkey could meet for a talk in Pavel Durov's Channel and answer questions from users without the risk of having their chat lists flooded with fan mail.

And More

If you choose the wrong chat by mistake when forwarding messages, press the X button before sending them – to either cancel forwarding or choose a different chat.
You can also resume playback from where you left off when listening to long voice messages. This was previously available for long videos and long audio tracks, and we thought we'd covered everything – but then our grandma signed up.

Last but not least, Android users can choose which action is assigned to swiping left in the chat list: archiving chats, pinning, muting, deleting or marking them as read. (On iOS, all these swipe actions are always available, depending on which way you swipe.)

And that's it for today, stay tuned for the next update!

Confirmation message for cancelling forward

A confirmation message is shown for cancelling a forwarding message. The popup has actions to Cancel the forward or Select other chat

How To Make Telegram Automated Filter Bot V2 | Unlimited Filters & Channels

You can call this as an Auto Filter Bot if you like :D. Bot simply search for the files from provided channel according to given query and gives link to those files as buttons!
Any Bugs or Errors or Suggestions, Report: @TroJanzSupport
REPO: https://github.com/TroJanzHEX/Auto-Filter-Bot-V2

How to use the bot

  • Add bot to your group with admin rights.
  • Add bot to all channels which you want to link with all admin rights!

Bot Commands - Works in Group only

(You need to be a Auth User in order to use these commands)
  • /add channelid - Links channel to your group. or /add @channelusername - Links channel to your group.
  • /del channelid - Delinks channel from group or /del @channelusername - Delinks channel from group
NOTE : You can get connected channel details by /filterstats
  • /filterstats - Check connected channels and number of filters.
  • /delall - Removes all connected channels and filters from group!

Deploy in your vps

git clone https://github.com/TroJanzHEX/Auto-Filter-Bot 
cd Auto-Filter-Bot -V2
pip3 install -r requirements.txt 
# <Create config.py appropriately> 
python3 main.py

Configs

APP_ID & API_HASH - my.telegram.org
AUTH_USERS: @MissRose_bot
DATABASE_NAME: Cluster0
DATABASE_URI: https://cloud.mongodb.com/
DOC_SEARCH: Should bot search for document files ( Give 'yes' or 'no' )
MUSIC_SEARCH: Should bot search for music files ( Give 'yes' or 'no' )
TG_BOT_TOKEN - @BotFather
TG_USER_SESSION - https://tgsession.infotelbot.com/
VID_SEARCH: Should bot search for video files ( Give 'yes' or 'no' )
MAINCHANNEL_ID - @ChannelIDHEXbot

Credits


How To Make Telegram Automated Filter Bot | Unlimited Filters

You can call this as an Auto Filter Bot if you like :D. Bot simply search for the files from provided channel according to given query and gives link to those files as buttons!
Any Bugs or Errors or Suggestions, Report: @TroJanzSupport

NOTE : If the channel is not created by the user whose string is generated, add that user to your channel

How to use the bot

  1. Add user account to your channel !
  2. Add bot to group with admin rights.
  3. Deploy the bot.
  4. Once deployed and bot is started, send a message to channel (must do step)
  5. Bot will work now :)

Deploy in your vps

git clone https://github.com/TroJanzHEX/Auto-Filter-Bot 
cd Auto-Filter-Bot 
pip3 install -r requirements.txt 
# <Create config.py appropriately> 
python3 main.py

Configs

APP_ID  & API_HASH - my.telegram.org
MAINCHANNEL_ID - @ChannelIDHEXbot

Credits : https://github.com/pyrogram/pyrogram

Telegram users distribution by region

Telegram provided user distribution by region in their financial report.

The data:
  • Asia – 38%
  • Europe – 26%
  • Middle East – 17%
  • North and South America – 12%
  • Africa – 7%
According to previous data from Pavel Durov, 11% of active users are from India and 7% are from Russia.
India is 8% of signups and 11% of monthly users on Telegram. No other country is bigger on Telegram than India, which is logical given it is the largest free country in terms of population. - Durov

Telegram Update Brings Auto-Delete Feature, Home Screen Widgets, Expiring Invite Links, and More

This update brings an auto-delete timer for messages in any chat, as well as new flexible invite links and faster access to your chats with home screen widgets. Also, groups can now have unlimited members.

Auto-Delete Messages

Some conversations aren't meant to last forever, which is why Telegram users can  delete messages for all participants in a conversation at any time, without a trace. Since 2013, users can also set a self-destruct timer for messages in Secret Chats.

Starting today, you can enable an auto-delete timer in all Telegram chats, which will automatically erase messages for all participants either 24 hours or 7 days after sending.

Auto-delete only applies to messages sent after the timer is set, earlier messages will stay in the chat history. Unlike in Secret Chats, the countdown starts when messages are sent, not read.

To enable the timer on Android, tap ⋮ > Clear History then choose a duration.
On iOS, press and hold a message, tap Select > Clear Chat (top-left) > Enable Auto-Delete.

All messages show a countdown to their deletion time – simply tap on Android or press and hold on iOS to take a look. 

In groups and channels, only admins can enable or modify the timer.

Home Screen Widgets

For instant access to your most important chats, add a Telegram widget to your home screen. The Chat Widget shows a preview of recent messages, while the Shortcut Widget shows only names and profile pictures.

On Android, chats and messages in the widget will always be up to date, and you can further expand the widget to take up more of your screen. On iOS, widgets will only get fresh data occasionally and can't be expanded – this is due to system limitations.

To add a widget, press and hold on your home screen, then tap Widgets on Android or the (+) on iOS and search for Telegram.

Expiring Invite Links

Invite links are a quick and easy way to bring 1 or  1 million people to your groups and channels. Along with the main invite link, owners and admins can now create additional links with a limited durationnumber of uses, or both.

Any invite link can be converted into a scannable QR Code to put on everything from brochures to billboards. You can also see which users joined using each invite link to find out where new members came from or which format has been most effective for growth. 

To view and manage invite links, tap to open your Group or Channel's Profile > Edit > Invite Links. Tap (⋮) or (⋯) to convert a link to a QR Code.

Groups with Unlimited Members

Telegram groups allow up to 200,000 members to exchange messages, media and stickers. Groups that are close to the limit can now convert into Broadcast Groups that allow unlimited members.

Converting to a Broadcast Group makes it so that only admins can send messages, but members can still join voice chats.

Broadcast Groups are ideal for large communities, where people can follow along and catch exclusive interviews, news, or just casual talks.

Improved Chat Import

Our developers are continuing to refine and expand the chat import feature added to Telegram last month. With today’s update, imported messages will now appear sorted by their original date if added to a Telegram chat that is new or has fewer than 1000 messages.

Sorting by original date is currently available when importing to all one-on-one chats, all newly created groups, and smaller existing groups.

Improved Reporting System

Telegram processes millions of user reports each month to make sure the platform is not abused. To help make this more efficient, we will now always ask you to select specific messages when sending a report.

Additionally, all reporting options allow you to add a comment to give more context – like when reporting fake accounts.

And More Animated Emoji

A new update always means new animations, so test out the new characters below by sending a single emoji in any chat.

That's all for today's changes, this message will now delete in 3, 2, 1 … oh. Never mind, this is a blog post, they don't do that yet. 


February 23, 2021
The Telegram Team

How To Make Telegram Music Voice Chat Bot On Heroku

To make this repo compatible with heroku and avoid unnecessary conflicts we have to break down this whole project into two different parts and deploy as different apps so let's get started.


Bot
  • Here is the place where this repo (which you are reading this readme) comes into picture
  • As usual hit deploy to heroku button
  • Enter bot token and websocket url (which we got from the above step)
  • click deploy and sit back until docker finishes the build
  • turn on your dyno (if its off)
  • if everything goes fine you should see something like @username is running... in the log
  • Voila!

How To Import Your Chats From WhatsApp To Telegram


Over 100 million new users joined Telegram this January, seeking more privacy and freedom. But what about the messages and memories that remain in older apps?

Starting today, everyone can bring their chat history – including videos and documents – to Telegram from apps like WhatsApp, Line and KakaoTalk. This works both for individual chats and groups:

To move a chat from WhatsApp on iOS, open the Contact Info or Group Info page in WhatsApp, tap Export Chat, then choose Telegram in the Share menu.

On Android, open a WhatsApp chat, tap ⋮ > More > Export Chat, then choose Telegram in the Share menu:

Move Chats and Save Space

The best part is that the messages and media you move don’t need to occupy extra space. Older apps make you store all data on your device – but Telegram can take up virtually no space while letting you access all your messages, photos and videos anytime you need them.

How To Make Telegram Music Voice Chat Bot On zeet.co

REPO Voice Chat: https://github.com/rojserbest/VoiceChatPyroBot (Credit)

REPO: https://github.com/rojserbest/vcpb-zeet-deploy

Remote Desktop (Android): https://play.google.com/store/apps/details?id=com.microsoft.rdc.android

Deploying

Sign in with your Github account and fork this repo.

  • Go here Zeet
  • Sign into Zeet with your Github account
  • Now Choose New Project and choose GitHub repo and give access to your fork ,then click on Deploy Now.
  • Now Zeet will automatically starts building from the Dockerfile. Wait for the build to finish.
  • After completing the build you have to configure the Environment Variables.

Configuring

  • You will need to set the following Environment Variables for your VoiceChatPyroBot

API_ID :Get your api id from my.telegram.org

API_HASH :Get your api hash from my.telegram.org

TOKEN :Get your bot token from @BotFather

SUDO_USERS : A list of user ids which can pause, skip and change volume, Enter each id's seperated by a space.

GROUP  : The id of the group where your bot plays.

MONGO_DB_URI : your MongoDB URI (you can get one for free in their official website, sign up, create a cluster and a database named "vcpb")

USERS_MUST_JOIN : If true, only users which are in the group can use the bot.

LANG : your bot language, choose an available language code in VoiceChatPyroBot

DUR_LIMIT: Max video duration in minutes for downloads

⚠️ The Following variables are Compulsory (Others will use default values if not set)

API_ID
API_HASH
TOKEN
SUDO_USERS
GROUP  (If USERS_MUST_JOIN is set to True)
  • If the remaining values are not set then the Default values are:
 MONGO_DB_URI = None
 USERS_MUST_JOIN = False
 LANG = en (english)
 DUR_LIMIT = 10
  • After setting the Evnironment Variables save them and Wait for the Deploy to finish.

  • Once Deploying is finished check if your bot is working. If not make sure that you set the Environment variables Correct.

  • Once all are perfect now its time to setup XRDP to strat RDP connection.

  • Go to Your Zeet dashboard and select the deployed app and start the Zeet Terminal.

  • Start xrdp by running the bash script xrdp-start.sh by running /xrdp-start.sh

  • Once its started succesfully close the terminal and copy the PUBLIC IPS from Zeet Dashboard

  • Open a remote desktop client and login to your user. The default credentials are:-

  •             ls
                /xrdp-start.sh

    Username :vcpb 
    Password :music
  • If you want to edit the username and password , you can do it by editing the values in createusers.txt file. the foremat is username:password:is SUDO or not(Y/N)

    • ℹ️ If you are changing the default user , you may need to change the same in script.sh also .
  • Once after loging in , you can see a file named Telegram in /home/vcpb/Telegram Directory (You may see some error messages, Since many mate utils are not preset , ignore(delete) those.)

  • Execute it and login into your telegram account and Join a Voicechat.

    • ℹ️ No need to change the default microphone as MySink is already default Mic.

Bot Commands

Inorder to command the bot send one of the mentioned commands below with a / prefix

start - start the bot

song - check the playing song

volume - check the current volume

queue - check songs in the queue

pause - pause the playing song (sudo users only)

resume - resume the paused song (sudo users only)

play - same as resume (sudo users only)

skip - skip the playing song (sudo users only)

stream - stream a radio (sudo users only)

cleardownloads - delete all downloads (sudo users only)

playlist - see the items in the playlist (sudo users only)

clear_playlist - clear the items in the playlist (sudo users only)

play_playlist - play the items in the playlist (sudo users only)

How To Host Telegram Bot on Scaleway

1. Lets create a Scaleway Account first!

Link: https://console.scaleway.com/register

Enter required details and signup with Scaleway !

Card verification is required for signup! You'll be charged some amount for verification and the same will be refunded within few hours. So don't worry. 

2. Making an instance in Scaleway

Choose appropriate plan!

Creating a SSH key
Download PuTTY: https://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html

*Create a new SSH Public key and copy paste it in Instance config page.
*Save it as our Private key.
*Create instance.

3. Connecting to the instance!

- Connecting to instance with our SSH key

        hostname : root@ipaddress

- You'll be logged in as a root user!

- Create a new user with sudo privileges ( cause it's better that way)

        sudo adduser  <newusername>

        sudo usermod -aG  sudo  <newusername>

        su - <newusername>

- Now whenever you login to your instance, change to your user by;

        su - <newusername>

Some required commands,

         sudo apt update && sudo apt upgrade


NOTE : Use Enter key to run your commands. Use right click to paste your copied command into terminal.

4. Setting up your repository

Configure Marie Bot Repo;

Clone the source code of Marie

Source code : https://github.com/prgofficial/Marie-2.0-English

Create config.py file from sample_config.py

#Bot Token: from Bot Father
#Owner ID: from Rose ( /id )
#Owner username: Any name
#Database URL: Install Postgres server in our Instance and get

5. Install and setup a Postgres Server

Connect to your instance, then run;
         sudo apt-get update
         sudo apt-get install postgresql postgresql-contrib

Give sudo permission to user
         sudo usermod -aG sudo postgres

Set a new password
         sudo passwd postgres
Password will be invisible, don't worry!

Login to Postgres
         su - postgres

Create new user for psql
         createuser --interactive --pwprompt

# enter a name for user
# enter a password for user
# give superuser power


You can give any name and password!!

Create a database and assign user
        createdb -O <username> <newdbname>
;

Allow remote access
         nano /etc/postgresql/12/main/postgresql.conf

Uncomment, and change the value;

#listen_addresses = 'localhost'
to
listen_addresses = '*'


This will allow Postgres connections from anyone.
USE ctrl + o and press enter to save the file and ctrl + x to exit the editor


Allow Connections from everyone 
         nano /etc/postgresql/12/main/pg_hba.conf

Modify this section;

# IPv4 local connections:

host all all 127.0.0.1/32 md5

to;

# IPv4 local connections:

host all all 0.0.0.0/0 md5

this will allow anyone to connect to your db using the username and password!
USE ctrl + o and press enter to save the file and ctrl + x to exit the editor

Allow port 5432
         sudo ufw allow 5432/tcp

Restart postgres to apply changes
         sudo systemctl restart postgresql

Now, your DB Uri will be;
        postgres://username:pw@hostname:port/dbname

6. Hosting Marie repo

Connect to your instance using putty

connect again using putty or;

press ctrl + a + d to go back to your user from our current screen

Using screens is a better way to run your programs.
        screen -S marie

This will open a new screen inside our main terminal.

Clone your source code to your instance

        git clone <your_repo_url>

Enter your Github username and password and hit enter!

Change your current directory

        cd <reponame>

Install required dependencies.
        sudo apt install python3-pip
        pip3 install -r requirements.txt

Start your BOT !
        python3 -m tg_bot

Your BOT is ready to use :)
now your bot is ready with nearly unlimited filters....
:) thank you

Some Usefull commands;

> To detach from current screen
Ctrl + a + d ( hold Ctrl and press a and d sequentially )

> To see all active screens
screen -ls

> To attach to a screen
screen -r number

>To detach from a screen
screen -d number

>To logout from terminal with BOT running in screen
Ctrl + a + d

Credit: @PrGofficial
Documented by: @PrGofficial

DON'T MISS

beta, news, bot, features, bot, tutorial, Userbot, telegram
© All Rights Reserved
Made With By InFoTel