All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.github.dehuckakpyt.telegrambot.template.SpringMessageTemplate.kt Maven / Gradle / Ivy

There is a newer version: 0.11.5b
Show newest version
package io.github.dehuckakpyt.telegrambot.template

import org.springframework.boot.context.properties.ConfigurationProperties


/**
 * Created on 26.12.2023.
 *

* * @author Denis Matytsin */ @ConfigurationProperties("telegram-bot.template") data class SpringMessageTemplate( override var whenCommandNotFound: String = "An unknown command \${command} has been entered. You can view the possible actions by invoking the /help command.", override var whenUnexpectedMessageType: String = "A different message type is pending.", override var whenStepNotFound: String = "Unexpected message. You can view possible actions by calling /help.", override var whenKnownException: String = "\${message}", override var whenUnknownException: String = "An unexpected error occurred. Please contact the developer.", ) : MessageTemplate()





© 2015 - 2025 Weber Informatics LLC | Privacy Policy