Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AntiFloodData ¶
type CancelableContext ¶
type CancelableContext struct {
Id int64
Cancel context.CancelFunc
}
func (*CancelableContext) GenerateId ¶
func (ctx *CancelableContext) GenerateId()
type ErrorMessage ¶
type ErrorMessage struct {
Ok bool `json:"ok"`
Description string `json:"description"`
Code int `json:"error_code"`
Parameters *ResponseParameters `json:"parameters,omitempty"`
}
type InputMediaFiles ¶
type ProgressCallable ¶
type ResponseParameters ¶
type ResponseParameters struct {
MigrateToChatID int64 `json:"migrate_to_chat_id,omitempty"`
RetryAfter int `json:"retry_after,omitempty"`
}
ResponseParameters Describes why a request was unsuccessful.
type Result ¶
type Result struct {
Kind int
Result any
Error ErrorMessage
}
Click to show internal directories.
Click to hide internal directories.