Questions tagged [pyrogram]

Pyrogram is a Telegram framework, used for custom apps for both user and bot identities. It uses the MTProto API

Pyrogram is a modern, elegant and easy-to-use Telegram framework written from the ground up in Python and C. It enables you to easily create custom apps for both user and bot identities (bot API alternative) via the MTProto API.

Homepage: https://docs.pyrogram.org/

278 questions
-2
votes
1 answer

To attract members of the channel specified in Telegram and send messages

how can I attract members of a group or channel in telegram using python and send them a specified message? I couldn't find any resources on this subject, can it be done with pyrogram or telethon?
apr yegn
  • 1
  • 1
-2
votes
1 answer

How can I call a user with pyrogram?

How can I call somebody using pyrogram? I found phone.RequestCall and tried to do this but it doesn't work and throws the error: AttributeError: 'Client' object has no attribute 'phone' I understand what it means, but how can I call it in another…
ggindinson
  • 21
  • 7
-3
votes
1 answer

Does pyrogram support Finite State Machine or FSM for short

Good time of a day to you all! Short Question: Does pyrogram support FSM how it's implemented in AIOGram? Long Question: I'm just searching for a telegram API wrapper other than AIOgram and PyTelegramBotApi and found this. I read documentation intro…
-3
votes
2 answers

file = open(ad, 'wb') TypeError: expected str, bytes or os.PathLike object, not NoneType

@bot.on_message(filters.command('song')) def songs(_,message): msg = message.text.replace(message.text.split(' ')[0], '') videosSearch = VideosSearch(msg , limit = 1) f = videosSearch.result() nani = f['result'] for link in…
Yato
  • 1
  • 2
-5
votes
3 answers

Want to Take User Inputs in Pyrogram

I want to take user input in pyrogram. Like: bot: What do u wanna say? user: hola! bot: u said, hola! my code: import csv bot = Client("bot") @bot.on_message(filters.command('start')) def start(bot, msg): x=input …
Aditya
  • 3
  • 3
1 2 3
18
19