Annotation Interface BotText
Maps a handler method to one or more plain-text Telegram messages.
The annotated method is invoked when an incoming message's text matches any of the specified strings.
An empty
value array matches all text messages not handled by a more specific mapping.- Since:
- 0.0.1
- Author:
- Islom Mirsaburov
-
Optional Element Summary
Optional Elements
-
Element Details
-
value
String[] valueThe exact text strings that trigger this handler.- Returns:
- an array of text values to match against incoming message text
- Default:
{}
-