Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthErrorMsg ¶
type AuthErrorMsg struct {
Err error
}
AuthErrorMsg is sent when the Telegram client fails during authentication.
type AuthStateChangedMsg ¶
AuthStateChangedMsg is sent from the authorizer callback.
type AuthenticatedMsg ¶
AuthenticatedMsg signals that authentication is complete.
type FocusChangedMsg ¶
type FocusChangedMsg struct {
Panel FocusPanel
}
FocusChangedMsg signals a focus panel change.
type FocusPanel ¶
type FocusPanel int
FocusPanel identifies which UI panel has focus.
const ( PanelChatList FocusPanel = iota PanelChatView PanelComposer PanelSearch PanelContacts PanelGroupInfo )
type ScreenState ¶
type ScreenState int
ScreenState identifies the current top-level screen.
const ( ScreenAuth ScreenState = iota ScreenLoading ScreenMain )
Click to show internal directories.
Click to hide internal directories.