Skip to main content
0 votes
1 answer
68 views

I have a problem with forwarding messages with caption_entities. Attached below is the code that I use to make the transfer itself, as well as the result of its operation. The result shows that ...
user31645108's user avatar
1 vote
0 answers
70 views

I’m testing a simple Pyrogram client and noticed something strange when the session appears in Telegram’s Active Sessions list. Here is my test code: from pyrogram import Client app = Client( &...
Abdurahmon Jome's user avatar
1 vote
1 answer
106 views

Below are two scripts. The first one creates a channel, after which it stops working. The second script tries to send a message to this channel, but at the moment of sending, the second script ...
user31645108's user avatar
3 votes
1 answer
113 views

When I try tp import pyrogram I get this error: Traceback (most recent call last): File "c:\Users\User\Desktop\python\bots\SVG\bott copy.py", line 1, in <module> from pyrogram ...
МегаПон's user avatar
0 votes
1 answer
68 views

Here's my code. When I run it, it only displays "Sending" and that's it. I don't understand what the problem is.The id passed to the function and the path to the photo have been changed for ...
user31645108's user avatar
2 votes
1 answer
69 views

I have a set of functions written in Pyrogram that make up a user bot that copies media messages from one Telegram channel to another. The problem is that it doesn't copy the media messages in the ...
user31645108's user avatar
-1 votes
1 answer
123 views

I created a simple python program to automatically reply messages in Group topics, part of it : bot = Client(name=login, api_id=api_id, api_hash=api_hash, phone_number=phone) @bot.on_message(filters....
voipp's user avatar
  • 1,484
0 votes
0 answers
217 views

I have been trying to fetch the thread id from telegram using pyrogram so far I have been successful with fetching the chat ID itself but there are errors when i try to fetch the thread id (I am using ...
Tian Hock Woo's user avatar
0 votes
1 answer
96 views

I need to send premium reactions to messages, but send_reaction() only accepts emojis as a string, how can I specify a premium reaction in send_reaction()?
SvyatWay's user avatar
0 votes
1 answer
93 views

I want to understand how Pyrogram works. So I tried to get a phone number from the group for educational purposes, similar to what I successfully did with an url. def main(): with app: ...
Vladimir's user avatar
0 votes
0 answers
52 views

I am using Pyrofork to send messages and I would like to know the differences between copy_message and forward_messages with parameter drop_author=True. My main usage is to backup so if the origin ...
Uruko's user avatar
  • 1
0 votes
0 answers
94 views

I have a telegram bot and a client. The telegram bot is added to all the channels I need (as an administrator). Since bots do not have access to the message history, I receive messages using the ...
Timofey's user avatar
  • 121
0 votes
1 answer
53 views

I have telegram premium, but I can't put 3 reactions, because when I do it like this, the reactions just change each other, and are not put separately from pyrogram import Client z = 5 app = Client(&...
1uknow's user avatar
  • 1
1 vote
1 answer
89 views

This is the code: class TelegramWorker(QThread): otp_sent = pyqtSignal(object) auth_complete = pyqtSignal(bool, str) def __init__(self, action, phone_number=None, otp=None, ...
Madhusudan Mishra's user avatar
0 votes
0 answers
68 views

from pyrogram.raw.functions.messages import Report from pyrogram.raw.functions.channels import GetChannels from pyrogram.raw.types import InputPeerChannel, InputReportReasonSpam from pyrogram.raw ...
daryoush's user avatar

15 30 50 per page
1
2 3 4 5
21