Make create_input_message_content static.
GitOrigin-RevId: ca85aeed0a712ddaff7f44d14f75d119f0feb3b0
This commit is contained in:
parent
09beaef806
commit
c061da558b
@ -17112,7 +17112,7 @@ Result<InputMessageContent> MessagesManager::process_input_message_content(
|
||||
|
||||
Result<InputMessageContent> MessagesManager::create_input_message_content(
|
||||
DialogId dialog_id, tl_object_ptr<td_api::InputMessageContent> &&input_message_content, Td *td,
|
||||
FormattedText caption, FileId file_id, PhotoSize thumbnail, vector<FileId> sticker_file_ids) const {
|
||||
FormattedText caption, FileId file_id, PhotoSize thumbnail, vector<FileId> sticker_file_ids) {
|
||||
CHECK(input_message_content != nullptr);
|
||||
LOG(INFO) << "Create InputMessageContent with file " << file_id << " and thumbnail " << thumbnail.file_id;
|
||||
|
||||
|
@ -1987,9 +1987,9 @@ class MessagesManager : public Actor {
|
||||
Result<InputMessageContent> process_input_message_content(
|
||||
DialogId dialog_id, tl_object_ptr<td_api::InputMessageContent> &&input_message_content) const;
|
||||
|
||||
Result<InputMessageContent> create_input_message_content(
|
||||
static Result<InputMessageContent> create_input_message_content(
|
||||
DialogId dialog_id, tl_object_ptr<td_api::InputMessageContent> &&input_message_content, Td *td,
|
||||
FormattedText caption, FileId file_id, PhotoSize thumbnail, vector<FileId> sticker_file_ids) const;
|
||||
FormattedText caption, FileId file_id, PhotoSize thumbnail, vector<FileId> sticker_file_ids);
|
||||
|
||||
Message *get_message_to_send(Dialog *d, MessageId reply_to_message_id, bool disable_notification,
|
||||
bool from_background, unique_ptr<MessageContent> &&content, bool *need_update_dialog_pos,
|
||||
|
Loading…
Reference in New Issue
Block a user