@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 +1 -1
- package/message.d.ts +2 -2
- package/package.json +1 -1
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?:
|
|
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
|
|
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.
|
|
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;
|