telega 0.0.2

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, forwardMessage

TBD: setWebhook, deleteWebhook, getWebhookInfo, 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:
vibe-d:http, asdf
Versions:
0.0.9 2019-Jul-08
0.0.8 2019-May-11
0.0.7 2019-Apr-27
0.0.6 2018-Dec-31
0.0.5 2018-Dec-17
Show all 16 versions
Download Stats:
  • 0 downloads today

  • 0 downloads this week

  • 2 downloads this month

  • 121 downloads total

Score:
0.0
Short URL:
telega.dub.pm