telega 0.0.1

Telegram Bot API implementation


To use this package, put the following dependency into your project's dependencies section:

dub.json
dub.sdl

Telega

Telegram bot API implementation.

Implemented features

Methods

getUpdates, getMe, sendMessage

TBD: setWebhook, deleteWebhook, getWebhookInfo, forwardMessage, sendPhoto, sendAudio, sendDocument, sendVideo, sendVoice, sendVideoNote, sendMediaGroup, sendLocation, editMessageLiveLocation, stopMessageLiveLocation, sendVenue, sendContact, sendChatAction, getUserProfilePhotos, getFile, kickChatMember, unbanChatMember, restrictChatMember, promoteChatMember, exportChatInviteLink, setChatPhoto, deleteChatPhoto, setChatTitle, setChatDescription, pinChatMessage, unpinChatMessage, leaveChat, getChat, getChatAdministrators, getChatMembersCount, getChatMember, setChatStickerSet, deleteChatStickerSet, answerCallbackQuery.

TBD additional: sending files, inline mode, payments, games, webhook mode

Types

Update, User, Chat, Message(partially), PhotoSize

TBD: Message, MessageEntity, Audio, Document, Video, Voice, VideoNote, Contact, Location, Venue, UserProfilePhotos, File, ReplyKeyboardMarkup, KeyboardButton, ReplyKeyboardRemove, InlineKeyboardMarkup, InlineKeyboardButton, CallbackQuery, ForceReply, ChatPhoto, ChatMember, ResponseParameters, InputMedia, InputMediaPhoto, InputMediaVideo, InputFile

TBD inline types: InlineQuery, InlineQueryResult, InlineQueryResultArticle, InlineQueryResultPhoto, InlineQueryResultGif, InlineQueryResultMpeg4Gif, InlineQueryResultVideo, InlineQueryResultAudio, InlineQueryResultVoice, InlineQueryResultDocument, InlineQueryResultLocation, InlineQueryResultVenue, InlineQueryResultContact, InlineQueryResultGame, InlineQueryResultCachedPhoto, InlineQueryResultCachedGif, InlineQueryResultCachedMpeg4Gif, InlineQueryResultCachedSticker, InlineQueryResultCachedDocument, InlineQueryResultCachedVideo, InlineQueryResultCachedVoice, InlineQueryResultCachedAudio, InputMessageContent, InputTextMessageContent, InputLocationMessageContent, InputVenueMessageContent, InputContactMessageContent, ChosenInlineResult

Authors:
Pavel Chebotarev
Dependencies:
asdf, vibe-d:http
Versions:
0.0.1 2018-Apr-07
~master 2018-Apr-08
~tests-travisio 2018-Apr-15
~entities 2018-Apr-14
Show all 4 versions
Download Stats:
  • 2 downloads today

  • 3 downloads this week

  • 3 downloads this month

  • 3 downloads total

Score:
0.9