telegram

package
v0.0.0-...-f651122 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 21, 2019 License: GPL-3.0 Imports: 10 Imported by: 0

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 BotServerProcess(inKey string, controlChannel chan string)

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL