@grammyjs/types 3.4.1 → 3.4.3
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 +4 -0
- package/message.d.ts +1 -1
- package/package.json +1 -1
package/manage.d.ts
CHANGED
|
@@ -488,6 +488,10 @@ export interface ChatBoostSourceGiveaway {
|
|
|
488
488
|
source: "giveaway";
|
|
489
489
|
/** Identifier of a message in the chat with the giveaway; the message could have been deleted already */
|
|
490
490
|
giveaway_message_id: number;
|
|
491
|
+
/** User that won the prize in the giveaway if any */
|
|
492
|
+
user?: User;
|
|
493
|
+
/** True, if the giveaway was completed, but there was no user to win the prize */
|
|
494
|
+
is_unclaimed?: true;
|
|
491
495
|
}
|
|
492
496
|
/** This object contains information about a chat boost. */
|
|
493
497
|
export interface ChatBoost {
|
package/message.d.ts
CHANGED
|
@@ -497,7 +497,7 @@ export interface MessageOriginChannel {
|
|
|
497
497
|
/** Date the message was sent originally in Unix time */
|
|
498
498
|
date: number;
|
|
499
499
|
/** Channel chat to which the message was originally sent */
|
|
500
|
-
chat: Chat;
|
|
500
|
+
chat: Chat.ChannelChat;
|
|
501
501
|
/** Unique message identifier inside the chat */
|
|
502
502
|
message_id: number;
|
|
503
503
|
/** Signature of the original post author */
|