python (65.2k questions)
javascript (44.3k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (13k questions)
how to get channelname from channels using telethon
I want to get the username of a telegram channel. I have given the channel_id. I tried to get it via get_entity like:
channelData = await client.get_entity(channelId)
print(channelData.username)
and...
CampingCow
Votes: 0
Answers: 1
telethon forwarding messages to group
I'm creating a script to forward messages it worked perfectly, but I created a graphical interface and put the id group data in tkinter entries, and then the code stopped working I also put the ids in...
Paulo Freitas
Votes: 0
Answers: 1
create multiple bots in one python script using telethon
I want to create multiple bots in the same python script,
these bots are similar, the only difference between them is the tokens.
the first idea that comes to my mind is to create a class contains the...
freq mand
Votes: 0
Answers: 1
Telethon Bot - how to check if a user is subscribed to my channel by user's id
Via my telegram bot I have to check if the user who texting the bot is in my telegram channel or not,
I tried:
user_id = event.message.peer_id.user_id #user's id
async for i in bot.ite...

Jawad
Votes: 0
Answers: 1