Navigation X
ALERT
Click here to register with a few steps and explore all our cool stuff we have to offer!



 1821

Telegram Bot, Sending all Images and Videos inside a Folder ( SOURCE CODE ) #python

by baroke - 09 August, 2020 - 11:09 PM
This post is by a banned member (baroke) - Unhide
baroke  
Registered
251
Posts
12
Threads
4 Years of service
#1
(This post was last modified: 14 March, 2022 - 04:05 PM by baroke. Edited 1 time in total.)
You need atleast python 3.6

[Image: hVXEiqe.png]

Install first
Quote:pip install telegram
pip install hurry.filesize


1. Create bot ( chat botfather)  and save your token
detail here : https://core.telegram.org/bots#6-botfather

2. After that add your bot into channel or group that you want.

3. Get chat id , open this link on browser, https://api.telegram.org/bot<YourBOTToken>/getUpdate

and you're done.

===============================================================================================================


Update, in this version you. I use phone number ( your phone number )
You need app and api id, follow this tutorial https://core.telegram.org/api/obtaining_api_id


https://pastebin.com/5b0HvMX2

pass

Hidden Content
You must register or login to view this content.



Leave some love , will ya... :D
This post is by a banned member (skywalker122) - Unhide
This post is by a banned member (bk301) - Unhide
bk301  
Registered
18
Posts
0
Threads
4 Years of service
#3
Thanks for the share..
This post is by a banned member (Godopw) - Unhide
Godopw  
Registered
21
Posts
0
Threads
4 Years of service
#4
gggggg
This post is by a banned member (Rodian) - Unhide
Rodian  
Registered
14
Posts
1
Threads
4 Years of service
#5
quality
This post is by a banned member (jrabbit11) - Unhide
jrabbit11  
Registered
376
Posts
5
Threads
4 Years of service
#6
(This post was last modified: 05 September, 2020 - 09:44 AM by jrabbit11.)
Thanks for the share..

Thanks for the share..
This post is by a banned member (Avocadolf) - Unhide
Avocadolf  
Registered
3
Posts
0
Threads
3 Years of service
#7
(09 August, 2020 - 11:09 PM)baroke Wrote: Show More
You need atleast python 3.6

[Image: hVXEiqe.png]

Install first
Quote:pip install telegram
pip install hurry.filesize


1. Create bot ( chat botfather)  and save your token
detail here : https://core.telegram.org/bots#6-botfather

2. After that add your bot into channel or group that you want.

3. Get chat id , open this link on browser, https://api.telegram.org/bot<YourBOTToken>/getUpdate

and you're done.



Leave some love , will ya..Thank you very much. Will test it!
This post is by a banned member (baroke) - Unhide
baroke  
Registered
251
Posts
12
Threads
4 Years of service
#8
Updated...

Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
or
Sign in
Already have an account? Sign in here.


Forum Jump:


Users browsing this thread: 2 Guest(s)