18 lines
402 B
Java
18 lines
402 B
Java
package hdvtdev.telegram.handler.annotations;
|
|
|
|
import java.lang.annotation.ElementType;
|
|
import java.lang.annotation.Retention;
|
|
import java.lang.annotation.RetentionPolicy;
|
|
import java.lang.annotation.Target;
|
|
|
|
@Target(ElementType.METHOD)
|
|
@Retention(RetentionPolicy.SOURCE)
|
|
public @interface BotCommand {
|
|
|
|
String name() default "";
|
|
String description();
|
|
|
|
String botId() default "primary";
|
|
|
|
}
|