• Filter objects which contain the text given (as a substring)

    Parameters

    • str: string

      Substring to be matched

    • ignoreCase: boolean = false

      Whether string case should be ignored

    Returns filters.UpdateFilter<UpdatesWithText>