waipu

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: May 1, 2024 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Batch

func Batch(ctx context.Context, cl Telegramer, ids []int64) error

func List

func List(ctx context.Context, w io.Writer, cl Telegramer) error

Types

type Telegramer

type Telegramer interface {
	GetChats(ctx context.Context) ([]mtp.Entity, error)
	SearchAllMyMessages(ctx context.Context, dlg mtp.Entity, cb func(n int)) ([]messages.Elem, error)
	DeleteMessages(ctx context.Context, dlg mtp.Entity, messages []messages.Elem) (int, error)
}

Jump to

Keyboard shortcuts

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