Add title to pushMessageContentChatChangeTitle.

GitOrigin-RevId: e457e2e74dc51db490e156613e7c2d282d455234
This commit is contained in:
levlam 2019-04-09 23:43:53 +03:00
parent 082ba9e020
commit f819797ae1
3 changed files with 3 additions and 3 deletions

View File

@ -1999,8 +1999,8 @@ pushMessageContentChatAddMembers member_name:string is_current_user:Bool is_retu
//@description A chat photo was edited
pushMessageContentChatChangePhoto = PushMessageContent;
//@description A chat title was edited
pushMessageContentChatChangeTitle = PushMessageContent;
//@description A chat title was edited @title New chat title
pushMessageContentChatChangeTitle title:string = PushMessageContent;
//@description A chat member was deleted @member_name Name of the deleted member @is_current_user True, if the current user was deleted from the group
//@is_left True, if the user has left the group himself

Binary file not shown.

View File

@ -181,7 +181,7 @@ class NotificationTypePushMessage : public NotificationType {
return td_api::make_object<td_api::pushMessageContentChatChangePhoto>();
}
if (key == "MESSAGE_CHAT_CHANGE_TITLE") {
return td_api::make_object<td_api::pushMessageContentChatChangeTitle>();
return td_api::make_object<td_api::pushMessageContentChatChangeTitle>(arg);
}
if (key == "MESSAGE_CHAT_DELETE_MEMBER") {
return td_api::make_object<td_api::pushMessageContentChatDeleteMember>(arg, false, false);