Skip to content

Commit a1b4620

Browse files
author
camilo.sperberg
committed
Add remaining Bot API v4.2 changes to the library
1 parent f52cfe9 commit a1b4620

File tree

2 files changed

+14
-1
lines changed

2 files changed

+14
-1
lines changed

src/Telegram/Types/ChatMember.php

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
/**
1010
* This object contains information about one member of the chat
1111
*
12-
* Objects defined as-is july 2017
12+
* Objects defined as-is june 2019
1313
*
1414
* @see https://core.telegram.org/bots/api#chatmember
1515
*/
@@ -89,6 +89,12 @@ class ChatMember extends TelegramTypes
8989
*/
9090
public $can_promote_members = false;
9191

92+
/**
93+
* Optional. Restricted only. True, if the user is a member of the chat at the moment of the request
94+
* @var bool
95+
*/
96+
public $is_member = false;
97+
9298
/**
9399
* Optional. Restricted only. True, if the user can send text messages, contacts, locations and venues
94100
* @var bool

src/Telegram/Types/Message.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,13 @@ class Message extends TelegramTypes
6767
*/
6868
public $forward_signature = '';
6969

70+
/**
71+
* Optional. Sender's name for messages forwarded from users who disallow adding a link to their account in
72+
* forwarded messages
73+
* @var string
74+
*/
75+
public $forward_sender_name = '';
76+
7077
/**
7178
* Optional. For forwarded messages, date the original message was sent in Unix time
7279
* @var int

0 commit comments

Comments
 (0)