mirror of
https://github.com/c0re100/gotdlib.git
synced 2026-02-21 20:20:17 +01:00
update for TDLib v1.5.0
This commit is contained in:
parent
7f5ecc75f7
commit
bb283b57fc
10 changed files with 3191 additions and 689 deletions
|
|
@ -42,6 +42,12 @@ func WithProxy(req *AddProxyRequest) Option {
|
|||
}
|
||||
}
|
||||
|
||||
func WithLogVerbosity(req *SetLogVerbosityLevelRequest) Option {
|
||||
return func(client *Client) {
|
||||
client.SetLogVerbosityLevel(req)
|
||||
}
|
||||
}
|
||||
|
||||
func NewClient(authorizationStateHandler AuthorizationStateHandler, options ...Option) (*Client, error) {
|
||||
catchersListener := make(chan *Response, 1000)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue