Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct {
Telegram TelegramConfig `toml:"telegram"`
Storage StorageConfig `toml:"storage"`
UI UIConfig `toml:"ui"`
Media MediaConfig `toml:"media"`
Notifications NotificationConfig `toml:"notifications"`
Keys KeyConfig `toml:"keys"`
}
type KeyConfig ¶
type KeyConfig struct {
Quit string `toml:"quit"`
FocusChatList string `toml:"focus_chat_list"`
FocusChatView string `toml:"focus_chat_view"`
FocusComposer string `toml:"focus_composer"`
Search string `toml:"search"`
Contacts string `toml:"contacts"`
NextChat string `toml:"next_chat"`
PrevChat string `toml:"prev_chat"`
Reply string `toml:"reply"`
EditMessage string `toml:"edit_message"`
DeleteMessage string `toml:"delete_message"`
Forward string `toml:"forward"`
ScrollUp string `toml:"scroll_up"`
ScrollDown string `toml:"scroll_down"`
PageUp string `toml:"page_up"`
PageDown string `toml:"page_down"`
}
type MediaConfig ¶
type MediaConfig struct {
ImageProtocol string `toml:"image_protocol"`
MaxImageWidth int `toml:"max_image_width"`
MaxImageHeight int `toml:"max_image_height"`
VoicePlayer string `toml:"voice_player"`
VideoPlayer string `toml:"video_player"`
AutoDownloadPhotos bool `toml:"auto_download_photos"`
AutoDownloadVoice bool `toml:"auto_download_voice"`
AutoDownloadLimitMB int `toml:"auto_download_limit_mb"`
}
type NotificationConfig ¶
type StorageConfig ¶
type TelegramConfig ¶
Click to show internal directories.
Click to hide internal directories.