Update API

This commit is contained in:
Ilya Laktyushin
2022-03-27 20:16:54 +04:00
parent b8390c10cb
commit e952261254
25 changed files with 462 additions and 179 deletions

View File

@@ -631,6 +631,8 @@ public func universalServiceMessageString(presentationData: (PresentationTheme,
attributedString = addAttributesToStringWithRanges(resultTitleString._tuple, body: bodyAttributes, argumentAttributes: [0: boldAttributes])
}
}
case let .webViewData(text):
attributedString = NSAttributedString(string: "Data for \(text) sent to bot", font: titleFont, textColor: primaryTextColor)
case .unknown:
attributedString = nil
}