Documentation ¶
Index ¶
- Constants
- Variables
- func GetCode(phone string) (string, error)
- func GetFullMediaByte(info MediaInfo, sizeType string) ([]byte, error)
- func GetMediaByteChunck(info MediaInfo, sizeType string, offsetNum int) ([]byte, error)
- func GetStatus() (bool, error)
- func IsClientRunning() bool
- func LoginWithCode(phone, code, phoneCodeHash string) error
- func RemoveSession()
- func StartTelegramClient(appID int, appHash string, address string, auth *proxy.Auth, ...) error
- type ChatInfo
- type MediaInfo
- type PhotoSizeInfo
Constants ¶
View Source
const ClientContinue = false
View Source
const ClientStop = true
Variables ¶
View Source
var (
TaskQueue = make(chan func() bool, 100)
)
Functions ¶
func GetMediaByteChunck ¶
func IsClientRunning ¶
func IsClientRunning() bool
func LoginWithCode ¶
func RemoveSession ¶
func RemoveSession()
Types ¶
Click to show internal directories.
Click to hide internal directories.