I need python script writer.
- or -
Post a project like this£100(approx. $125)
- Posted:
- Proposals: 14
- Remote
- #2047365
- Expired
19431646719747173555544958065387722496950713610051469407153929518704041962405
Description
Experience Level: Intermediate
I am looking for somebody who can help me run Telegram API. I believe I have the script what I need but that is something you can check. The use is to make the API forward messages received in one channel to another.
I believe you run Telethon: https://github.com/LonamiWebs/Telethon
I believe this is the code I need to run with telethon / python. This was sent to me by someone who develops on TG :
assuming you have your api id and hash from my.telegram.org
and that you have installed telethon with pip install telethon
from telethon
import TelegramClient, events
client = TelegramClient('crypt', api_id, api_hash, update_workers=1, spawn_read_thread=False).start()
@client.on(events.NewMessage(chats=SOURCE))
def handler(event):
event.send_message(TARGET, event.message)
client.idle()
I believe you run Telethon: https://github.com/LonamiWebs/Telethon
I believe this is the code I need to run with telethon / python. This was sent to me by someone who develops on TG :
assuming you have your api id and hash from my.telegram.org
and that you have installed telethon with pip install telethon
from telethon
import TelegramClient, events
client = TelegramClient('crypt', api_id, api_hash, update_workers=1, spawn_read_thread=False).start()
@client.on(events.NewMessage(chats=SOURCE))
def handler(event):
event.send_message(TARGET, event.message)
client.idle()
Elliot S.
0% (0)Projects Completed
-
Freelancers worked with
-
Projects awarded
0%
Last project
13 May 2024
United Kingdom
New Proposal
Login to your account and send a proposal now to get this project.
Log inClarification Board Ask a Question
-
There are no clarification messages.
We collect cookies to enable the proper functioning and security of our website, and to enhance your experience. By clicking on 'Accept All Cookies', you consent to the use of these cookies. You can change your 'Cookies Settings' at any time. For more information, please read ourCookie Policy
Cookie Settings
Accept All Cookies