Record Class Message
java.lang.Object
java.lang.Record
org.teleight.teleightbots.api.objects.Message
- All Implemented Interfaces:
Serializable,ApiResult,MaybeInaccessibleMessage
public record Message(int messageId, int messageThreadId, @Nullable DirectMessagesTopic directMessagesTopic, @Nullable User from, @Nullable Chat senderChat, int senderBoostCount, @Nullable User senderBusinessBot, @NotNull Date date, @Nullable String businessConnectionId, @NotNull Chat chat, @Nullable MessageOrigin forwardOrigin, boolean isTopicMessage, boolean isAutomaticForward, @Nullable Message replyToMessage, @Nullable ExternalReplyInfo externalReply, @Nullable TextQuote quote, @Nullable Story replyToStory, int replyToChecklistTaskId, @Nullable User viaBot, @Nullable Date editDate, boolean hasProtectedContent, boolean isFromOffline, boolean isPaidPost, @Nullable String mediaGroupId, @Nullable String authorSignature, int paidStarCount, @Nullable String text, @Nullable MessageEntity[] entities, @Nullable LinkPreviewOptions linkPreviewOptions, @Nullable String effectId, @Nullable Animation animation, @Nullable Audio audio, @Nullable Document document, @Nullable PaidMedia paidMedia, @Nullable PhotoSize[] photo, @Nullable Sticker sticker, @Nullable Story story, @Nullable Video video, @Nullable VideoNote videoNote, @Nullable Voice voice, @Nullable String caption, @Nullable MessageEntity[] captionEntities, boolean showCaptionAboveMedia, boolean hasMediaSpoiler, @Nullable Checklist checklist, @Nullable Contact contact, @Nullable Dice dice, @Nullable Game game, @Nullable Poll poll, @Nullable Venue venue, @Nullable Location location, @Nullable User[] newChatMembers, @Nullable User leftChatMember, @Nullable ChatOwnerLeft chatOwnerLeft, @Nullable ChatOwnerChanged chatOwnerChanged, @Nullable String newChatTitle, @Nullable PhotoSize[] newChatPhoto, boolean deleteChatPhoto, boolean groupChatCreated, boolean supergroupChatCreated, boolean channelChatCreated, @Nullable MessageAutoDeleteTimerChanged messageAutoDeleteTimerChanged, @Nullable Long migrateToChatId, @Nullable Long migrateFromChatId, @Nullable MaybeInaccessibleMessage pinnedMessage, @Nullable Invoice invoice, @Nullable SuccessfulPayment successfulPayment, @Nullable RefundedPayment refundedPayment, @Nullable UsersShared userShared, @Nullable ChatShared chatShared, @Nullable GiftInfo gift, @Nullable UniqueGiftInfo uniqueGift, @Nullable GiftInfo giftUpgradeSent, @Nullable String connectedWebsite, @Nullable WriteAccessAllowed writeAccessAllowed, @Nullable PassportData passportData, @Nullable ProximityAlertTriggered proximityAlertTriggered, @Nullable ChatBoostAdded boostAdded, @Nullable ChatBackground chatBackgroundSet, @Nullable ChecklistTasksDone checklistTasksDone, @Nullable ChecklistTasksAdded checklistTasksAdded, @Nullable DirectMessagePriceChanged directMessagePriceChanged, @Nullable ForumTopicCreated forumTopicCreated, @Nullable ForumTopicEdited forumTopicEdited, @Nullable ForumTopicClosed forumTopicClosed, @Nullable ForumTopicReopened forumTopicReopened, @Nullable GeneralForumTopicHidden generalForumTopicHidden, @Nullable GeneralForumTopicUnhidden generalForumTopicUnhidden, @Nullable GiveawayCreated giveawayCreated, @Nullable Giveaway giveaway, @Nullable GiveawayWinners giveawayWinners, @Nullable GiveawayCompleted giveawayCompleted, @Nullable PaidMessagePriceChanged paidMessagePriceChanged, @Nullable SuggestedPostApproved suggestedPostApproved, @Nullable SuggestedPostApprovalFailed suggestedPostApprovalFailed, @Nullable SuggestedPostDeclined suggestedPostDeclined, @Nullable SuggestedPostPaid suggestedPostPaid, @Nullable SuggestedPostRefunded suggestedPostRefunded, @Nullable VideoChatScheduled videoChatScheduled, @Nullable VideoChatStarted videoChatStarted, @Nullable VideoChatEnded videoChatEnded, @Nullable VideoChatParticipantsInvited videoChatParticipantsInvited, @Nullable WebAppData webAppData, @Nullable ReplyKeyboard replyMarkup)
extends Record
implements MaybeInaccessibleMessage
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionMessage(int messageId, int messageThreadId, @Nullable DirectMessagesTopic directMessagesTopic, @Nullable User from, @Nullable Chat senderChat, int senderBoostCount, @Nullable User senderBusinessBot, @NotNull Date date, @Nullable String businessConnectionId, @NotNull Chat chat, @Nullable MessageOrigin forwardOrigin, boolean isTopicMessage, boolean isAutomaticForward, @Nullable Message replyToMessage, @Nullable ExternalReplyInfo externalReply, @Nullable TextQuote quote, @Nullable Story replyToStory, int replyToChecklistTaskId, @Nullable User viaBot, @Nullable Date editDate, boolean hasProtectedContent, boolean isFromOffline, boolean isPaidPost, @Nullable String mediaGroupId, @Nullable String authorSignature, int paidStarCount, @Nullable String text, @Nullable MessageEntity[] entities, @Nullable LinkPreviewOptions linkPreviewOptions, @Nullable String effectId, @Nullable Animation animation, @Nullable Audio audio, @Nullable Document document, @Nullable PaidMedia paidMedia, @Nullable PhotoSize[] photo, @Nullable Sticker sticker, @Nullable Story story, @Nullable Video video, @Nullable VideoNote videoNote, @Nullable Voice voice, @Nullable String caption, @Nullable MessageEntity[] captionEntities, boolean showCaptionAboveMedia, boolean hasMediaSpoiler, @Nullable Checklist checklist, @Nullable Contact contact, @Nullable Dice dice, @Nullable Game game, @Nullable Poll poll, @Nullable Venue venue, @Nullable Location location, @Nullable User[] newChatMembers, @Nullable User leftChatMember, @Nullable ChatOwnerLeft chatOwnerLeft, @Nullable ChatOwnerChanged chatOwnerChanged, @Nullable String newChatTitle, @Nullable PhotoSize[] newChatPhoto, boolean deleteChatPhoto, boolean groupChatCreated, boolean supergroupChatCreated, boolean channelChatCreated, @Nullable MessageAutoDeleteTimerChanged messageAutoDeleteTimerChanged, @Nullable Long migrateToChatId, @Nullable Long migrateFromChatId, @Nullable MaybeInaccessibleMessage pinnedMessage, @Nullable Invoice invoice, @Nullable SuccessfulPayment successfulPayment, @Nullable RefundedPayment refundedPayment, @Nullable UsersShared userShared, @Nullable ChatShared chatShared, @Nullable GiftInfo gift, @Nullable UniqueGiftInfo uniqueGift, @Nullable GiftInfo giftUpgradeSent, @Nullable String connectedWebsite, @Nullable WriteAccessAllowed writeAccessAllowed, @Nullable PassportData passportData, @Nullable ProximityAlertTriggered proximityAlertTriggered, @Nullable ChatBoostAdded boostAdded, @Nullable ChatBackground chatBackgroundSet, @Nullable ChecklistTasksDone checklistTasksDone, @Nullable ChecklistTasksAdded checklistTasksAdded, @Nullable DirectMessagePriceChanged directMessagePriceChanged, @Nullable ForumTopicCreated forumTopicCreated, @Nullable ForumTopicEdited forumTopicEdited, @Nullable ForumTopicClosed forumTopicClosed, @Nullable ForumTopicReopened forumTopicReopened, @Nullable GeneralForumTopicHidden generalForumTopicHidden, @Nullable GeneralForumTopicUnhidden generalForumTopicUnhidden, @Nullable GiveawayCreated giveawayCreated, @Nullable Giveaway giveaway, @Nullable GiveawayWinners giveawayWinners, @Nullable GiveawayCompleted giveawayCompleted, @Nullable PaidMessagePriceChanged paidMessagePriceChanged, @Nullable SuggestedPostApproved suggestedPostApproved, @Nullable SuggestedPostApprovalFailed suggestedPostApprovalFailed, @Nullable SuggestedPostDeclined suggestedPostDeclined, @Nullable SuggestedPostPaid suggestedPostPaid, @Nullable SuggestedPostRefunded suggestedPostRefunded, @Nullable VideoChatScheduled videoChatScheduled, @Nullable VideoChatStarted videoChatStarted, @Nullable VideoChatEnded videoChatEnded, @Nullable VideoChatParticipantsInvited videoChatParticipantsInvited, @Nullable WebAppData webAppData, @Nullable ReplyKeyboard replyMarkup) Creates an instance of aMessagerecord class. -
Method Summary
Modifier and TypeMethodDescription@Nullable AnimationReturns the value of theanimationrecord component.@Nullable Audioaudio()Returns the value of theaudiorecord component.@Nullable StringReturns the value of theauthorSignaturerecord component.@Nullable ChatBoostAddedReturns the value of theboostAddedrecord component.@Nullable StringReturns the value of thebusinessConnectionIdrecord component.@Nullable Stringcaption()Returns the value of thecaptionrecord component.@Nullable MessageEntity[]Returns the value of thecaptionEntitiesrecord component.booleanReturns the value of thechannelChatCreatedrecord component.@NotNull Chatchat()Returns the value of thechatrecord component.@Nullable ChatBackgroundReturns the value of thechatBackgroundSetrecord component.chatId()@Nullable ChatOwnerChangedReturns the value of thechatOwnerChangedrecord component.@Nullable ChatOwnerLeftReturns the value of thechatOwnerLeftrecord component.@Nullable ChatSharedReturns the value of thechatSharedrecord component.@Nullable ChecklistReturns the value of thechecklistrecord component.@Nullable ChecklistTasksAddedReturns the value of thechecklistTasksAddedrecord component.@Nullable ChecklistTasksDoneReturns the value of thechecklistTasksDonerecord component.@Nullable StringReturns the value of theconnectedWebsiterecord component.@Nullable Contactcontact()Returns the value of thecontactrecord component.@NotNull Datedate()Returns the value of thedaterecord component.booleanReturns the value of thedeleteChatPhotorecord component.@Nullable Dicedice()Returns the value of thedicerecord component.@Nullable DirectMessagePriceChangedReturns the value of thedirectMessagePriceChangedrecord component.@Nullable DirectMessagesTopicReturns the value of thedirectMessagesTopicrecord component.@Nullable Documentdocument()Returns the value of thedocumentrecord component.@Nullable DateeditDate()Returns the value of theeditDaterecord component.@Nullable StringeffectId()Returns the value of theeffectIdrecord component.@Nullable MessageEntity[]entities()Returns the value of theentitiesrecord component.final booleanIndicates whether some other object is "equal to" this one.@Nullable ExternalReplyInfoReturns the value of theexternalReplyrecord component.@Nullable ForumTopicClosedReturns the value of theforumTopicClosedrecord component.@Nullable ForumTopicCreatedReturns the value of theforumTopicCreatedrecord component.@Nullable ForumTopicEditedReturns the value of theforumTopicEditedrecord component.@Nullable ForumTopicReopenedReturns the value of theforumTopicReopenedrecord component.@Nullable MessageOriginReturns the value of theforwardOriginrecord component.@Nullable Userfrom()Returns the value of thefromrecord component.@Nullable Gamegame()Returns the value of thegamerecord component.@Nullable GeneralForumTopicHiddenReturns the value of thegeneralForumTopicHiddenrecord component.@Nullable GeneralForumTopicUnhiddenReturns the value of thegeneralForumTopicUnhiddenrecord component.@Nullable GiftInfogift()Returns the value of thegiftrecord component.@Nullable GiftInfoReturns the value of thegiftUpgradeSentrecord component.@Nullable Giveawaygiveaway()Returns the value of thegiveawayrecord component.@Nullable GiveawayCompletedReturns the value of thegiveawayCompletedrecord component.@Nullable GiveawayCreatedReturns the value of thegiveawayCreatedrecord component.@Nullable GiveawayWinnersReturns the value of thegiveawayWinnersrecord component.booleanReturns the value of thegroupChatCreatedrecord component.final inthashCode()Returns a hash code value for this object.booleanReturns the value of thehasMediaSpoilerrecord component.booleanReturns the value of thehasProtectedContentrecord component.@Nullable Invoiceinvoice()Returns the value of theinvoicerecord component.booleanReturns the value of theisAutomaticForwardrecord component.booleanbooleanReturns the value of theisFromOfflinerecord component.booleanisGroup()booleanReturns the value of theisPaidPostrecord component.booleanbooleanReturns the value of theisTopicMessagerecord component.booleanisUser()@Nullable UserReturns the value of theleftChatMemberrecord component.@Nullable LinkPreviewOptionsReturns the value of thelinkPreviewOptionsrecord component.@Nullable Locationlocation()Returns the value of thelocationrecord component.@Nullable StringReturns the value of themediaGroupIdrecord component.@Nullable MessageAutoDeleteTimerChangedReturns the value of themessageAutoDeleteTimerChangedrecord component.intReturns the value of themessageIdrecord component.intReturns the value of themessageThreadIdrecord component.@Nullable LongReturns the value of themigrateFromChatIdrecord component.@Nullable LongReturns the value of themigrateToChatIdrecord component.@Nullable User[]Returns the value of thenewChatMembersrecord component.@Nullable PhotoSize[]Returns the value of thenewChatPhotorecord component.@Nullable StringReturns the value of thenewChatTitlerecord component.@Nullable PaidMediaReturns the value of thepaidMediarecord component.@Nullable PaidMessagePriceChangedReturns the value of thepaidMessagePriceChangedrecord component.intReturns the value of thepaidStarCountrecord component.@Nullable PassportDataReturns the value of thepassportDatarecord component.@Nullable PhotoSize[]photo()Returns the value of thephotorecord component.@Nullable MaybeInaccessibleMessageReturns the value of thepinnedMessagerecord component.@Nullable Pollpoll()Returns the value of thepollrecord component.@Nullable ProximityAlertTriggeredReturns the value of theproximityAlertTriggeredrecord component.@Nullable TextQuotequote()Returns the value of thequoterecord component.@Nullable RefundedPaymentReturns the value of therefundedPaymentrecord component.@Nullable ReplyKeyboardReturns the value of thereplyMarkuprecord component.intReturns the value of thereplyToChecklistTaskIdrecord component.@Nullable MessageReturns the value of thereplyToMessagerecord component.@Nullable StoryReturns the value of thereplyToStoryrecord component.intReturns the value of thesenderBoostCountrecord component.@Nullable UserReturns the value of thesenderBusinessBotrecord component.@Nullable ChatReturns the value of thesenderChatrecord component.booleanReturns the value of theshowCaptionAboveMediarecord component.@Nullable Stickersticker()Returns the value of thestickerrecord component.@Nullable Storystory()Returns the value of thestoryrecord component.@Nullable SuccessfulPaymentReturns the value of thesuccessfulPaymentrecord component.@Nullable SuggestedPostApprovalFailedReturns the value of thesuggestedPostApprovalFailedrecord component.@Nullable SuggestedPostApprovedReturns the value of thesuggestedPostApprovedrecord component.@Nullable SuggestedPostDeclinedReturns the value of thesuggestedPostDeclinedrecord component.@Nullable SuggestedPostPaidReturns the value of thesuggestedPostPaidrecord component.@Nullable SuggestedPostRefundedReturns the value of thesuggestedPostRefundedrecord component.booleanReturns the value of thesupergroupChatCreatedrecord component.@Nullable Stringtext()Returns the value of thetextrecord component.final StringtoString()Returns a string representation of this record class.@Nullable UniqueGiftInfoReturns the value of theuniqueGiftrecord component.@Nullable UsersSharedReturns the value of theuserSharedrecord component.@Nullable Venuevenue()Returns the value of thevenuerecord component.@Nullable UserviaBot()Returns the value of theviaBotrecord component.@Nullable Videovideo()Returns the value of thevideorecord component.@Nullable VideoChatEndedReturns the value of thevideoChatEndedrecord component.@Nullable VideoChatParticipantsInvitedReturns the value of thevideoChatParticipantsInvitedrecord component.@Nullable VideoChatScheduledReturns the value of thevideoChatScheduledrecord component.@Nullable VideoChatStartedReturns the value of thevideoChatStartedrecord component.@Nullable VideoNoteReturns the value of thevideoNoterecord component.@Nullable Voicevoice()Returns the value of thevoicerecord component.@Nullable WebAppDataReturns the value of thewebAppDatarecord component.@Nullable WriteAccessAllowedReturns the value of thewriteAccessAllowedrecord component.
-
Constructor Details
-
Method Details
-
chatId
-
isGroup
public boolean isGroup() -
isChannel
public boolean isChannel() -
isUser
public boolean isUser() -
isSuperGroup
public boolean isSuperGroup() -
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='. -
messageId
public int messageId()Returns the value of themessageIdrecord component.- Specified by:
messageIdin interfaceMaybeInaccessibleMessage- Returns:
- the value of the
messageIdrecord component
-
messageThreadId
public int messageThreadId()Returns the value of themessageThreadIdrecord component.- Returns:
- the value of the
messageThreadIdrecord component
-
directMessagesTopic
Returns the value of thedirectMessagesTopicrecord component.- Returns:
- the value of the
directMessagesTopicrecord component
-
from
Returns the value of thefromrecord component.- Returns:
- the value of the
fromrecord component
-
senderChat
Returns the value of thesenderChatrecord component.- Returns:
- the value of the
senderChatrecord component
-
senderBoostCount
public int senderBoostCount()Returns the value of thesenderBoostCountrecord component.- Returns:
- the value of the
senderBoostCountrecord component
-
senderBusinessBot
Returns the value of thesenderBusinessBotrecord component.- Returns:
- the value of the
senderBusinessBotrecord component
-
date
Returns the value of thedaterecord component.- Specified by:
datein interfaceMaybeInaccessibleMessage- Returns:
- the value of the
daterecord component
-
businessConnectionId
Returns the value of thebusinessConnectionIdrecord component.- Returns:
- the value of the
businessConnectionIdrecord component
-
chat
Returns the value of thechatrecord component.- Specified by:
chatin interfaceMaybeInaccessibleMessage- Returns:
- the value of the
chatrecord component
-
forwardOrigin
Returns the value of theforwardOriginrecord component.- Returns:
- the value of the
forwardOriginrecord component
-
isTopicMessage
public boolean isTopicMessage()Returns the value of theisTopicMessagerecord component.- Returns:
- the value of the
isTopicMessagerecord component
-
isAutomaticForward
public boolean isAutomaticForward()Returns the value of theisAutomaticForwardrecord component.- Returns:
- the value of the
isAutomaticForwardrecord component
-
replyToMessage
Returns the value of thereplyToMessagerecord component.- Returns:
- the value of the
replyToMessagerecord component
-
externalReply
Returns the value of theexternalReplyrecord component.- Returns:
- the value of the
externalReplyrecord component
-
quote
Returns the value of thequoterecord component.- Returns:
- the value of the
quoterecord component
-
replyToStory
Returns the value of thereplyToStoryrecord component.- Returns:
- the value of the
replyToStoryrecord component
-
replyToChecklistTaskId
public int replyToChecklistTaskId()Returns the value of thereplyToChecklistTaskIdrecord component.- Returns:
- the value of the
replyToChecklistTaskIdrecord component
-
viaBot
Returns the value of theviaBotrecord component.- Returns:
- the value of the
viaBotrecord component
-
editDate
Returns the value of theeditDaterecord component.- Returns:
- the value of the
editDaterecord component
-
hasProtectedContent
public boolean hasProtectedContent()Returns the value of thehasProtectedContentrecord component.- Returns:
- the value of the
hasProtectedContentrecord component
-
isFromOffline
public boolean isFromOffline()Returns the value of theisFromOfflinerecord component.- Returns:
- the value of the
isFromOfflinerecord component
-
isPaidPost
public boolean isPaidPost()Returns the value of theisPaidPostrecord component.- Returns:
- the value of the
isPaidPostrecord component
-
mediaGroupId
Returns the value of themediaGroupIdrecord component.- Returns:
- the value of the
mediaGroupIdrecord component
-
authorSignature
Returns the value of theauthorSignaturerecord component.- Returns:
- the value of the
authorSignaturerecord component
-
paidStarCount
public int paidStarCount()Returns the value of thepaidStarCountrecord component.- Returns:
- the value of the
paidStarCountrecord component
-
text
Returns the value of thetextrecord component.- Returns:
- the value of the
textrecord component
-
entities
Returns the value of theentitiesrecord component.- Returns:
- the value of the
entitiesrecord component
-
linkPreviewOptions
Returns the value of thelinkPreviewOptionsrecord component.- Returns:
- the value of the
linkPreviewOptionsrecord component
-
effectId
Returns the value of theeffectIdrecord component.- Returns:
- the value of the
effectIdrecord component
-
animation
Returns the value of theanimationrecord component.- Returns:
- the value of the
animationrecord component
-
audio
Returns the value of theaudiorecord component.- Returns:
- the value of the
audiorecord component
-
document
Returns the value of thedocumentrecord component.- Returns:
- the value of the
documentrecord component
-
paidMedia
Returns the value of thepaidMediarecord component.- Returns:
- the value of the
paidMediarecord component
-
photo
Returns the value of thephotorecord component.- Returns:
- the value of the
photorecord component
-
sticker
Returns the value of thestickerrecord component.- Returns:
- the value of the
stickerrecord component
-
story
Returns the value of thestoryrecord component.- Returns:
- the value of the
storyrecord component
-
video
Returns the value of thevideorecord component.- Returns:
- the value of the
videorecord component
-
videoNote
Returns the value of thevideoNoterecord component.- Returns:
- the value of the
videoNoterecord component
-
voice
Returns the value of thevoicerecord component.- Returns:
- the value of the
voicerecord component
-
caption
Returns the value of thecaptionrecord component.- Returns:
- the value of the
captionrecord component
-
captionEntities
Returns the value of thecaptionEntitiesrecord component.- Returns:
- the value of the
captionEntitiesrecord component
-
showCaptionAboveMedia
public boolean showCaptionAboveMedia()Returns the value of theshowCaptionAboveMediarecord component.- Returns:
- the value of the
showCaptionAboveMediarecord component
-
hasMediaSpoiler
public boolean hasMediaSpoiler()Returns the value of thehasMediaSpoilerrecord component.- Returns:
- the value of the
hasMediaSpoilerrecord component
-
checklist
Returns the value of thechecklistrecord component.- Returns:
- the value of the
checklistrecord component
-
contact
Returns the value of thecontactrecord component.- Returns:
- the value of the
contactrecord component
-
dice
Returns the value of thedicerecord component.- Returns:
- the value of the
dicerecord component
-
game
Returns the value of thegamerecord component.- Returns:
- the value of the
gamerecord component
-
poll
Returns the value of thepollrecord component.- Returns:
- the value of the
pollrecord component
-
venue
Returns the value of thevenuerecord component.- Returns:
- the value of the
venuerecord component
-
location
Returns the value of thelocationrecord component.- Returns:
- the value of the
locationrecord component
-
newChatMembers
Returns the value of thenewChatMembersrecord component.- Returns:
- the value of the
newChatMembersrecord component
-
leftChatMember
Returns the value of theleftChatMemberrecord component.- Returns:
- the value of the
leftChatMemberrecord component
-
chatOwnerLeft
Returns the value of thechatOwnerLeftrecord component.- Returns:
- the value of the
chatOwnerLeftrecord component
-
chatOwnerChanged
Returns the value of thechatOwnerChangedrecord component.- Returns:
- the value of the
chatOwnerChangedrecord component
-
newChatTitle
Returns the value of thenewChatTitlerecord component.- Returns:
- the value of the
newChatTitlerecord component
-
newChatPhoto
Returns the value of thenewChatPhotorecord component.- Returns:
- the value of the
newChatPhotorecord component
-
deleteChatPhoto
public boolean deleteChatPhoto()Returns the value of thedeleteChatPhotorecord component.- Returns:
- the value of the
deleteChatPhotorecord component
-
groupChatCreated
public boolean groupChatCreated()Returns the value of thegroupChatCreatedrecord component.- Returns:
- the value of the
groupChatCreatedrecord component
-
supergroupChatCreated
public boolean supergroupChatCreated()Returns the value of thesupergroupChatCreatedrecord component.- Returns:
- the value of the
supergroupChatCreatedrecord component
-
channelChatCreated
public boolean channelChatCreated()Returns the value of thechannelChatCreatedrecord component.- Returns:
- the value of the
channelChatCreatedrecord component
-
messageAutoDeleteTimerChanged
Returns the value of themessageAutoDeleteTimerChangedrecord component.- Returns:
- the value of the
messageAutoDeleteTimerChangedrecord component
-
migrateToChatId
Returns the value of themigrateToChatIdrecord component.- Returns:
- the value of the
migrateToChatIdrecord component
-
migrateFromChatId
Returns the value of themigrateFromChatIdrecord component.- Returns:
- the value of the
migrateFromChatIdrecord component
-
pinnedMessage
Returns the value of thepinnedMessagerecord component.- Returns:
- the value of the
pinnedMessagerecord component
-
invoice
Returns the value of theinvoicerecord component.- Returns:
- the value of the
invoicerecord component
-
successfulPayment
Returns the value of thesuccessfulPaymentrecord component.- Returns:
- the value of the
successfulPaymentrecord component
-
refundedPayment
Returns the value of therefundedPaymentrecord component.- Returns:
- the value of the
refundedPaymentrecord component
-
gift
Returns the value of thegiftrecord component.- Returns:
- the value of the
giftrecord component
-
uniqueGift
Returns the value of theuniqueGiftrecord component.- Returns:
- the value of the
uniqueGiftrecord component
-
giftUpgradeSent
Returns the value of thegiftUpgradeSentrecord component.- Returns:
- the value of the
giftUpgradeSentrecord component
-
connectedWebsite
Returns the value of theconnectedWebsiterecord component.- Returns:
- the value of the
connectedWebsiterecord component
-
writeAccessAllowed
Returns the value of thewriteAccessAllowedrecord component.- Returns:
- the value of the
writeAccessAllowedrecord component
-
passportData
Returns the value of thepassportDatarecord component.- Returns:
- the value of the
passportDatarecord component
-
proximityAlertTriggered
Returns the value of theproximityAlertTriggeredrecord component.- Returns:
- the value of the
proximityAlertTriggeredrecord component
-
boostAdded
Returns the value of theboostAddedrecord component.- Returns:
- the value of the
boostAddedrecord component
-
chatBackgroundSet
Returns the value of thechatBackgroundSetrecord component.- Returns:
- the value of the
chatBackgroundSetrecord component
-
checklistTasksDone
Returns the value of thechecklistTasksDonerecord component.- Returns:
- the value of the
checklistTasksDonerecord component
-
checklistTasksAdded
Returns the value of thechecklistTasksAddedrecord component.- Returns:
- the value of the
checklistTasksAddedrecord component
-
directMessagePriceChanged
Returns the value of thedirectMessagePriceChangedrecord component.- Returns:
- the value of the
directMessagePriceChangedrecord component
-
forumTopicCreated
Returns the value of theforumTopicCreatedrecord component.- Returns:
- the value of the
forumTopicCreatedrecord component
-
forumTopicEdited
Returns the value of theforumTopicEditedrecord component.- Returns:
- the value of the
forumTopicEditedrecord component
-
forumTopicClosed
Returns the value of theforumTopicClosedrecord component.- Returns:
- the value of the
forumTopicClosedrecord component
-
forumTopicReopened
Returns the value of theforumTopicReopenedrecord component.- Returns:
- the value of the
forumTopicReopenedrecord component
-
generalForumTopicHidden
Returns the value of thegeneralForumTopicHiddenrecord component.- Returns:
- the value of the
generalForumTopicHiddenrecord component
-
giveawayCreated
Returns the value of thegiveawayCreatedrecord component.- Returns:
- the value of the
giveawayCreatedrecord component
-
giveaway
Returns the value of thegiveawayrecord component.- Returns:
- the value of the
giveawayrecord component
-
giveawayWinners
Returns the value of thegiveawayWinnersrecord component.- Returns:
- the value of the
giveawayWinnersrecord component
-
giveawayCompleted
Returns the value of thegiveawayCompletedrecord component.- Returns:
- the value of the
giveawayCompletedrecord component
-
paidMessagePriceChanged
Returns the value of thepaidMessagePriceChangedrecord component.- Returns:
- the value of the
paidMessagePriceChangedrecord component
-
suggestedPostApproved
Returns the value of thesuggestedPostApprovedrecord component.- Returns:
- the value of the
suggestedPostApprovedrecord component
-
suggestedPostApprovalFailed
Returns the value of thesuggestedPostApprovalFailedrecord component.- Returns:
- the value of the
suggestedPostApprovalFailedrecord component
-
suggestedPostDeclined
Returns the value of thesuggestedPostDeclinedrecord component.- Returns:
- the value of the
suggestedPostDeclinedrecord component
-
suggestedPostPaid
Returns the value of thesuggestedPostPaidrecord component.- Returns:
- the value of the
suggestedPostPaidrecord component
-
suggestedPostRefunded
Returns the value of thesuggestedPostRefundedrecord component.- Returns:
- the value of the
suggestedPostRefundedrecord component
-
videoChatScheduled
Returns the value of thevideoChatScheduledrecord component.- Returns:
- the value of the
videoChatScheduledrecord component
-
videoChatStarted
Returns the value of thevideoChatStartedrecord component.- Returns:
- the value of the
videoChatStartedrecord component
-
videoChatEnded
Returns the value of thevideoChatEndedrecord component.- Returns:
- the value of the
videoChatEndedrecord component
-
videoChatParticipantsInvited
Returns the value of thevideoChatParticipantsInvitedrecord component.- Returns:
- the value of the
videoChatParticipantsInvitedrecord component
-
webAppData
Returns the value of thewebAppDatarecord component.- Returns:
- the value of the
webAppDatarecord component
-
replyMarkup
Returns the value of thereplyMarkuprecord component.- Returns:
- the value of the
replyMarkuprecord component
-