The same library here compiled for B4A .
SMMTeleBot
Author: SMM
Version: 1.12
SMMTeleBot
Author: SMM
Version: 1.12
- AnswerInlineQuery
Methods:- Initialize (inlineQueryId As java.lang.String, results As smm.telebot.InlineQueryResultWrapper[]) As smm.telebot.AnswerInlineQueryWrapper
- nextOffset (nextOffset As java.lang.String) As smm.telebot.AnswerInlineQueryWrapper
- cacheTime (cacheTime As int) As smm.telebot.AnswerInlineQueryWrapper
- isPersonal (isPersonal As boolean) As smm.telebot.AnswerInlineQueryWrapper
- switchPmText (switchPmText As java.lang.String) As smm.telebot.AnswerInlineQueryWrapper
- switchPmParameter (switchPmParameter As java.lang.String) As smm.telebot.AnswerInlineQueryWrapper
- IsInitialized As boolean
- BaseRequest
Methods:- Initialize (ba As anywheresoftware.b4a.BA) As void
- IsInitialized As boolean
- BaseResponse
Methods:- Initialize As void
- description As java.lang.String
- isOk As boolean
- errorCode As int
- parameters As com.pengrad.telegrambot.model.ResponseParameters
- IsInitialized As boolean
- CallbackQuery
Methods:- message As smm.telebot.cMessage
- id As java.lang.String
- Initialize As smm.telebot.CallbackQueryWrapper
- gameShortName As java.lang.String
- chatInstance As java.lang.String
- inlineMessageId As java.lang.String
- data As java.lang.String
- from As smm.telebot.cUser
- IsInitialized As boolean
- Audio
Methods:- fileSize As java.lang.Integer
- fileId As java.lang.String
- Initialize (ba As anywheresoftware.b4a.BA) As void
- title As java.lang.String
- duration As java.lang.Integer
- performer As java.lang.String
- mimeType As java.lang.String
- IsInitialized As boolean
- Chat
Methods:- id As java.lang.Long
- Initialize (ba As anywheresoftware.b4a.BA) As void
- lastName As java.lang.String
- title As java.lang.String
- username As java.lang.String
- firstName As java.lang.String
- type As java.lang.String
- IsInitialized As boolean
- Contact
Methods:- Initialize (ba As anywheresoftware.b4a.BA) As void
- lastName As java.lang.String
- phoneNumber As java.lang.String
- userId As java.lang.Integer
- firstName As java.lang.String
- IsInitialized As boolean
- Document
Methods:- fileSize As java.lang.Integer
- fileId As java.lang.String
- Initialize (ba As anywheresoftware.b4a.BA) As void
- fileName As java.lang.String
- thumb As smm.telebot.cPhotoSize
- mimeType As java.lang.String
- IsInitialized As boolean
- Location
Methods:- Initialize (ba As anywheresoftware.b4a.BA) As void
- longitude As java.lang.Float
- latitude As java.lang.Float
- IsInitialized As boolean
- Message
Methods:- voice As smm.telebot.cVoice
- location As smm.telebot.cLocation
- newChatMember As smm.telebot.cUser
- migrateFromChatId As java.lang.Long
- chat As smm.telebot.cChat
- from As smm.telebot.cUser
- date As java.lang.Integer
- contact As smm.telebot.cContact
- migrateToChatId As java.lang.Long
- newChatTitle As java.lang.String
- channelChatCreated As java.lang.Boolean
- document As smm.telebot.cDocument
- replyToMessage As smm.telebot.cMessage
- video As smm.telebot.cVideo
- IsInitialized As boolean
- Initialize (ba As anywheresoftware.b4a.BA) As void
- text As java.lang.String
- supergroupChatCreated As java.lang.Boolean
- newChatPhoto As anywheresoftware.b4a.objects.collections.List
- audio As smm.telebot.cAudio
- deleteChatPhoto As java.lang.Boolean
- caption As java.lang.String
- photo As com.pengrad.telegrambot.model.PhotoSize[]
- forwardDate As java.lang.Integer
- forwardFrom As smm.telebot.cUser
- sticker As smm.telebot.cSticker
- leftChatParticipant As smm.telebot.cUser
- messageId As java.lang.Integer
- groupChatCreated As java.lang.Boolean
- PhotoSize
Methods:- fileSize As java.lang.Integer
- fileId As java.lang.String
- Initialize (ba As anywheresoftware.b4a.BA) As void
- height As java.lang.Integer
- width As java.lang.Integer
- IsInitialized As boolean
- sendResponse
Methods:- message As com.pengrad.telegrambot.model.Message
- Initialize (ba As anywheresoftware.b4a.BA) As void
- isOk As boolean
- IsInitialized As boolean
- Sticker
Methods:- fileSize As java.lang.Integer
- fileId As java.lang.String
- Initialize (ba As anywheresoftware.b4a.BA) As void
- height As java.lang.Integer
- width As java.lang.Integer
- thumb As smm.telebot.cPhotoSize
- IsInitialized As boolean
- Update
Methods:- Initialize (ba As anywheresoftware.b4a.BA) As void
- updateId As java.lang.Integer
- editedChannelPost As smm.telebot.cMessage
- callbackQuery As smm.telebot.CallbackQueryWrapper
- message As smm.telebot.cMessage
- editedMessage As smm.telebot.cMessage
- inlineQuery As smm.telebot.InlineQueryWrapper
- chosenInlineResult As com.pengrad.telegrambot.model.ChosenInlineResult
- channelPost As smm.telebot.cMessage
- IsInitialized As boolean
- User
Methods:- id As java.lang.Integer
- Initialize (ba As anywheresoftware.b4a.BA) As void
- lastName As java.lang.String
- username As java.lang.String
- firstName As java.lang.String
- IsInitialized As boolean
- Video
Methods:- Initialize (ba As anywheresoftware.b4a.BA) As void
- width As java.lang.Integer
- fileId As java.lang.String
- fileSize As java.lang.Integer
- duration As java.lang.Integer
- height As java.lang.Integer
- thumb As smm.telebot.cPhotoSize
- mimeType As java.lang.String
- IsInitialized As boolean
- Voice
Methods:- fileSize As java.lang.Integer
- fileId As java.lang.String
- Initialize (ba As anywheresoftware.b4a.BA) As void
- duration As java.lang.Integer
- mimeType As java.lang.String
- IsInitialized As boolean
- InlineKeyboardButton
Methods:- Initialize (text As java.lang.String) As smm.telebot.InlineKeyboardButtonWrapper
- url (url As java.lang.String) As smm.telebot.InlineKeyboardButtonWrapper
- switchInlineQueryCurrentChat (switchInlineQueryCurrentChat As java.lang.String) As smm.telebot.InlineKeyboardButtonWrapper
- callbackGame (callbackGame As java.lang.String) As smm.telebot.InlineKeyboardButtonWrapper
- switchInlineQuery (switchInlineQuery As java.lang.String) As smm.telebot.InlineKeyboardButtonWrapper
- callbackData (callbackData As java.lang.String) As smm.telebot.InlineKeyboardButtonWrapper
- IsInitialized As boolean
- InlineKeyboardMarkup
Methods:- Initialize (keyboard As smm.telebot.InlineKeyboardButtonWrapper[]) As void
- IsInitialized As boolean
- InlineQueryResultArticle
Methods:- Initialize (id As java.lang.String, title As java.lang.String, messageText As java.lang.String) As void
- hideUrl (hideUrl As java.lang.Boolean) As smm.telebot.InlineQueryResultArticleWrapper
- url (url As java.lang.String) As smm.telebot.InlineQueryResultArticleWrapper
- thumbHeight (thumbHeight As int) As smm.telebot.InlineQueryResultArticleWrapper
- description (description As java.lang.String) As smm.telebot.InlineQueryResultArticleWrapper
- thumbUrl (thumbUrl As java.lang.String) As smm.telebot.InlineQueryResultArticleWrapper
- thumbWidth (thumbWidth As int) As smm.telebot.InlineQueryResultArticleWrapper
- IsInitialized As boolean
- InlineQueryResultPhoto
Methods:- Initialize (id As java.lang.String, photoUrl As java.lang.String, thumbUrl As java.lang.String) As void
- photoHeight (photoHeight As int) As smm.telebot.InlineQueryResultPhotoWrapper
- caption (caption As java.lang.String) As smm.telebot.InlineQueryResultPhotoWrapper
- title (title As java.lang.String) As smm.telebot.InlineQueryResultPhotoWrapper
- description (description As java.lang.String) As smm.telebot.InlineQueryResultPhotoWrapper
- photoWidth (photoWidth As int) As smm.telebot.InlineQueryResultPhotoWrapper
- IsInitialized As boolean
- InlineQueryResult
Methods:- Initialize (type As java.lang.String, id As java.lang.String) As void
- replyMarkup (replyMarkup As smm.telebot.InlineKeyboardMarkupWrapper) As smm.telebot.InlineQueryResultWrapper
- inputMessageContent (inputMessageContent As smm.telebot.InputMessageContentWrapper) As smm.telebot.InlineQueryResultWrapper
- IsInitialized As boolean
- InlineQuery
Methods:- id As java.lang.String
- Initialize As void
- location As smm.telebot.cLocation
- query As java.lang.String
- from As smm.telebot.cUser
- offset As java.lang.String
- IsInitialized As boolean
- InputMessageContent
Methods:- Initialize As void
- IsInitialized As boolean
- InputTextMessageContent
Fields:- PARSEMODE_HTML As java.lang.String
- PARSEMODE_MARKDOWN As java.lang.String
- Initialize (messageText As java.lang.String) As void
- parseMode (parseMode As java.lang.String) As smm.telebot.InputTextMessageContentWrapper
- disableWebPagePreview (disableWebPagePreview As java.lang.Boolean) As smm.telebot.InputTextMessageContentWrapper
- IsInitialized As boolean
- KeyboardButton
Methods:- requestContact (requestContact As boolean) As smm.telebot.KeyboardButtonWrapper
- Initialize (ba As anywheresoftware.b4a.BA, text As java.lang.String) As void
- requestLocation (requestLocation As boolean) As smm.telebot.KeyboardButtonWrapper
- IsInitialized As boolean
- ReplyKeyboardMarkup
Methods:- resizeKeyboard (resizeKeyboard As boolean) As smm.telebot.ReplyKeyboardMarkupWrapper
- Initialize (ba As anywheresoftware.b4a.BA, keyboard As java.lang.String[]) As smm.telebot.ReplyKeyboardMarkupWrapper
- selective (selective As boolean) As smm.telebot.ReplyKeyboardMarkupWrapper
- oneTimeKeyboard (oneTimeKeyboard As boolean) As smm.telebot.ReplyKeyboardMarkupWrapper
- IsInitialized As boolean
- SMMTeleBot
Events:- sent (result As Message)
- _updates (updates As List)
- PARSEMODE_HTML As java.lang.Object
- CHAT_ACTION_UPLOAD_DOCUMENT As com.pengrad.telegrambot.model.request.ChatAction
- CHAT_ACTION_RECORD_AUDIO As com.pengrad.telegrambot.model.request.ChatAction
- CHAT_ACTION_TYPING As com.pengrad.telegrambot.model.request.ChatAction
- CHAT_ACTION_FIND_LOCATION As com.pengrad.telegrambot.model.request.ChatAction
- CHAT_ACTION_UPLOAD_AUDIO As com.pengrad.telegrambot.model.request.ChatAction
- CHAT_ACTION_UPLOAD_VIDEO As com.pengrad.telegrambot.model.request.ChatAction
- CHAT_ACTION_RECORD_VIDEO As com.pengrad.telegrambot.model.request.ChatAction
- PARSEMODE_MARKDOWN As java.lang.Object
- CHAT_ACTION_UPLOAD_PHOTO As com.pengrad.telegrambot.model.request.ChatAction
- Initialize (ba As anywheresoftware.b4a.BA, Token As java.lang.String, EventName As java.lang.String, connectTimeout As int, writeTimeout As int, readTimeout As int) As void
- sendVideo (chatId As java.lang.String, folder As java.lang.String, filename As java.lang.String, caption As java.lang.String, reply_to_message_id As java.lang.Integer, bForceReply As boolean, bReplyKeyboardHide As boolean, duration As int) As void
- AnswerCallbackQuery (callbackQueryId As java.lang.String, text As java.lang.String, url As java.lang.String, showAlert As boolean, cacheTime As int) As smm.telebot.BaseResponseWrapper
- removeGetUpdatesListener As void
- SendChatAction (chatId As java.lang.Object, action As java.lang.String) As void
- sendMessage (chatId As java.lang.String, MessageText As java.lang.String, replyToMessageId As int, parsemode As java.lang.String, replyMarkup As smm.telebot.InlineKeyboardMarkupWrapper) As void
- AnswerInlineQuery (inlineQuery As smm.telebot.InlineQueryWrapper, r1 As smm.telebot.InlineQueryResultWrapper, cacheTime As int, isPersonal As boolean, offset As java.lang.String, pmParam As java.lang.String, pmText As java.lang.String) As smm.telebot.BaseResponseWrapper
- CreateInlineKeyboardMarkup (keys As smm.telebot.InlineKeyboardButtonWrapper[]) As smm.telebot.InlineKeyboardMarkupWrapper
- sendPhoto (chatId As java.lang.String, folder As java.lang.String, filename As java.lang.String, caption As java.lang.String, reply_to_message_id As int, bForceReply As boolean, bReplyKeyboardHide As boolean) As void
- SetWebhookListener (url As java.lang.String, allowedUpdates As java.lang.String, maxConnections As int) As void
- GetUpdatesList (offset As int, limit As int, timeout As int) As void
- sendMessage2 (chatId As java.lang.String, MessageText As java.lang.String, replyToMessageId As int, parsemode As java.lang.String, replyMarkup As smm.telebot.ReplyKeyboardMarkupWrapper) As void
Attachments
Last edited: