Answer the question
In order to leave comments, you need to log in
How to forward a certain part of a letter from mail to Telegram?
I want to make a bot similar to @etlgr_bot, but it needs to be corrected so that not all the text from the message comes, but a specific part of it.
In general, the goal is this: to forward messages from one mail to Telegram, but so that a message does not arrive with a bunch of links, photos, extra information, but only the text I need from the message.
Answer the question
In order to leave comments, you need to log in
Do you already have @GmailBot and @YandexMail360_bot or do you need your own with mother-of-pearl buttons?
First, you need to have this message on hand. It is best to create a mail on a portal that provides an API for mail.
If you have the text of the letter, then already set up filters for this text of the letter in your programming language.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question