Ankündigung

Einklappen
Keine Ankündigung bisher.

ID:19002701 - TelegramSend

Einklappen
X
 
  • Filter
  • Zeit
  • Anzeigen
Alles löschen
neue Beiträge

    ID:19002701 - TelegramSend

    Hallo zusammen ich versuche den LBS zum Laufen zu bringen aber irgendwie schaff ich es nicht, bin bei der Erstellung der API laut TELEGRAM Homepage vorgegangen nun ist aber meine Frage welches ist meine API ist das API_ID? und wie Trigger ich das ganze.

    App configuration
    App api_id:
    ----------
    App api_hash:
    c---------
    App title:
    Edomi Alarm Message
    Short name:
    EDOMiAM
    alphanumeric, 5-32 characters

    Danke für euere Hilfe​

    #2
    Jonofe hat das mal in seinem LBS gut beschrieben:

    Find out Chat-IDs of your contacts which should be receipients for your EDOMI Telegram messages:
    Each chat between a mobile device and your bot has a unique chat-id.
    You need this chat-id to be able to send a message from your bot (EDOMI) to the device.
    It's easy to find out the chat-id: Use the search button in the Telegram App to find your bot (bot-username defined during II.)
    Send e message to your bot (e.g. "Test") from the Telegram App.
    The open a browser and call the page:

    https://api.telegram.org/bot[Your-API-KEY]/getUpdates?offset=0

    Replace [Your-API-KEY] with your real API-Key.
    You will see something like that:

    {"ok":true,"result":[{"update_id":325372525,
    "message":{"message_id":44,"from":{"id":****** ***, "first_name":"***","last_name":"****"},"chat": {"id ":XXXXXXXXX,"first_name":"***","last_name":"** **", "type":"private"},"date":1460275833,"text":"\/start"}}}

    The chat-id for this contact is "XXXXXXXXX" (see above). Write this id down and connect this chat-id to E3 to send a message to this contact.
    You can repeat this for all contacts you want to reach from your telegram bot (EDOMI).​
    ...and I thought my jokes were bad!

    Kommentar

    Lädt...
    X