telega 0.0.1

Telegram Bot API implementation


To use this package, run the following command in your project's root directory:

Manual usage
Put the following dependency into your project's dependences section:

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:
vibe-d:http, asdf
Versions:
0.2.1 2024-Jan-07
0.2.0 2020-Dec-05
0.1.2 2020-Jul-01
0.1.1 2020-Jun-21
0.1.0 2020-Jun-20
Show all 18 versions
Download Stats:
  • 0 downloads today

  • 0 downloads this week

  • 0 downloads this month

  • 314 downloads total

Score:
0.7
Short URL:
telega.dub.pm