Giter Club home page Giter Club logo

Comments (9)

boredazfcuk avatar boredazfcuk commented on September 12, 2024

I have no idea what any of that says.

from docker-icloudpd.

mrsoshining avatar mrsoshining commented on September 12, 2024

I have no idea what any of that says.

Sorry, I meant:
Due to some special reasons, I want to use the parameter telegram_server, but I don't know what format the fully qualified domain name of the proxy server should be. The ones I found online or set up myself, like https://t.me/proxy?server=47.2*.*.*7&port=65092&secret=eed6e9a3a5ab755a6baf20b2e6ce241ca9617a7572652e6d6963726f736f66742e636f6d, don't seem to work. Could you provide me with an example?
Thank you very much!

from docker-icloudpd.

mrsoshining avatar mrsoshining commented on September 12, 2024

I have no idea what any of that says.

Sorry, I meant: Due to some special reasons, I want to use the parameter telegram_server, but I don't know what format the fully qualified domain name of the proxy server should be. The ones I found online or set up myself, like https://t.me/proxy?server=47.2*.*.*7&port=65092&secret=eed6e9a3a5ab755a6baf20b2e6ce241ca9617a7572652e6d6963726f736f66742e636f6d, don't seem to work. Could you provide me with an example? Thank you very much!

I don't know if the format of telegram_server is the same as the MTProto proxy used in the Telegram app. Thank you.

from docker-icloudpd.

boredazfcuk avatar boredazfcuk commented on September 12, 2024

I don't know it either as I don't use it personally. I need to check the code to see what it wants when I get some spare time.

from docker-icloudpd.

mrsoshining avatar mrsoshining commented on September 12, 2024

I don't know it either as I don't use it personally. I need to check the code to see what it wants when I get some spare time.

Thanks!

from docker-icloudpd.

boredazfcuk avatar boredazfcuk commented on September 12, 2024
         if [ "${telegram_server}" ] ; then
            notification_url="https://${telegram_server}/bot${telegram_token}/sendMessage"
         else
            notification_url="https://api.telegram.org/bot${telegram_token}/sendMessage"
         fi

The telegram_server variable is just a hostname e.g. proxy.server.com.

It assumes https, so if your server is http, then changes will be required.

from docker-icloudpd.

mrsoshining avatar mrsoshining commented on September 12, 2024
         if [ "${telegram_server}" ] ; then
            notification_url="https://${telegram_server}/bot${telegram_token}/sendMessage"
         else
            notification_url="https://api.telegram.org/bot${telegram_token}/sendMessage"
         fi

The telegram_server variable is just a hostname e.g. proxy.server.com.

It assumes https, so if your server is http, then changes will be required.

thanks!Maybe I need to build a telegram bot api local server?

from docker-icloudpd.

pkuGeo avatar pkuGeo commented on September 12, 2024
         if [ "${telegram_server}" ] ; then
            notification_url="https://${telegram_server}/bot${telegram_token}/sendMessage"
         else
            notification_url="https://api.telegram.org/bot${telegram_token}/sendMessage"
         fi

The telegram_server variable is just a hostname e.g. proxy.server.com.

It assumes https, so if your server is http, then changes will be required.

maybe notification_url="${telegram_server}/bot${telegram_token}/sendMessage" will be better

thus users can decide whether http or https to provider.
I have encounter this problem now. I need a proxy to access telegram services. But after I finished my "telegram server" I found I that I should provide https service. And next problem is that I could only provide self signed certificate which could not pass the SSL check of iCloudPD

from docker-icloudpd.

boredazfcuk avatar boredazfcuk commented on September 12, 2024
         if [ "${telegram_server}" ] ; then
            notification_url="https://${telegram_server}/bot${telegram_token}/sendMessage"
         else
            notification_url="https://api.telegram.org/bot${telegram_token}/sendMessage"
         fi

The telegram_server variable is just a hostname e.g. proxy.server.com.
It assumes https, so if your server is http, then changes will be required.

maybe notification_url="${telegram_server}/bot${telegram_token}/sendMessage" will be better

thus users can decide whether http or https to provider. I have encounter this problem now. I need a proxy to access telegram services. But after I finished my "telegram server" I found I that I should provide https service. And next problem is that I could only provide self signed certificate which could not pass the SSL check of iCloudPD

Latest version now has a new variable. Set telegram_http=true for it to use http:// instead of https://

from docker-icloudpd.

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.