Class: TD::Types::Update::ActiveNotifications

Inherits:
TD::Types::Update show all
Defined in:
lib/tdlib/types/update/active_notifications.rb

Overview

Contains active notifications that was shown on previous application launches. This update is sent only if a message database is used. In that case it comes once before any updateNotification and updateNotificationGroup update.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#groupsArray<TD::Types::NotificationGroup>

Lists of active notification groups.

Returns:



7
8
9
# File 'lib/tdlib/types/update/active_notifications.rb', line 7

def groups
  @groups
end