python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
How to send a message through Pyrogram?
from pyrogram import Client
from pyrogram.errors import PeerFlood
import time
vubor = input('Нажмите Enter чтобы запустить рассылку! ')
api_id = 12905662
api_hash = "a7cfcd44cb95d26d7529d547c9a1...
Николай Сероух
Votes: 0
Answers: 2
Limit the access of telegram bot through Chat ID
I have attached the code. I want chat_id to be accessed from the text file located at my local machine.
#constants.py
chatid_list = []
file1 = open(r'D:\\folder1\\chatids.txt', "r")
fo...

ns28
Votes: 0
Answers: 2
Telethon event.message doesn't handle captions but only returns images without the caption
In this example code, I am just forwarding messages from one channel to another
where watch_channels is a list of channels to observe for new messages, and output_channel is the channel to send those ...
John
Votes: 0
Answers: 1
(Pyrogram/Telegrm bot) Russian words are not displayed correctly in Telegram
I made a word randomizer which works with txt file of words. But the bot send messages in wrong coding and i receive "РѕР±СЂСЏРґРЅРёРє" when it should be "обрядник". How to fix tha...
pyrogrammer228
Votes: 0
Answers: 0