• Filter objects which contain the text ending with a given string

    Parameters

    • str: string

      Substring to be matched

    • ignoreCase: boolean = false

      Whether string case should be ignored

    Returns filters.UpdateFilter<UpdatesWithText>