BotCommandsMessagesFactory
Factory of BotCommandsMessages, the default implementation is DefaultBotCommandsMessagesFactory, or, if a non-default DefaultMessagesFactory exists, an adapter is used.
Complete customization
Returning a BotCommandsMessagesFactory from a service factory will disable the default implementation, this will let you return a completely custom instance, in which you can craft entirely custom messages in any way you see fit.
Inheritors
Functions
Link copied to clipboard
Retrieves a BotCommandsMessages instance for the given locale.
Retrieves a BotCommandsMessages instance, with the locale derived from this event.
Retrieves a BotCommandsMessages instance, with the locale derived from this interaction.