Giter VIP home page Giter VIP logo

Comments (6)

levlam avatar levlam commented on June 19, 2024 2

Users interact with Telegram API. Bots interact with Telegram API. Users don't interact with bots directly.

from telegram-bot-api.

levlam avatar levlam commented on June 19, 2024 1

This is exactly the same server as run at https://api.telegram.org. All other answers can be derived from that.

from telegram-bot-api.

dashezup avatar dashezup commented on June 19, 2024

Does bots which uses its own bot API server makes user risk of getting their IP being logged? (are there cases that user client transfer data directly from the bot api server?)
Assume when I download a file from such bot, are there chance that I download the file directly from the unofficial telegram bot API server?
If it does then I guess telegram should flag such bot to notice user the risk of using such bots.

from telegram-bot-api.

MasterGroosha avatar MasterGroosha commented on June 19, 2024

@dashezup

Assume when I download a file from such bot, are there chance that I download the file directly from the unofficial telegram bot API server?

Excuse me, but is there any difference? If the bot sends you (a Telegram user) a file, does it matter whether this bot runs the official API endpoint or its own? I guess it doesn't matter.

from telegram-bot-api.

dashezup avatar dashezup commented on June 19, 2024

@MasterGroosha
if the server send the user a dedicated file which has an unique ID and the user download the file directly from the unofficial server, the IP which get the file is very likely the user's actual IP (unless the user was using proxy/VPN).
It's important that when we were using official telegram client, we only connect to official telegram server (except for P2P calls or socks/mtproto proxy) to avoid IP leak.

But since levlan has point out that users don't interact with bots directly, it probably won't be this case.

from telegram-bot-api.

levlam avatar levlam commented on June 19, 2024

You can find a nice diagram in #1 (comment). The only difference between using a local Bot API server and the api.telegram.org server is a location of the provided in this repository TDLib-based Bot API server.

from telegram-bot-api.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.