You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/Telegram/ChatAdministratorRights.php
+6Lines changed: 6 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -61,6 +61,9 @@ class ChatAdministratorRights extends Type
61
61
/** <em>Optional</em>. <em>True</em>, if the administrator can manage direct messages of the channel and decline suggested posts; for channels only */
62
62
public ?bool$can_manage_direct_messages = null;
63
63
64
+
/** <em>Optional</em>. <em>True</em>, if the administrator can edit the tags of regular members; for groups and supergroups only. If omitted defaults to the value of can_pin_messages. */
65
+
public ?bool$can_manage_tags = null;
66
+
64
67
/**
65
68
* @param bool $is_anonymous <em>True</em>, if the user's presence in the chat is hidden
66
69
* @param bool $can_manage_chat <em>True</em>, if the administrator can access the chat event log, get boost list, see hidden supergroup and channel members, report spam messages, ignore slow mode, and send messages to the chat without paying Telegram Stars. Implied by any other administrator privilege.
@@ -78,6 +81,7 @@ class ChatAdministratorRights extends Type
78
81
* @param bool $can_pin_messages <em>Optional</em>. <em>True</em>, if the user is allowed to pin messages; for groups and supergroups only
79
82
* @param bool $can_manage_topics <em>Optional</em>. <em>True</em>, if the user is allowed to create, rename, close, and reopen forum topics; for supergroups only
80
83
* @param bool $can_manage_direct_messages <em>Optional</em>. <em>True</em>, if the administrator can manage direct messages of the channel and decline suggested posts; for channels only
84
+
* @param bool $can_manage_tags <em>Optional</em>. <em>True</em>, if the administrator can edit the tags of regular members; for groups and supergroups only. If omitted defaults to the value of can_pin_messages.
Copy file name to clipboardExpand all lines: src/Telegram/ChatFullInfo.php
+6Lines changed: 6 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -165,6 +165,9 @@ class ChatFullInfo extends Type
165
165
/** <em>Optional</em>. For private chats, the rating of the user if any */
166
166
public ?UserRating$rating = null;
167
167
168
+
/** <em>Optional</em>. For private chats, the first audio added to the profile of the user */
169
+
public ?Audio$first_profile_audio = null;
170
+
168
171
/** <em>Optional</em>. The color scheme based on a unique gift that must be used for the chat's name, message replies and link previews */
169
172
public ?UniqueGiftColors$unique_gift_colors = null;
170
173
@@ -220,6 +223,7 @@ class ChatFullInfo extends Type
220
223
* @param int $linked_chat_id <em>Optional</em>. Unique identifier for the linked chat, i.e. the discussion group identifier for a channel and vice versa; for supergroups and channel chats. This identifier may be greater than 32 bits and some programming languages may have difficulty/silent defects in interpreting it. But it is smaller than 52 bits, so a signed 64 bit integer or double-precision float type are safe for storing this identifier.
221
224
* @param ChatLocation $location <em>Optional</em>. For supergroups, the location to which the supergroup is connected
222
225
* @param UserRating $rating <em>Optional</em>. For private chats, the rating of the user if any
226
+
* @param Audio $first_profile_audio <em>Optional</em>. For private chats, the first audio added to the profile of the user
223
227
* @param UniqueGiftColors $unique_gift_colors <em>Optional</em>. The color scheme based on a unique gift that must be used for the chat's name, message replies and link previews
224
228
* @param int $paid_message_star_count <em>Optional</em>. The number of Telegram Stars a general user have to pay to send a message to the chat
Copy file name to clipboardExpand all lines: src/Telegram/ChatMemberAdministrator.php
+6Lines changed: 6 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -65,6 +65,9 @@ class ChatMemberAdministrator extends ChatMember
65
65
/** <em>Optional</em>. <em>True</em>, if the administrator can manage direct messages of the channel and decline suggested posts; for channels only */
66
66
public ?bool$can_manage_direct_messages = null;
67
67
68
+
/** <em>Optional</em>. <em>True</em>, if the administrator can edit the tags of regular members; for groups and supergroups only. If omitted defaults to the value of can_pin_messages. */
69
+
public ?bool$can_manage_tags = null;
70
+
68
71
/** <em>Optional</em>. Custom title for this user */
69
72
public ?string$custom_title = null;
70
73
@@ -87,6 +90,7 @@ class ChatMemberAdministrator extends ChatMember
87
90
* @param bool $can_pin_messages <em>Optional</em>. <em>True</em>, if the user is allowed to pin messages; for groups and supergroups only
88
91
* @param bool $can_manage_topics <em>Optional</em>. <em>True</em>, if the user is allowed to create, rename, close, and reopen forum topics; for supergroups only
89
92
* @param bool $can_manage_direct_messages <em>Optional</em>. <em>True</em>, if the administrator can manage direct messages of the channel and decline suggested posts; for channels only
93
+
* @param bool $can_manage_tags <em>Optional</em>. <em>True</em>, if the administrator can edit the tags of regular members; for groups and supergroups only. If omitted defaults to the value of can_pin_messages.
90
94
* @param string $custom_title <em>Optional</em>. Custom title for this user
Copy file name to clipboardExpand all lines: src/Telegram/ChatPermissions.php
+6Lines changed: 6 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -43,6 +43,9 @@ class ChatPermissions extends Type
43
43
/** <em>Optional</em>. <em>True</em>, if the user is allowed to add web page previews to their messages */
44
44
public ?bool$can_add_web_page_previews = null;
45
45
46
+
/** <em>Optional</em>. <em>True</em>, if the user is allowed to edit their own tag */
47
+
public ?bool$can_edit_tag = null;
48
+
46
49
/** <em>Optional</em>. <em>True</em>, if the user is allowed to change the chat title, photo and other settings. Ignored in public supergroups */
47
50
public ?bool$can_change_info = null;
48
51
@@ -66,6 +69,7 @@ class ChatPermissions extends Type
66
69
* @param bool $can_send_polls <em>Optional</em>. <em>True</em>, if the user is allowed to send polls and checklists
67
70
* @param bool $can_send_other_messages <em>Optional</em>. <em>True</em>, if the user is allowed to send animations, games, stickers and use inline bots
68
71
* @param bool $can_add_web_page_previews <em>Optional</em>. <em>True</em>, if the user is allowed to add web page previews to their messages
72
+
* @param bool $can_edit_tag <em>Optional</em>. <em>True</em>, if the user is allowed to edit their own tag
69
73
* @param bool $can_change_info <em>Optional</em>. <em>True</em>, if the user is allowed to change the chat title, photo and other settings. Ignored in public supergroups
70
74
* @param bool $can_invite_users <em>Optional</em>. <em>True</em>, if the user is allowed to invite new users to the chat
71
75
* @param bool $can_pin_messages <em>Optional</em>. <em>True</em>, if the user is allowed to pin messages. Ignored in public supergroups
0 commit comments