Module tdlight.api

Class TdApi.CreateChatFilter

Enclosing class:
TdApi

public static final class TdApi.CreateChatFilter extends TdApi.Function<TdApi.ChatFilterInfo>
Creates new chat filter. Returns information about the created chat filter. There can be up to GetOption("chat_filter_count_max") chat filters, but the limit can be increased with Telegram Premium. Returns ChatFilterInfo
  • Field Details

  • Constructor Details

    • CreateChatFilter

      public CreateChatFilter()
      Creates new chat filter. Returns information about the created chat filter. There can be up to GetOption("chat_filter_count_max") chat filters, but the limit can be increased with Telegram Premium. Returns ChatFilterInfo
    • CreateChatFilter

      public CreateChatFilter(TdApi.ChatFilter filter)
      Creates new chat filter. Returns information about the created chat filter. There can be up to GetOption("chat_filter_count_max") chat filters, but the limit can be increased with Telegram Premium. Returns ChatFilterInfo
      Parameters:
      filter - ChatFilter Chat filter.
    • CreateChatFilter

      public CreateChatFilter(DataInput input) throws IOException
      Creates new chat filter. Returns information about the created chat filter. There can be up to GetOption("chat_filter_count_max") chat filters, but the limit can be increased with Telegram Premium. Returns ChatFilterInfo
      Throws:
      IOException
  • Method Details