Copyright © 2018 Marcus Fihlon
This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License along with this program. If not, see http://www.gnu.org/licenses/.
See the LICENSE file for details.
-
Go to https://web.telegram.org and login using your phone number.
-
Start a chat with the
@BotFather
and send him a/newbot
message. -
Answer the questions of the
@BotFather
and write down the username and token of your new bot. -
Clone this repository:
git clone https://github.com/chatbot-workshop/kotlin-telegram-hello.git
Open the file src/main/resources/bot.conf
and enter the username and the token of your bot in the corresponding lines.
Run the bot within your IDE or use Gradle at the command line: ./gradlew run
-
Go to https://web.telegram.org and login using your phone number.
-
Start a chat with your bot and send him a message.
-
You should receive a message saying
Hello, your name
with your name.
For the participants of the workshop a slack team is available to answer questions regarding the preparations and to share additional information during the workshop. It is recommended to become a member there: https://bit.ly/chatbot-workshop-zurich