update version
This commit is contained in:
parent
fdd2853d14
commit
9406962dd1
4
main.go
4
main.go
@ -4,6 +4,7 @@ import (
|
||||
"flag"
|
||||
"fmt"
|
||||
"log"
|
||||
"runtime"
|
||||
"sync"
|
||||
"time"
|
||||
|
||||
@ -61,12 +62,13 @@ func main() {
|
||||
tdlib.SetFilePath("./errors.txt")
|
||||
|
||||
// Create new instance of client
|
||||
sysv := fmt.Sprintf("%s (%s)", runtime.GOOS, runtime.GOARCH)
|
||||
client := tdlib.NewClient(tdlib.Config{
|
||||
APIID: "187786",
|
||||
APIHash: "e782045df67ba48e441ccb105da8fc85",
|
||||
SystemLanguageCode: "en",
|
||||
DeviceModel: "ChatWarsClient",
|
||||
SystemVersion: "0.1",
|
||||
SystemVersion: sysv,
|
||||
ApplicationVersion: "0.1",
|
||||
UseMessageDatabase: true,
|
||||
UseFileDatabase: true,
|
||||
|
Loading…
Reference in New Issue
Block a user