Class SendChatAction

java.lang.Object
io.github.natanimn.telebof.requests.AbstractBaseRequest<SendChatAction, Boolean>
io.github.natanimn.telebof.requests.send.SendChatAction

public class SendChatAction extends AbstractBaseRequest<SendChatAction, Boolean>
SendChatAction class. Returns True on success.
Since:
3 March 2025
See Also:
  • Constructor Details

    • SendChatAction

      public SendChatAction(Object chat_id, ChatAction action, Api api)
      Required
      Parameters:
      chat_id - chat id
      action - action
      api - api
  • Method Details

    • messageThreadId

      public SendChatAction messageThreadId(int message_thread_id)
      Optional
      Parameters:
      message_thread_id - Unique identifier for the target message thread; for supergroups only
      Returns:
      SendChatAction
    • businessConnectionId

      public SendChatAction businessConnectionId(String business_connection_id)
      Optional
      Parameters:
      business_connection_id - Unique identifier of the business connection on behalf of which the action will be sent
      Returns:
      SendChatAction