WhosInBot
DataStore DataStore
HandleCommand(command Command) (Response, Error)
Command struct
name string
params string[]
Response struct
message string
RollCall struct
ChatID string
Title string
RollCallResponse struct
ChatID int64
UserID int64
Response string
Reasons string
DataStore interface
SetRollCall(RollCall)
DeleteRollCall(RollCall)
SetResponse(RollCallResponse)
DeleteResponse(RollCallResponse)
DynamoDataStore
SetRollCall(RollCall)
DeleteRollCall(RollCall)
SetResponse(RollCallResponse)
DeleteResponse(RollCallResponse)
NewDynamoDataStore(DynamoConfig)
Helpers
NewTelegram(TelegramConfig)
Telegram
BotApi
ParseUpdateRequest(string) (Command, error)
SendMessage(Response) (error)
Main
LoadDynamoConfig
LoadTelegramConfig
Main
LoadDynamoConfig
LoadTelegramConfig
LoadHttpConfig
##Package whosinbot/config TelegramConfig HttpConfig DynamoConfig
- start_roll_call (title)
- in (reason)
- out (reason)
- set_title (title)
- set_in_for (name)
- end_roll_call
- ssh