update version

This commit is contained in:
shoopea 2019-12-13 10:53:47 +08:00
parent fdd2853d14
commit 9406962dd1

View File

@ -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,