PhoneticTranscription
public struct PhoneticTranscription : Equatable
PhoneticTranscription
represents the phonetic transcription of the message part used in the voice message.
Important
This is a Public Preview API. It may be changed or removed at any time.-
Initializer
Declaration
Swift
public init(transcriptions: [String], languages: [Locale], tag: String, alphabet: String)
Parameters
transcriptions
Phonetic transcriptions.
languages
The languages in which the phonetic string is encoded as
Locale
s.tag
Tag in which the original string is embedded.
alphabet
Format of the phonetic transcriptions alphabet.
-
Phonetic transcriptions.
Declaration
Swift
public let transcriptions: [String]
-
The
Locale
s in which the phonetic string is encoded.Declaration
Swift
public let languages: [Locale]
-
Tag in which the original string is embedded.
Declaration
Swift
public let tag: String
-
Format of the phonetic transcriptions alphabet.
Declaration
Swift
public let alphabet: String