Data about the describes paid media
OptionaldurationDuration of the media in seconds as defined by the sender
OptionalheightMedia height as defined by the sender
OptionalphotoThe photo
OptionalvideoThe video
OptionalwidthMedia width as defined by the sender
The client that instantiated this
Protected_Data about the describes paid media
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