Versions in this module Expand all Collapse all v0 v0.0.1 Jul 18, 2018 Changes in this version + func SetFilePath(path string) + func SetLogVerbosityLevel(level int) + type Client struct + Client unsafe.Pointer + Updates chan Update + func NewClient(params ...Option) *Client + func (c *Client) Auth(authorizationState string) (Update, error) + func (c *Client) Destroy() + func (c *Client) Execute(jsonQuery interface{}) Update + func (c *Client) Receive(timeout float64) Update + func (c *Client) Send(jsonQuery interface{}) + func (c *Client) SendAndCatch(jsonQuery interface{}) (Update, error) + type Option func(*options) + func WithApplicationVersion(version string) Option + func WithChatInfoDatabase() Option + func WithDatabaseDir(path string) Option + func WithDeviceModel(model string) Option + func WithFileDatabase() Option + func WithFilesDir(path string) Option + func WithHash(hash string) Option + func WithID(id string) Option + func WithIgnoreFileNames() Option + func WithMessageDatabase() Option + func WithPhone(phone string) Option + func WithSecretChats() Option + func WithStorageOptimizer() Option + func WithSystemLanguage(lang string) Option + func WithSystemVersion(system string) Option + func WithTestDC() Option + type Update = map[string]interface