Update to Bot API 6.7 #3
Labels
No labels
Bug
Cannot Resolve
Completed
Enhancement
Important
Question
Resolved
Security Issue
Suggestion
Todo
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: Nosial/tgbotlib#3
Loading…
Add table
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Alas! Just as the last update was completed, a new one is rolled out, let's get to work.
Added the ability to change bot settings from the bot's profile in official Telegram apps, including the ability to set animated profile photos.assigned to @netkas
mentioned in issue #4
Re-working the mess Telegram has made with their documentation, one reference question in regards to the difference between Inline objects and cached inline objects: https://t.me/tdlibchat/71120
Added object
\TgBotLib\Objects\Telegram\InputMessageContent > InputTextMessageContent
to represent the content of a text message to be sent as the result of an inline query.Added object
\TgBotLib\Objects\Telegram\InputMessageContent > InputLocationMessageContent
to represent the content of a location message to be sent as the result of an inline query.Added object
\TgBotLib\Objects\Telegram\InputMessageContent > InputVenueMessageContent
to represent the content of a venue message to be sent as the result of an inline query.Added object
\TgBotLib\Objects\Telegram\InputMessageContent > InputContactMessageContent
to represent the content of a contact message to be sent as the result of an inline query.Added object
\TgBotLib\Objects\Telegram\InputMessageContent > InputInvoiceMessageContent
to represent the content of an invoice message to be sent as the result of an inline query.Added new exception class
NotImplementedException
to represent the case when a method is not implemented yet or the method is not applicable to the current object.Refactored InputMessageContent types to its own namespace so InputMessageContent can always return the correct InputMessageContent object type when calling
fromArray()
Added methods
\TgBotLib\Objects\Telegram\InlineKeyboardButton::setUrl
,\TgBotLib\Objects\Telegram\InlineKeyboardButton::setText
,\TgBotLib\Objects\Telegram\InlineKeyboardButton::setCallbackData
,\TgBotLib\Objects\Telegram\InlineKeyboardButton::setWebApp
,\TgBotLib\Objects\Telegram\InlineKeyboardButton::setLoginUrl
,\TgBotLib\Objects\Telegram\InlineKeyboardButton::setSwitchInlineQuery
,\TgBotLib\Objects\Telegram\InlineKeyboardButton::setSwitchInlineQueryCurrentChat
,\TgBotLib\Objects\Telegram\InlineKeyboardButton::setCallbackGame
,\TgBotLib\Objects\Telegram\InlineKeyboardButton::setPay
to
\TgBotLib\Objects\Telegram\InlineKeyboardButton
Added methods
\TgBotLib\Objects\Telegram\InlineKeyboardMarkup::removeRow
&\TgBotLib\Objects\Telegram\InlineKeyboardMarkup::addRow
to\TgBotLib\Objects\Telegram\InlineKeyboardMarkup
An update to an issue related to the Telegram API Docs.
No response, but found a solution!
Added method
\TgBotLib\Objects\Telegram\WebAppInfo::setUrl
to\TgBotLib\Objects\Telegram\WebAppInfo
Added methods
\TgBotLib\Classes\Validate::url
,\TgBotLib\Classes\Validate::length
, &\TgBotLib\Classes\Validate::isHttps
to\TgBotLib\Classes\Validate
mentioned in commit
f518ca0030
Added object
\TgBotLib\Objects\Telegram\InlineQueryResult\InlineQueryResultArticle
, see InlineQueryResultArticle for more information.Added object
\TgBotLib\Objects\Telegram\InlineQueryResult\InlineQueryResultPhoto
, see InlineQueryResultPhoto for more information.Added object
\TgBotLib\Objects\Telegram\InlineQueryResult\InlineQueryResultGif
, see InlineQueryResultGif for more information.Added abstract class
\TgBotLib\Abstracts\ThumbnailMimeType
to represent the mime type of thumbnail, photo, or a file / sticker thumbnail.Added object
\TgBotLib\Objects\Telegram\InlineQueryResult\InlineQueryResultMpeg4Gif
, see InlineQueryResultMpeg4Gif for more information.Added field
via_chat_folder_invite_link
to\TgBotLib\Objects\Telegram\ChatMemberUpdated
to represent the invite link, which was used by the user to join the chat; for joining by invite link events only.mentioned in commit
277a33f2d3
marked the checklist item Added the field via_chat_folder_invite_link to the class ChatMemberUpdated. as completed
mentioned in commit
41c1d0fc4c
mentioned in commit
b1db812097
mentioned in commit
d14ee4eae4
Done for the day, what's next?
Implement InlineQueryResultLocationImplement InlineQueryResultVenueImplement InlineQueryResultContactmplement InlineQueryResultDocumentchanged the description
marked the checklist item
Added the ability to change bot settings from the bot's profile in official Telegram apps, including the ability to set animated profile photos.as completedmentioned in commit
05b877d38a
mentioned in commit
144095b228
mentioned in commit
89b240f2eb
mentioned in commit
61249cb18d
mentioned in commit
c0b25c7b0e
mentioned in commit
6fb6f74406
mentioned in commit
bcbb742b9f
mentioned in commit
e463b81948
mentioned in commit
581fa42715
mentioned in commit
3d6cc15894
mentioned in commit
26c0a197dc
mentioned in commit
4ce61e5af7
mentioned in commit
b8d3a20a5c
mentioned in commit
d0219425c1
mentioned in commit
3c91058235
mentioned in commit
5ce6f737f5
mentioned in commit
2389839a37
mentioned in commit
40d25a15f1
mentioned in commit
176ea791bf