BotApi

Undocumented in source.
class BotApi {}

Constructors

this
this(string token, string baseUrl, HttpClient httpClient)
Undocumented in source.

Members

Functions

addStickerToSet
bool addStickerToSet(AddStickerToSetMethod m)
Undocumented in source. Be warned that the author may not have intended to support it.
addStickerToSet
bool addStickerToSet(int userId, string name, string pngSticker, string emojis)
Undocumented in source. Be warned that the author may not have intended to support it.
answerCallbackQuery
bool answerCallbackQuery(AnswerCallbackQueryMethod m)
Undocumented in source. Be warned that the author may not have intended to support it.
answerCallbackQuery
bool answerCallbackQuery(string callbackQueryId)
Undocumented in source. Be warned that the author may not have intended to support it.
answerInlineQuery
bool answerInlineQuery(AnswerInlineQueryMethod m)
Undocumented in source. Be warned that the author may not have intended to support it.
answerInlineQuery
bool answerInlineQuery(string inlineQueryId, InlineQueryResult[] results)
Undocumented in source. Be warned that the author may not have intended to support it.
callMethod
T callMethod(M method)
Undocumented in source. Be warned that the author may not have intended to support it.
createNewStickerSet
bool createNewStickerSet(CreateNewStickerSetMethod m)
Undocumented in source. Be warned that the author may not have intended to support it.
createNewStickerSet
bool createNewStickerSet(int userId, string name, string title, string pngSticker, string emojis)
Undocumented in source. Be warned that the author may not have intended to support it.
deleteChatPhoto
bool deleteChatPhoto(DeleteChatPhotoMethod m)
Undocumented in source. Be warned that the author may not have intended to support it.
deleteChatPhoto
bool deleteChatPhoto(T1 chatId)
Undocumented in source. Be warned that the author may not have intended to support it.
deleteChatStickerSet
bool deleteChatStickerSet(DeleteChatStickerSetMethod m)
Undocumented in source. Be warned that the author may not have intended to support it.
deleteChatStickerSet
bool deleteChatStickerSet(T1 chatId)
Undocumented in source. Be warned that the author may not have intended to support it.
deleteMessage
bool deleteMessage(DeleteMessageMethod m)
Undocumented in source. Be warned that the author may not have intended to support it.
deleteMessage
bool deleteMessage(T1 chatId, uint messageId)
Undocumented in source. Be warned that the author may not have intended to support it.
deleteStickerFromSet
bool deleteStickerFromSet(DeleteStickerFromSetMethod m)
Undocumented in source. Be warned that the author may not have intended to support it.
deleteStickerFromSet
bool deleteStickerFromSet(string sticker)
Undocumented in source. Be warned that the author may not have intended to support it.
deleteWebhook
bool deleteWebhook()
Undocumented in source. Be warned that the author may not have intended to support it.
editMessageCaption
bool editMessageCaption(EditMessageCaptionMethod m)
Undocumented in source. Be warned that the author may not have intended to support it.
editMessageCaption
bool editMessageCaption(T1 chatId, uint messageId, string caption)
Undocumented in source. Be warned that the author may not have intended to support it.
editMessageCaption
bool editMessageCaption(string inlineMessageId, string caption)
Undocumented in source. Be warned that the author may not have intended to support it.
editMessageLiveLocation
Nullable!Message editMessageLiveLocation(EditMessageLiveLocationMethod m)
Undocumented in source. Be warned that the author may not have intended to support it.
editMessageLiveLocation
Nullable!Message editMessageLiveLocation(string inlineMessageId, float latitude, float longitude)
Undocumented in source. Be warned that the author may not have intended to support it.
editMessageLiveLocation
Nullable!Message editMessageLiveLocation(T1 chatId, uint messageId, float latitude, float longitude)
Undocumented in source. Be warned that the author may not have intended to support it.
editMessageReplyMarkup
bool editMessageReplyMarkup(EditMessageReplyMarkupMethod m)
Undocumented in source. Be warned that the author may not have intended to support it.
editMessageReplyMarkup
bool editMessageReplyMarkup(T1 chatId, uint messageId, T2 replyMarkup)
Undocumented in source. Be warned that the author may not have intended to support it.
editMessageReplyMarkup
bool editMessageReplyMarkup(string inlineMessageId, Nullable!ReplyMarkup replyMarkup)
Undocumented in source. Be warned that the author may not have intended to support it.
editMessageText
bool editMessageText(EditMessageTextMethod m)
Undocumented in source. Be warned that the author may not have intended to support it.
editMessageText
bool editMessageText(T1 chatId, uint messageId, string text)
Undocumented in source. Be warned that the author may not have intended to support it.
editMessageText
bool editMessageText(string inlineMessageId, string text)
Undocumented in source. Be warned that the author may not have intended to support it.
exportChatInviteLink
string exportChatInviteLink(ExportChatInviteLinkMethod m)
Undocumented in source. Be warned that the author may not have intended to support it.
exportChatInviteLink
string exportChatInviteLink(T1 chatId)
Undocumented in source. Be warned that the author may not have intended to support it.
forwardMessage
Message forwardMessage(T1 chatId, T2 fromChatId, uint messageId)
Undocumented in source. Be warned that the author may not have intended to support it.
forwardMessage
Message forwardMessage(ForwardMessageMethod m)
Undocumented in source. Be warned that the author may not have intended to support it.
getChat
Chat getChat(GetChatMethod m)
Undocumented in source. Be warned that the author may not have intended to support it.
getChat
Chat getChat(T1 chatId)
Undocumented in source. Be warned that the author may not have intended to support it.
getChatAdministrators
ChatMember getChatAdministrators(GetChatAdministratorsMethod m)
Undocumented in source. Be warned that the author may not have intended to support it.
getChatAdministrators
ChatMember getChatAdministrators(T1 chatId)
Undocumented in source. Be warned that the author may not have intended to support it.
getChatMember
ChatMember getChatMember(GetChatMemberMethod m)
Undocumented in source. Be warned that the author may not have intended to support it.
getChatMember
ChatMember getChatMember(T1 chatId, int userId)
Undocumented in source. Be warned that the author may not have intended to support it.
getChatMembersCount
uint getChatMembersCount(GetChatMembersCountMethod m)
Undocumented in source. Be warned that the author may not have intended to support it.
getChatMembersCount
uint getChatMembersCount(T1 chatId)
Undocumented in source. Be warned that the author may not have intended to support it.
getFile
File getFile(GetFileMethod m)
Undocumented in source. Be warned that the author may not have intended to support it.
getFile
File getFile(string fileId)
Undocumented in source. Be warned that the author may not have intended to support it.
getMe
User getMe()
Undocumented in source. Be warned that the author may not have intended to support it.
getStickerSet
StickerSet getStickerSet(GetStickerSetMethod m)
Undocumented in source. Be warned that the author may not have intended to support it.
getStickerSet
StickerSet getStickerSet(string name)
Undocumented in source. Be warned that the author may not have intended to support it.
getUpdates
Update[] getUpdates(int offset, ubyte limit, uint timeout, string[] allowedUpdates)
Undocumented in source. Be warned that the author may not have intended to support it.
getUserProfilePhotos
UserProfilePhotos getUserProfilePhotos(GetUserProfilePhotosMethod m)
Undocumented in source. Be warned that the author may not have intended to support it.
getUserProfilePhotos
UserProfilePhotos getUserProfilePhotos(int userId)
Undocumented in source. Be warned that the author may not have intended to support it.
getWebhookInfo
WebhookInfo getWebhookInfo()
Undocumented in source. Be warned that the author may not have intended to support it.
kickChatMember
bool kickChatMember(KickChatMemberMethod m)
Undocumented in source. Be warned that the author may not have intended to support it.
kickChatMember
bool kickChatMember(T1 chatId, int userId)
Undocumented in source. Be warned that the author may not have intended to support it.
leaveChat
bool leaveChat(LeaveChatMethod m)
Undocumented in source. Be warned that the author may not have intended to support it.
leaveChat
bool leaveChat(T1 chatId)
Undocumented in source. Be warned that the author may not have intended to support it.
pinChatMessage
bool pinChatMessage(PinChatMessageMethod m)
Undocumented in source. Be warned that the author may not have intended to support it.
pinChatMessage
bool pinChatMessage(T1 chatId, uint messageId)
Undocumented in source. Be warned that the author may not have intended to support it.
promoteChatMember
bool promoteChatMember(PromoteChatMemberMethod m)
Undocumented in source. Be warned that the author may not have intended to support it.
promoteChatMember
bool promoteChatMember(T1 chatId, int userId)
Undocumented in source. Be warned that the author may not have intended to support it.
restrictChatMember
bool restrictChatMember(RestrictChatMemberMethod m)
Undocumented in source. Be warned that the author may not have intended to support it.
restrictChatMember
bool restrictChatMember(T1 chatId, int userId)
Undocumented in source. Be warned that the author may not have intended to support it.
sendAudio
Message sendAudio(SendAudioMethod m)
Undocumented in source. Be warned that the author may not have intended to support it.
sendAudio
Message sendAudio(T1 chatId, string audio)
Undocumented in source. Be warned that the author may not have intended to support it.
sendChatAction
bool sendChatAction(SendChatActionMethod m)
Undocumented in source. Be warned that the author may not have intended to support it.
sendChatAction
bool sendChatAction(T1 chatId, string action)
Undocumented in source. Be warned that the author may not have intended to support it.
sendContact
Message sendContact(SendContactMethod m)
Undocumented in source. Be warned that the author may not have intended to support it.
sendContact
Message sendContact(T1 chatId, string phone_number, string first_name)
Undocumented in source. Be warned that the author may not have intended to support it.
sendDocument
Message sendDocument(SendDocumentMethod m)
Undocumented in source. Be warned that the author may not have intended to support it.
sendDocument
Message sendDocument(T1 chatId, string document)
Undocumented in source. Be warned that the author may not have intended to support it.
sendLocation
Message sendLocation(SendLocationMethod m)
Undocumented in source. Be warned that the author may not have intended to support it.
sendLocation
Message sendLocation(T1 chatId, float latitude, float longitude)
Undocumented in source. Be warned that the author may not have intended to support it.
sendMediaGroup
Message sendMediaGroup(SendMediaGroupMethod m)
Undocumented in source. Be warned that the author may not have intended to support it.
sendMediaGroup
Message sendMediaGroup(T1 chatId, InputMedia[] media)
Undocumented in source. Be warned that the author may not have intended to support it.
sendMessage
Message sendMessage(T chatId, string text)
Undocumented in source. Be warned that the author may not have intended to support it.
sendMessage
Message sendMessage(SendMessageMethod m)
Undocumented in source. Be warned that the author may not have intended to support it.
sendPhoto
Message sendPhoto(SendPhotoMethod m)
Undocumented in source. Be warned that the author may not have intended to support it.
sendPhoto
Message sendPhoto(T1 chatId, string photo)
Undocumented in source. Be warned that the author may not have intended to support it.
sendSticker
Message sendSticker(SendStickerMethod m)
Undocumented in source. Be warned that the author may not have intended to support it.
sendSticker
Message sendSticker(T1 chatId, string sticker)
Undocumented in source. Be warned that the author may not have intended to support it.
sendVenue
Message sendVenue(SendVenueMethod m)
Undocumented in source. Be warned that the author may not have intended to support it.
sendVenue
Message sendVenue(T1 chatId, float latitude, float longitude, string title, string address)
Undocumented in source. Be warned that the author may not have intended to support it.
sendVideo
Message sendVideo(SendVideoMethod m)
Undocumented in source. Be warned that the author may not have intended to support it.
sendVideo
Message sendVideo(T1 chatId, string video)
Undocumented in source. Be warned that the author may not have intended to support it.
sendVideoNote
Message sendVideoNote(SendVideoNoteMethod m)
Undocumented in source. Be warned that the author may not have intended to support it.
sendVideoNote
Message sendVideoNote(T1 chatId, string videoNote)
Undocumented in source. Be warned that the author may not have intended to support it.
sendVoice
Message sendVoice(SendVoiceMethod m)
Undocumented in source. Be warned that the author may not have intended to support it.
sendVoice
Message sendVoice(T1 chatId, string voice)
Undocumented in source. Be warned that the author may not have intended to support it.
setChatDescription
bool setChatDescription(SetChatDescriptionMethod m)
Undocumented in source. Be warned that the author may not have intended to support it.
setChatDescription
bool setChatDescription(T1 chatId, string description)
Undocumented in source. Be warned that the author may not have intended to support it.
setChatPhoto
bool setChatPhoto(SetChatPhotoMethod m)
Undocumented in source. Be warned that the author may not have intended to support it.
setChatPhoto
bool setChatPhoto(T1 chatId, InputFile photo)
Undocumented in source. Be warned that the author may not have intended to support it.
setChatStickerSet
bool setChatStickerSet(SetChatStickerSetMethod m)
Undocumented in source. Be warned that the author may not have intended to support it.
setChatStickerSet
bool setChatStickerSet(T1 chatId, string stickerSetName)
Undocumented in source. Be warned that the author may not have intended to support it.
setChatTitle
bool setChatTitle(SetChatTitleMethod m)
Undocumented in source. Be warned that the author may not have intended to support it.
setChatTitle
bool setChatTitle(T1 chatId, string title)
Undocumented in source. Be warned that the author may not have intended to support it.
setStickerPositionInSet
bool setStickerPositionInSet(SetStickerPositionInSetMethod m)
Undocumented in source. Be warned that the author may not have intended to support it.
setStickerPositionInSet
bool setStickerPositionInSet(string sticker, uint position)
Undocumented in source. Be warned that the author may not have intended to support it.
setWebhook
bool setWebhook(string url)
Undocumented in source. Be warned that the author may not have intended to support it.
setWebhook
bool setWebhook(SetWebhookMethod m)
Undocumented in source. Be warned that the author may not have intended to support it.
stopMessageLiveLocation
Nullable!Message stopMessageLiveLocation(StopMessageLiveLocationMethod m)
Undocumented in source. Be warned that the author may not have intended to support it.
stopMessageLiveLocation
Nullable!Message stopMessageLiveLocation(string inlineMessageId)
Undocumented in source. Be warned that the author may not have intended to support it.
stopMessageLiveLocation
Nullable!Message stopMessageLiveLocation(T1 chatId, uint messageId)
Undocumented in source. Be warned that the author may not have intended to support it.
unbanChatMember
bool unbanChatMember(UnbanChatMemberMethod m)
Undocumented in source. Be warned that the author may not have intended to support it.
unbanChatMember
bool unbanChatMember(T1 chatId, int userId)
Undocumented in source. Be warned that the author may not have intended to support it.
unpinChatMessage
bool unpinChatMessage(UnpinChatMessageMethod m)
Undocumented in source. Be warned that the author may not have intended to support it.
unpinChatMessage
bool unpinChatMessage(T1 chatId)
Undocumented in source. Be warned that the author may not have intended to support it.
uploadStickerFile
File uploadStickerFile(UploadStickerFileMethod m)
Undocumented in source. Be warned that the author may not have intended to support it.
uploadStickerFile
File uploadStickerFile(int userId, InputFile pngSticker)
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

httpClient
HttpClient httpClient;
Undocumented in source.

Meta