Golang Telegram library (tdlib) set client
Go 환경에 텔레그램 데이터베이스 라이브러리(tdlib)를 import 하는 과정은 설명 못하겠다. 더럽게 복잡했기때문이다. c := tdlib.NewClient(tdlib.Config{ APIID: ID, APIHash: Hash, SystemLanguageCode: Lang, DeviceModel: Mode, SystemVersion: "1.0.0", ApplicationVersion: "1.0.0", UseMessageDatabase: true, UseFileDatabase: true, UseChatInfoDatabase: true, UseTestDataCenter: false, DatabaseDirectory: "./tdlib-db-" + ID, FileDirectory: "./tdlib-file..
2021. 4. 14.