first commit
This commit is contained in:
parent
477a9bba52
commit
14ed47583c
@ -9,7 +9,7 @@ import org.springframework.context.annotation.PropertySource;
|
|||||||
@Data
|
@Data
|
||||||
@Configuration
|
@Configuration
|
||||||
@PropertySource("file:./telegram.properties")
|
@PropertySource("file:./telegram.properties")
|
||||||
public class TelegramConfig {
|
public class TelegramConfig { //
|
||||||
@Value("${bot.botToken}") private String botToken;
|
@Value("${bot.botToken}") private String botToken;
|
||||||
@Value("${bot.botLogin}") private String botLogin;
|
@Value("${bot.botLogin}") private String botLogin;
|
||||||
@Value("${bot.master}") private String masterId;
|
@Value("${bot.master}") private String masterId;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user