Class 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 chatId, ChatAction action, Api api)
      Required
      Parameters:
      chatId - chat id
      action - action
      api - api
  • Method Details

    • messageThreadId

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

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