marvin-0.1.4: A modular chat bot

Copyright(c) Justus Adam 2017
LicenseBSD3
Maintainerdev@justus.science
Stabilityexperimental
PortabilityPOSIX
Safe HaskellNone
LanguageHaskell2010

Marvin.Adapter.Telegram.Push

Description

 

Synopsis

Documentation

data Push Source #

Use the telegram API by recieving updates as a server via webhook

Note: The initialization for this adapter _includes_ registering or clearing its own webhook.

data TelegramChat Source #

A telegram chat object as contained in telegram updates

data ChatType Source #

Chat type as defined by the telegram api

data TelegramUser Source #

A user object as contained in the telegram update objects

class MkTelegram a Source #

Class to enable polymorphism over update mechanics for TelegramAdapter

Minimal complete definition

mkEventGetter, mkAdapterId