Data about the boost source
OptionalgiveawayIdentifier of a message in the chat with the giveaway; the message could have been deleted already
OptionalstarThe number of Telegram Stars to be split between giveaway winners; for Telegram Star giveaways only
True, if the giveaway was completed, but there was no user to win the prize
OptionaluserUser that boosted the chat
The client that instantiated this
Protected_Data about the boost source
Protected_ProtectedUpdates the current instance with new data and returns a clone of the updated instance
The data to update the instance with
A clone of the updated instance
Flatten an object. Any properties that are collections will get converted to an array of keys.
OptionalpropsRecursive: booleanOptional. If true, calls toJSON method on nested objects.
Optional. Specific properties to include/exclude, or rename.
Flattened object.
Returns the id instance Chat, User, ChatMember and other
The client that instantiated this