Class BusinessMessagesDeleted

java.lang.Object
io.github.natanimn.telebof.types.updates.BusinessMessagesDeleted
All Implemented Interfaces:
TelegramUpdate

public class BusinessMessagesDeleted extends Object implements TelegramUpdate
This object is received when messages are deleted from a connected business account.
Since:
3 March 2025
Author:
Natanim
  • Field Details

    • businessConnectionId

      @SerializedName("business_connection_id") private String businessConnectionId
      Unique identifier of the business connection
    • chat

      private Chat chat
      Information about a chat in the business account. The bot may not have access to the chat or the corresponding user.
    • messageIds

      @SerializedName("message_ids") private List<Integer> messageIds
      The list of identifiers of deleted messages in the chat of the business account
  • Constructor Details

    • BusinessMessagesDeleted

      public BusinessMessagesDeleted()
  • Method Details

    • getBusinessConnectionId

      public String getBusinessConnectionId()
    • getChat

      public Chat getChat()
    • getMessageIds

      public List<Integer> getMessageIds()
    • equals

      public boolean equals(Object object)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object