chatlist

package
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 9, 2026 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Model

type Model struct {
	// contains filtered or unexported fields
}

func New

func New() Model

func (Model) Focused

func (m Model) Focused() bool

func (Model) Init

func (m Model) Init() tea.Cmd

func (Model) SelectedChat

func (m Model) SelectedChat() (telegram.Chat, bool)

func (Model) SetActiveChat added in v0.1.1

func (m Model) SetActiveChat(id int64) Model

func (Model) SetFocus

func (m Model) SetFocus(focused bool) Model

func (Model) SetPickingForwardDest added in v0.2.0

func (m Model) SetPickingForwardDest(picking bool) Model

func (Model) SetSize

func (m Model) SetSize(w, h int) Model

func (Model) Update

func (m Model) Update(msg tea.Msg) (Model, tea.Cmd)

func (Model) View

func (m Model) View() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL