Find Jobs
Hire Freelancers

Python Telegram Channel Message Monitor

$75-150 USD

En curso
Publicado hace alrededor de 3 años

$75-150 USD

Pagado a la entrega
This project is to monitor Telegram channels using the Telephon API. It is quite easy to connect to and monitor Telegram channels for new messages and I can demonstrate code to do this if needed. What I want to do is record all messages to a SQLite or MySQL database (programmer can decide but be mindful of SQLite has limited data types compared to MySQL and over time there will be 10,000s of records). Steps: When a new message is received: 1) Check if a table exists in the database with the name as the Channel ID number for that Telegram channel. If not then create a new table for it. 2) Record in a separate 'Channels' table the ID (Auto), Channel ID, Channel Name, Last Message ID, Last Message Received DateTime Stamp 3) Record message to the database in real-time along with the following: ID (Auto), DateTime Stamp, Message ID, Reply-To Message ID, Message Text, Attachments/Images, Deleted, DeletedDays In the case of a file attachment or Image attachment they are downloaded to a sub-folder (named \files\ and then the same as the Channel ID) and in the database we store the filename(s) (not the folder path). In case of multiple files in a post then separate the filenames with a comma in the database. In case of the script is stopped for a while then it needs to catch up by looking at the last message ID for each channel in the database (use the Channels table) and then pull any new messages after that ID (following same steps as above). At the first time it should download all messages available from all channels to populate the database. Once every 24 hours, the program scans each channel to identify any deleted messages. If a message is found to be deleted then it flags the record in the database table as Deleted=True and DeletedDays is set as the difference between the Date of the original message and the Date it was deleted. If it's in the same day then = 0. If it's one day later then = 1 etc. Program output whilst running. Shows when creating a new table. Shows when a new message comes in (single line of text). Time (not date) - Channel Name (not ID) - Message (cut to first 40 characters and add ... if over 40 characters). Report to run once per day at 11:50pm (also dump to a file with the name '[login to view URL]') to show any channels with deleted messages. Channel ID, Channel name, Total Messages, Total Deleted Messages, Del. Messages as a % of total messages, Avg. No Days of Deleted messages (2 decimal places).
ID del proyecto: 30070204

Información sobre el proyecto

3 propuestas
Proyecto remoto
Activo hace 3 años

¿Buscas ganar dinero?

Beneficios de presentar ofertas en Freelancer

Fija tu plazo y presupuesto
Cobra por tu trabajo
Describe tu propuesta
Es gratis registrarse y presentar ofertas en los trabajos
3 freelancers están ofertando un promedio de $140 USD por este trabajo
Avatar del usuario
Hi, We can use sqlalchemy and start with mysql/mariadb db to store the messages. For creating a new table for each channel, we would need some custom sql scripts to be defined. Is there any chance to use mongodb for this? It's lot easy to crate new tables as required. All the reporting and logging is irrelevant of the db engine used. Where is this program being deployed, a cloud server? All the other instructions are cleat to start with it.
$150 USD en 4 días
5,0 (22 comentarios)
5,7
5,7
Avatar del usuario
Senior Python , telegram API Expert. As 9+ years experiences in these field. I can give good quality work. I have read the guidelines of your work.I believe that i can provide you the best quality works you are anticipating from this platfrom give me a chance to show you the best i can do at your service.
$150 USD en 2 días
4,9 (14 comentarios)
4,1
4,1
Avatar del usuario
Hi sir. How are you? I have read your requirements carefully and I am very interesting. I think you are looking for someone for your project who expert telegram bot I have professional knowledge and rich experiences in C#, python and I have already finished telegram bot projects before. So, we can discuss more work? First of all, I'll provide you a Demo file of work. If you like the job samples, you can work with me. I am waiting for your Kind Response. Best regards.
$120 USD en 7 días
5,0 (9 comentarios)
3,3
3,3

Sobre este cliente

Bandera de THAILAND
Lumpini, Pathumwan,, Thailand
5,0
50
Forma de pago verificada
Miembro desde mar 11, 2008

Verificación del cliente

¡Gracias! Te hemos enviado un enlace para reclamar tu crédito gratuito.
Algo salió mal al enviar tu correo electrónico. Por favor, intenta de nuevo.
Usuarios registrados Total de empleos publicados
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Cargando visualización previa
Permiso concedido para Geolocalización.
Tu sesión de acceso ha expirado y has sido desconectado. Por favor, inica sesión nuevamente.