telega 0.0.5

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.

Build Status

Implemented features

Methods

setWebhook, deleteWebhook, getWebhookInfo, getUpdates, getMe, sendMessage, 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, editMessageText, editMessageCaption, editMessageReplyMarkup, deleteMessage, sendSticker, getStickerSet, uploadStickerFile, createNewStickerSet, addStickerToSet, setStickerPositionInSet, deleteStickerFromSet

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

Types

Webhook, Update, User, Chat, Message, PhotoSize, 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, ChosenInlineResult Sticker, StickerSet, MaskPosition InlineQuery, all InlineQueryResult* types, all InputMessageContent types

Authors:
  • Pavel Chebotarev
Dependencies:
vibe-d:data, 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