Add title to pushMessageContentChatChangeTitle.
GitOrigin-RevId: e457e2e74dc51db490e156613e7c2d282d455234
This commit is contained in:
parent
082ba9e020
commit
f819797ae1
@ -1999,8 +1999,8 @@ pushMessageContentChatAddMembers member_name:string is_current_user:Bool is_retu
|
|||||||
//@description A chat photo was edited
|
//@description A chat photo was edited
|
||||||
pushMessageContentChatChangePhoto = PushMessageContent;
|
pushMessageContentChatChangePhoto = PushMessageContent;
|
||||||
|
|
||||||
//@description A chat title was edited
|
//@description A chat title was edited @title New chat title
|
||||||
pushMessageContentChatChangeTitle = PushMessageContent;
|
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
|
//@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
|
//@is_left True, if the user has left the group himself
|
||||||
|
Binary file not shown.
@ -181,7 +181,7 @@ class NotificationTypePushMessage : public NotificationType {
|
|||||||
return td_api::make_object<td_api::pushMessageContentChatChangePhoto>();
|
return td_api::make_object<td_api::pushMessageContentChatChangePhoto>();
|
||||||
}
|
}
|
||||||
if (key == "MESSAGE_CHAT_CHANGE_TITLE") {
|
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") {
|
if (key == "MESSAGE_CHAT_DELETE_MEMBER") {
|
||||||
return td_api::make_object<td_api::pushMessageContentChatDeleteMember>(arg, false, false);
|
return td_api::make_object<td_api::pushMessageContentChatDeleteMember>(arg, false, false);
|
||||||
|
Reference in New Issue
Block a user