Documentation ¶
Overview ¶
Package dl implements documentation downloading facility.
Index ¶
Constants ¶
View Source
const NoLayer = 0
NoLayer can be passed as "layer" argument.
Variables ¶
View Source
var ErrReadOnly = errors.New("write operation in read only mode")
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) Get ¶
Get fetches documentation by key and layer.
Pass "NoLayer" as layer to use default documentation. Examples for "key" value:
- "schema" for index of documentation
- "constructor/inputMediaGeoLive" for constructor "inputMediaGeoLive"
- "type/InputMedia" for class "InputMedia"
- "method/messages.addChatUser" for "messages.addChatUser" method
Blank key is invalid.
Click to show internal directories.
Click to hide internal directories.