aboutsummaryrefslogtreecommitdiffhomepage
path: root/td/telegram/AiComposeToneExample.hpp
blob: 19dcc042f25ca6f669fb2542da00d20c61cc512a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
//
// Copyright Aliaksei Levin (levlam@telegram.org), Arseny Smirnov (arseny30@gmail.com) 2014-2026
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
//
#pragma once

#include "td/telegram/AiComposeToneExample.h"
#include "td/telegram/MessageEntity.hpp"

#include "td/utils/common.h"
#include "td/utils/tl_helpers.h"

namespace td {

template <class StorerT>
void AiComposeToneExample::store(StorerT &storer) const {
  BEGIN_STORE_FLAGS();
  END_STORE_FLAGS();
  td::store(from_text_, storer);
  td::store(to_text_, storer);
}

template <class ParserT>
void AiComposeToneExample::parse(ParserT &parser) {
  BEGIN_PARSE_FLAGS();
  END_PARSE_FLAGS();
  td::parse(from_text_, parser);
  td::parse(to_text_, parser);
}

}  // namespace td