Sha256: cd58908e006f80b83e24df47610ca5cae40009e646f3b09be1572026b0c7ffc0

Contents?: true

Size: 620 Bytes

Versions: 3

Compression:

Stored size: 620 Bytes

Contents

module TD::Types
  # Service notification from the server.
  # Upon receiving this the client must show a popup with the content of the notification.
  #
  # @attr type [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

3 entries across 3 versions & 1 rubygems

Version Path
tdlib-ruby-2.2.0 lib/tdlib/types/update/service_notification.rb
tdlib-ruby-2.1.0 lib/tdlib/types/update/service_notification.rb
tdlib-ruby-2.0.0 lib/tdlib/types/update/service_notification.rb