service

package
v1.8.4 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TGFileFileReader

type TGFileFileReader struct {
	RC       io.ReadCloser
	Size     int64
	Name     string
	FilePath string // set when backed by a disk cache file
}

func GetTGFileReader

func GetTGFileReader(ctx context.Context, chatID int64, messageId int) (*TGFileFileReader, error)

func (*TGFileFileReader) Close

func (r *TGFileFileReader) Close() error

func (*TGFileFileReader) Read

func (r *TGFileFileReader) Read(p []byte) (n int, err error)

Jump to

Keyboard shortcuts

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