class PlatformPlays
- PlatformPlays
- Reference
- Object
Defined in:
platform_plays.crplatform_plays/config.cr
platform_plays/match.cr
platform_plays/telegram.cr
Constant Summary
-
VERSION =
"0.1.0"
Constructors
Instance Method Summary
- #channel : Int32 | String
- #channel=(channel : Int32 | String)
-
#commit(game_id, matches)
There seems to be no actively maintained libgit2 binding yet, so using ShellExec for now
- #config : Array(GameConfig)
- #config=(config : Array(GameConfig))
- #get_updates(timeout = 0)
- #next_update_id : Int32
- #next_update_id=(next_update_id : Int32)
- #run
- #send_message(message : String)
- #send_poll(question : String, options : Array(String))
Constructor Detail
def self.new(channel : Int32 | String, token : String, url = "https://api.telegram.org/bot")
#
Instance Method Detail
def commit(game_id, matches)
#
There seems to be no actively maintained libgit2 binding yet, so using ShellExec for now