diff --git a/src/Telegram/Types/ChatMember.php b/src/Telegram/Types/ChatMember.php index 2f8af78..ccea59f 100644 --- a/src/Telegram/Types/ChatMember.php +++ b/src/Telegram/Types/ChatMember.php @@ -9,7 +9,7 @@ /** * This object contains information about one member of the chat * - * Objects defined as-is july 2017 + * Objects defined as-is june 2019 * * @see https://core.telegram.org/bots/api#chatmember */ @@ -89,6 +89,12 @@ class ChatMember extends TelegramTypes */ public $can_promote_members = false; + /** + * Optional. Restricted only. True, if the user is a member of the chat at the moment of the request + * @var bool + */ + public $is_member = false; + /** * Optional. Restricted only. True, if the user can send text messages, contacts, locations and venues * @var bool diff --git a/src/Telegram/Types/Message.php b/src/Telegram/Types/Message.php index 072b65c..e7a2be9 100644 --- a/src/Telegram/Types/Message.php +++ b/src/Telegram/Types/Message.php @@ -67,6 +67,13 @@ class Message extends TelegramTypes */ public $forward_signature = ''; + /** + * Optional. Sender's name for messages forwarded from users who disallow adding a link to their account in + * forwarded messages + * @var string + */ + public $forward_sender_name = ''; + /** * Optional. For forwarded messages, date the original message was sent in Unix time * @var int