user

package
v0.53.2 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2026 License: AGPL-3.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetCtx

func GetCtx() *ext.Context

func GetMediaMessageCh added in v0.28.0

func GetMediaMessageCh() chan MediaMessageEvent

func Login

func Login(ctx context.Context) (*gotgproto.Client, error)

Types

type MediaMessageEvent added in v0.28.0

type MediaMessageEvent struct {
	Ctx       *ext.Context
	ChatID    int64 // from witch the media message was sent
	MessageID int
	File      tfile.TGFileMessage
}

type MediaMessageHandler added in v0.28.0

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

Jump to

Keyboard shortcuts

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