Sha256: 6007ed665476ec0a540812da9f7783d652e5813254cd6ab9917e4895d2e7c26e
Contents?: true
Size: 636 Bytes
Versions: 2
Compression:
Stored size: 636 Bytes
Contents
module TD::Types # Service notification from the server. # Upon receiving this the application must show a popup with the content of the notification. # # @attr type [TD::Types::String] Notification type. # If type begins with "AUTH_KEY_DROP_", then two buttons "Cancel" and "Log out" should be shown under notification; # if user presses the second, all local data should be destroyed using Destroy method. # @attr content [TD::Types::MessageContent] Notification content. class Update::ServiceNotification < Update attribute :type, TD::Types::String attribute :content, TD::Types::MessageContent end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
tdlib-schema-1.7.0.3 | lib/tdlib/types/update/service_notification.rb |
tdlib-schema-1.7.0.2 | lib/tdlib/types/update/service_notification.rb |