Sha256: ed39a409b2c4fd9431def7ad2690e2f8bf7be26dc443ca496e5b90eeccad0662

Contents?: true

Size: 625 Bytes

Versions: 1

Compression:

Stored size: 625 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 [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

1 entries across 1 versions & 1 rubygems

Version Path
tdlib-schema-1.7.0.1 lib/tdlib/types/update/service_notification.rb