Skip to content

imvickykumar999/Telegram-Bot

Repository files navigation

    Read message : 
    (chat_id is in response of this request, it contains all 
    messages sent by anyone till now, on this bot)

        https://api.telegram.org/bot{bot_token}/getUpdates

    Write Message : 
    (bot_chatID will define, whom to send message, 
    and bot_token will define who will send message)

        https://api.telegram.org/bot{bot_token}/sendMessage?chat_id={bot_chatID}&parse_mode=Markdown&text={bot_message}

image


Where to find the Telegram Api Key ?

Go to : @BotFather

image