Skip to content

jordhi/ElPuigBot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ElPuig Bot

Bot de telegram en proves per l'INS El Puig Castellar

Cal un fitxer BotConfig.java que contingui el TOKEN i USER del bot, seguiu l'enllaç Com crear un bot per aprendre a generar-lo

Exemple de BotConfig.java

public class BotConfig {
    public static final String TOKEN_COMMAND = string_token;
    public static final String USER_COMMAND = string_user_bot;
}

No funciona per a la Bot API superior a la 3.0