Add date to td_api::notification.
GitOrigin-RevId: f1cf1ea59c9880dfa22e19e6e068f7e0af3e71df
This commit is contained in:
parent
935466bf63
commit
9dbe8ab9d0
@ -1815,8 +1815,8 @@ notificationTypeNewSecretChat = NotificationType;
|
||||
notificationTypeNewCall call_id:int32 = NotificationType;
|
||||
|
||||
|
||||
//@description Contains information about a notification @id Unique persistent identifier of this notification @type Notification type
|
||||
notification id:int32 type:NotificationType = Notification;
|
||||
//@description Contains information about a notification @id Unique persistent identifier of this notification @date Notification date @type Notification type
|
||||
notification id:int32 date:int32 type:NotificationType = Notification;
|
||||
|
||||
//@description Describes a group of notifications @id Unique persistent auto-incremented from 1 identifier of the notification group @chat_id Identifier of a chat to which all notifications in the group belong
|
||||
//@total_count Total number of active notifications in the group @notifications The list of active notifications
|
||||
|
Binary file not shown.
@ -29,7 +29,7 @@ class Notification {
|
||||
|
||||
inline td_api::object_ptr<td_api::notification> get_notification_object(DialogId dialog_id,
|
||||
const Notification ¬ification) {
|
||||
return td_api::make_object<td_api::notification>(notification.notification_id.get(),
|
||||
return td_api::make_object<td_api::notification>(notification.notification_id.get(), notification.date,
|
||||
notification.type->get_notification_type_object(dialog_id));
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user