lib/tdlib/client_methods.rb
# Searches for emojis by keywords.
# Supported only if the file database is enabled.
#
# @param text [TD::Types::String] Text to search for.
# @param exact_match [Boolean] True, if only emojis, which exactly match text needs to be returned.
# @param input_language_codes [Array<TD::Types::String>, nil] List of possible IETF language tags of the user's input
#   language; may be empty if unknown.
# @return [TD::Types::Emojis]
Searches for emojis by keywords.
Supported only if the file database is enabled.
Searches for emojis by keywords . Supported only if the file database is enabled .
def search_emojis(text:, exact_match:, input_language_codes: nil)
    broadcast('@type'                => 'searchEmojis',
              'text'                 => text,
              'exact_match'          => exact_match,
              'input_language_codes' => input_language_codes)
  end
def search_emojis ( text : , exact_match : , input_language_codes : nil ) broadcast ( '@type' => 'searchEmojis' , 'text' => text , 'exact_match' => exact_match , 'input_language_codes' => input_language_codes ) end
Searches for emojis by keywords.
Searches for emojis by keywords .
None
TD::Types::Emojis
text
Text to search for.
Text to search for .
exact_match
True, if only emojis, which exactly match text needs to be returned.
True if only emojis which exactly match text needs to be returned .
input_language_codes
List of possible IETF language tags of the user's input language; may be empty if unknown.
List of possible IETF language tags of the user ' s input language ; may be empty if unknown .