@Target(value=METHOD) @Retention(value=RUNTIME) @Documented @BotRequest(type=MESSAGE) public @interface MessageRequest
MessageRequest is a
composed annotation that acts as a shortcut for BotRequest(method = RequestMethod.MESSAGE).| Modifier and Type | Optional Element and Description |
|---|---|
String[] |
path
Alias for
BotRequest.path(). |
String[] |
value
Alias for
BotRequest.value(). |
@AliasFor(annotation=BotRequest.class) public abstract String[] value
BotRequest.value().@AliasFor(annotation=BotRequest.class) public abstract String[] path
BotRequest.path().Copyright © 2022. All rights reserved.