@grammyjs/types 2.4.3 → 2.4.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/manage.d.ts CHANGED
@@ -118,7 +118,7 @@ export namespace Chat {
118
118
  /** Default chat member permissions, for groups and supergroups. Returned only in getChat. */
119
119
  permissions?: ChatPermissions;
120
120
  /** True, if the bot can change the group sticker set. Returned only in getChat. */
121
- can_set_sticker_set?: boolean;
121
+ can_set_sticker_set?: true;
122
122
  }
123
123
  /** Internal type holding properties that those supergroup and channel chats returned from `getChat` share. */
124
124
  interface LargeGetChat extends NonPrivateGetChat {
package/message.d.ts CHANGED
@@ -9,9 +9,9 @@ export namespace Message {
9
9
  interface ServiceMessage {
10
10
  /** Unique message identifier inside this chat */
11
11
  message_id: number;
12
- /** Sender, empty for messages sent to channels */
12
+ /** Sender of the message; empty for messages sent to channels. For backward compatibility, the field contains a fake sender user in non-channel chats, if the message was sent on behalf of a chat. */
13
13
  from?: User;
14
- /** Sender of the message, sent on behalf of a chat. The channel itself for channel messages. The supergroup itself for messages from anonymous group administrators. The linked channel for messages automatically forwarded to the discussion group */
14
+ /** Sender of the message, sent on behalf of a chat. For backward compatibility, the field from contains a fake sender user in non-channel chats, if the message was sent on behalf of a chat. */
15
15
  sender_chat?: Chat;
16
16
  /** Date the message was sent in Unix time */
17
17
  date: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@grammyjs/types",
3
- "version": "2.4.3",
3
+ "version": "2.4.4",
4
4
  "description": "Telegram Bot API type declarations for grammY",
5
5
  "main": "index.js",
6
6
  "repository": {