How to get data in the Telegram bot?

How to get data from the website (for example temperature, weather, quotes, bash, etc.) for your bot in the Telegram? How it is implemented? For example, there is already a script quotations, but where is insert? Your bot with the channel already created. I'm a noob, so if possible in detail, in the style of: "take this copy-paste that."
July 2nd 19 at 13:26
2 answers
July 2nd 19 at 13:28
If the bot will send upon request from the user, it is tied to the button, for example. If the bot itself will post, then do a temporary function
Thank you! - nikita.Stracke commented on July 2nd 19 at 13:31
July 2nd 19 at 13:30
Quotes is already somewhere in the database. Right?
Then the bot takes data from the database and gives the user, for example, querying in a group chat (using inline query), or by cron runs and sends the quote in General chat.

And so right "take and copy" this will not happen. There is github, where you can look for examples, read the source and make their own.

Find more questions by tags Web DevelopmentAPIMessengersTelegram