1

Initial commit

This commit is contained in:
2018-12-04 08:32:11 +04:00
commit 3fdcb11dcd
71 changed files with 49511 additions and 0 deletions

10
internal/config/struct.go Normal file
View File

@@ -0,0 +1,10 @@
// Fantasy World Zookeeper Helper Bot
// Copyright (c) 2018 Vladimir "fat0troll" Hodakov
package config
// Struct is a main configuration structure that holds all other
// structs within.
type Struct struct {
TDLib TDLib `yaml:"tdlib"`
}

14
internal/config/tdlib.go Normal file
View File

@@ -0,0 +1,14 @@
// Fantasy World Zookeeper Helper Bot
// Copyright (c) 2018 Vladimir "fat0troll" Hodakov
package config
// TDLib struct handles all configuration of tdlib
// tdlib is an official Telegram MTProto library
type TDLib struct {
APIID string `yaml:"api_id"`
APIHash string `yaml:"api_hash"`
DatabaseDirectory string `yaml:"database_directory"`
FilesDirectory string `yaml:"files_directory"`
ErrorsFile string `yaml:"errors_file"`
}