@@ -6,10 +6,17 @@ Exclamation symbols (:exclamation:) note something of importance e.g. breaking c
...
@@ -6,10 +6,17 @@ Exclamation symbols (:exclamation:) note something of importance e.g. breaking c
## [Unreleased]
## [Unreleased]
### Added
### Added
- Documents can be sent by providing its contents via Psr7 stream (as opposed to passing a file path).
- Documents can be sent by providing its contents via Psr7 stream (as opposed to passing a file path).
- Allow setting a custom Guzzle HTTP Client for requests (#511).
- First implementations towards Bots API 3.0.
### Changed
### Changed
-[:exclamation:][unreleased-bc-chats-params-array]`Request::sendToActiveChats` and `DB::selectChats` now accept parameters as an options array.
### Deprecated
### Deprecated
### Removed
### Removed
-[:exclamation:][unreleased-bc-up-download-directory] Upload and download directories are not set any more by default and must be set manually.
### Fixed
### Fixed
- ID fields are now typed with `PARAM_STR` PDO data type, to allow huge numbers.
- Message type data type for PDO corrected.
- Indexed table columns now have a fitting length.
- Take `custom_input` into account when using getUpdates method (mainly for testing).
- Take `custom_input` into account when using getUpdates method (mainly for testing).
### Security
### Security
...
@@ -26,7 +33,7 @@ Exclamation symbols (:exclamation:) note something of importance e.g. breaking c
...
@@ -26,7 +33,7 @@ Exclamation symbols (:exclamation:) note something of importance e.g. breaking c
### Removed
### Removed
- All examples have been moved to a [dedicated repository](https://github.com/php-telegram-bot/example-bot).
- All examples have been moved to a [dedicated repository](https://github.com/php-telegram-bot/example-bot).
### Fixed
### Fixed
-[:exclamation:](https://github.com/php-telegram-bot/core/wiki/Breaking-backwards-compatibility#0440) Format of Update content type using `$update->getUpdateContent()`.
-[:exclamation:][0.44.0-bc-update-content-type] Format of Update content type using `$update->getUpdateContent()`.
## [0.43.0] - 2017-04-17
## [0.43.0] - 2017-04-17
### Added
### Added
...
@@ -101,3 +108,7 @@ Exclamation symbols (:exclamation:) note something of importance e.g. breaking c
...
@@ -101,3 +108,7 @@ Exclamation symbols (:exclamation:) note something of importance e.g. breaking c
`inline_message_id`CHAR(255)NULLDEFAULTNULLCOMMENT'Identifier of the sent inline message',
`inline_message_id`CHAR(255)NULLDEFAULTNULLCOMMENT'Identifier of the sent inline message',
`query`TEXTNOTNULLCOMMENT'The query that was used to obtain the result',
`query`TEXTNOTNULLCOMMENT'The query that was used to obtain the result',
`created_at`timestampNULLDEFAULTNULLCOMMENT'Entry date creation',
`created_at`timestampNULLDEFAULTNULLCOMMENT'Entry date creation',
...
@@ -84,19 +83,20 @@ CREATE TABLE IF NOT EXISTS `message` (
...
@@ -84,19 +83,20 @@ CREATE TABLE IF NOT EXISTS `message` (
`sticker`TEXTCOMMENT'Sticker object. Message is a sticker, information about the sticker',
`sticker`TEXTCOMMENT'Sticker object. Message is a sticker, information about the sticker',
`video`TEXTCOMMENT'Video object. Message is a video, information about the video',
`video`TEXTCOMMENT'Video object. Message is a video, information about the video',
`voice`TEXTCOMMENT'Voice Object. Message is a Voice, information about the Voice',
`voice`TEXTCOMMENT'Voice Object. Message is a Voice, information about the Voice',
`video_note`TEXTCOMMENT'VoiceNote Object. Message is a Video Note, information about the Video Note',
`contact`TEXTCOMMENT'Contact object. Message is a shared contact, information about the contact',
`contact`TEXTCOMMENT'Contact object. Message is a shared contact, information about the contact',
`location`TEXTCOMMENT'Location object. Message is a shared location, information about the location',
`location`TEXTCOMMENT'Location object. Message is a shared location, information about the location',
`venue`TEXTCOMMENT'Venue object. Message is a Venue, information about the Venue',
`venue`TEXTCOMMENT'Venue object. Message is a Venue, information about the Venue',
`caption`TEXTCOMMENT'For message with caption, the actual UTF-8 text of the caption',
`caption`TEXTCOMMENT'For message with caption, the actual UTF-8 text of the caption',
`new_chat_member`bigintNULLDEFAULTNULLCOMMENT'Unique user identifier, a new member was added to the group, information about them (this member may be bot itself)',
`new_chat_members`TEXTCOMMENT'List of unique user identifiers, new member(s) were added to the group, information about them (one of these members may be the bot itself)',
`left_chat_member`bigintNULLDEFAULTNULLCOMMENT'Unique user identifier, a member was removed from the group, information about them (this member may be bot itself)',
`left_chat_member`bigintNULLDEFAULTNULLCOMMENT'Unique user identifier, a member was removed from the group, information about them (this member may be the bot itself)',
`new_chat_title`CHAR(255)DEFAULTNULLCOMMENT'A chat title was changed to this value',
`new_chat_title`CHAR(255)DEFAULTNULLCOMMENT'A chat title was changed to this value',
`new_chat_photo`TEXTCOMMENT'Array of PhotoSize objects. A chat photo was change to this value',
`new_chat_photo`TEXTCOMMENT'Array of PhotoSize objects. A chat photo was change to this value',
`delete_chat_photo`tinyint(1)DEFAULT0COMMENT'Informs that the chat photo was deleted',
`delete_chat_photo`tinyint(1)DEFAULT0COMMENT'Informs that the chat photo was deleted',
`group_chat_created`tinyint(1)DEFAULT0COMMENT'Informs that the group has been created',
`group_chat_created`tinyint(1)DEFAULT0COMMENT'Informs that the group has been created',
`supergroup_chat_created`tinyint(1)DEFAULT0COMMENT'Informs that the supergroup has been created',
`supergroup_chat_created`tinyint(1)DEFAULT0COMMENT'Informs that the supergroup has been created',
`channel_chat_created`tinyint(1)DEFAULT0COMMENT'Informs that the channel chat has been created',
`channel_chat_created`tinyint(1)DEFAULT0COMMENT'Informs that the channel chat has been created',
`migrate_to_chat_id`bigintNULLDEFAULTNULLCOMMENT'Migrate to chat identifier. The group has been migrated to a supergroup with the specified identifie',
`migrate_to_chat_id`bigintNULLDEFAULTNULLCOMMENT'Migrate to chat identifier. The group has been migrated to a supergroup with the specified identifier',
`migrate_from_chat_id`bigintNULLDEFAULTNULLCOMMENT'Migrate from chat identifier. The supergroup has been migrated from a group with the specified identifier',
`migrate_from_chat_id`bigintNULLDEFAULTNULLCOMMENT'Migrate from chat identifier. The supergroup has been migrated from a group with the specified identifier',
`pinned_message`TEXTNULLCOMMENT'Message object. Specified message was pinned',
`pinned_message`TEXTNULLCOMMENT'Message object. Specified message was pinned',
...
@@ -106,7 +106,6 @@ CREATE TABLE IF NOT EXISTS `message` (
...
@@ -106,7 +106,6 @@ CREATE TABLE IF NOT EXISTS `message` (
ALTERTABLE`message`ADDCOLUMN`new_chat_members`TEXTCOMMENT'List of unique user identifiers, new member(s) were added to the group, information about them (one of these members may be the bot itself)'AFTER`new_chat_member`;