File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -112,14 +112,6 @@ class RichText {
112112 });
113113 }
114114
115- public:
116- RichText () = default ;
117- RichText (const RichText &) = delete ;
118- RichText &operator =(const RichText &) = delete ;
119- RichText (RichText &&) = default ;
120- RichText &operator =(RichText &&) = default ;
121- ~RichText () = default ;
122-
123115 enum class Type : int32 {
124116 Plain,
125117 Bold,
@@ -163,6 +155,14 @@ class RichText {
163155 RichButtonStyle button_style_;
164156 unique_ptr<InlineKeyboardButton> button_;
165157
158+ public:
159+ RichText () = default ;
160+ RichText (const RichText &) = delete ;
161+ RichText &operator =(const RichText &) = delete ;
162+ RichText (RichText &&) = default ;
163+ RichText &operator =(RichText &&) = default ;
164+ ~RichText () = default ;
165+
166166 RichText (telegram_api::object_ptr<telegram_api::RichText> &&rich_text_ptr,
167167 const FlatHashMap<int64, FileId> &documents) {
168168 CHECK (rich_text_ptr != nullptr );
You can’t perform that action at this time.
0 commit comments