Documentation
¶
Overview ¶
Package tg is a minimal Telegram Bot API HTTP client.
Index ¶
Constants ¶
View Source
const DefaultBaseURL = "https://api.telegram.org"
Variables ¶
This section is empty.
Functions ¶
Types ¶
type APIError ¶
type APIError struct {
Code int `json:"error_code"`
Description string `json:"description"`
Parameters json.RawMessage `json:"parameters,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.