Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BotClient ¶
type BotClient struct {
// contains filtered or unexported fields
}
func NewBotClient ¶
type UploaderProgress ¶
type UploaderProgress struct {
// contains filtered or unexported fields
}
func NewUploaderProgress ¶
func NewUploaderProgress() *UploaderProgress
func (*UploaderProgress) Chunk ¶
func (up *UploaderProgress) Chunk(_ context.Context, state uploader.ProgressState) error
func (*UploaderProgress) Close ¶
func (up *UploaderProgress) Close()
func (*UploaderProgress) ProgressChan ¶
func (up *UploaderProgress) ProgressChan() <-chan int32
type UserBotClient ¶
type UserBotClient struct {
// contains filtered or unexported fields
}
func NewUserBotClient ¶
func NewUserBotClient(ctx context.Context, conf *config.Config) *UserBotClient
func (*UserBotClient) UploadFile ¶
func (c *UserBotClient) UploadFile(ctx context.Context, to tg.InputPeerClass, videoOption *models.VideoOption, path string) error
Click to show internal directories.
Click to hide internal directories.