Constructs a new GlobalSettings.
Optional properties: IGlobalSettingsProperties to set
Optional autoGlobalSettings autoDownloadCellular.
Optional autoGlobalSettings autoDownloadRoaming.
Optional autoGlobalSettings autoDownloadWiFi.
GlobalSettings autoUnarchiveChats.
Optional avatarGlobalSettings avatarUserSettings.
Optional darkGlobalSettings darkThemeWallpaper.
GlobalSettings disappearingModeDuration.
GlobalSettings disappearingModeTimestamp.
GlobalSettings fontSize.
Optional groupGlobalSettings groupNotificationSettings.
Optional individualGlobalSettings individualNotificationSettings.
Optional lightGlobalSettings lightThemeWallpaper.
GlobalSettings mediaVisibility.
GlobalSettings photoQualityMode.
GlobalSettings securityNotifications.
GlobalSettings showGroupNotificationsPreview.
GlobalSettings showIndividualNotificationsPreview.
GlobalSettings videoQualityMode.
Static createCreates a new GlobalSettings instance using the specified properties.
Optional properties: IGlobalSettingsProperties to set
GlobalSettings instance
Static decodeDecodes a GlobalSettings message from the specified reader or buffer.
Reader or buffer to decode from
Optional length: numberMessage length if known beforehand
GlobalSettings
If the payload is not a reader or valid buffer
If required fields are missing
Static decodeDecodes a GlobalSettings message from the specified reader or buffer, length delimited.
Reader or buffer to decode from
GlobalSettings
If the payload is not a reader or valid buffer
If required fields are missing
Static encodeEncodes the specified GlobalSettings message. Does not implicitly verify messages.
GlobalSettings message or plain object to encode
Optional writer: WriterWriter to encode to
Writer
Static encodeEncodes the specified GlobalSettings message, length delimited. Does not implicitly verify messages.
GlobalSettings message or plain object to encode
Optional writer: WriterWriter to encode to
Writer
Static fromCreates a GlobalSettings message from a plain object. Also converts values to their respective internal types.
Plain object
GlobalSettings
Static toCreates a plain object from a GlobalSettings message. Also converts values to other types if specified.
GlobalSettings
Optional options: IConversionOptionsConversion options
Plain object
Static verifyGenerated using TypeDoc
Represents a GlobalSettings.