SearchEmojis

public struct SearchEmojis : Codable, Equatable, TDFunction

Searches for emojis by keywords. Supported only if the file database is enabled

  • Undocumented

    Declaration

    Swift

    public typealias Result = Emojis
  • Text to search for

    Declaration

    Swift

    public let text: String
  • True, if only emojis, which exactly match text needs to be returned

    Declaration

    Swift

    public let exactMatch: Bool
  • IETF language tag of the user’s input language; may be empty if unknown

    Declaration

    Swift

    public let inputLanguageCode: String
  • Searches for emojis by keywords. Supported only if the file database is enabled

    Declaration

    Swift

    public init(text: String, exactMatch: Bool, inputLanguageCode: String)

    Parameters

    text

    Text to search for

    exactMatch

    True, if only emojis, which exactly match text needs to be returned

    inputLanguageCode

    IETF language tag of the user’s input language; may be empty if unknown