Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AntiFloodData ¶ added in v1.4.0
type CancelableContext ¶
type CancelableContext struct { Id int64 Cancel context.CancelFunc }
func (*CancelableContext) GenerateId ¶
func (ctx *CancelableContext) GenerateId()
type ErrorMessage ¶ added in v1.2.9
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 ¶ added in v1.1.12
type ResponseParameters ¶ added in v1.2.9
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.