Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var CHANNEL_PS_CHAT_ID int64 = -77777777777
View Source
var CHANNEL_PS_NAME = "@productionChannelName"
View Source
var KEY = "your_telegram_bot_key"
View Source
var POSTING_END_HOUR = 19
View Source
var POSTING_START_HOUR = 10
View Source
var TESTING_CHANNEL_CHAT_ID int64 = -77777777777
View Source
var TESTING_CHANNEL_NAME = "@testingChannelName"
Functions ¶
func BotServerProcess ¶
func GetPsPostGameBundleTask ¶
func GetPsPostGameBundleTask(bundleSize int) taskmanager.SingleTask
func GetPsPostingPeriodicTask ¶
func GetPsPostingPeriodicTask(taskControlChannel chan string) taskmanager.SingleTask
func TelegramBotTest ¶
func TelegramBotTest()
Types ¶
type PostGameDiscount ¶
type PostGameDiscount struct { HeaderTitle string GameTitle string DiscountString string PriceString string GameCoverURL string GameURL string }
func GeneratePostFromSource ¶
func GeneratePostFromSource(fromSourceType string) (newPost PostGameDiscount, screenshots []string)
Click to show internal directories.
Click to hide internal directories.