Documentation ¶
Index ¶
- Variables
- type Locale
- func (l *Locale) CancelButton() string
- func (l *Locale) DefaultButton() string
- func (l *Locale) ErrContextTooLongMessage() string
- func (l *Locale) ErrDefaultMessage() string
- func (l *Locale) ErrNotApproved() string
- func (l *Locale) HelpBotCommand() string
- func (l *Locale) HelpMessage() string
- func (l *Locale) InitialSystemPrompt() string
- func (l *Locale) InviteBotCommand() string
- func (l *Locale) InviteMessage(url, code string) string
- func (l *Locale) ResetBotCommand() string
- func (l *Locale) ResetInlineButton() string
- func (l *Locale) ResetMessage() string
- func (l *Locale) SystemPromptCommand() string
- func (l *Locale) SystemPromptUnchanged() string
- func (l *Locale) SystemPromptUpdatedMessage(newPrompt string) string
- func (l *Locale) TranscribeMessage() string
- func (l *Locale) UnsupportedMessage() string
- func (l *Locale) UpdateSystemPromptMessage(currentPrompt string) string
Constants ¶
This section is empty.
Variables ¶
View Source
var Bundle = i18n.NewBundle(language.English)
Functions ¶
This section is empty.
Types ¶
type Locale ¶
type Locale struct {
// contains filtered or unexported fields
}
func (*Locale) CancelButton ¶
func (*Locale) DefaultButton ¶
func (*Locale) ErrContextTooLongMessage ¶
func (*Locale) ErrDefaultMessage ¶
func (*Locale) ErrNotApproved ¶
func (*Locale) HelpBotCommand ¶
func (*Locale) HelpMessage ¶
func (*Locale) InitialSystemPrompt ¶
func (*Locale) InviteBotCommand ¶
func (*Locale) InviteMessage ¶
func (*Locale) ResetBotCommand ¶
func (*Locale) ResetInlineButton ¶
func (*Locale) ResetMessage ¶
func (*Locale) SystemPromptCommand ¶
func (*Locale) SystemPromptUnchanged ¶
func (*Locale) SystemPromptUpdatedMessage ¶
func (*Locale) TranscribeMessage ¶
func (*Locale) UnsupportedMessage ¶
func (*Locale) UpdateSystemPromptMessage ¶
Click to show internal directories.
Click to hide internal directories.