WithUser

interface WithUser

All inheritors of this type have User in their data as one of the main data

See also

Properties

Link copied to clipboard
abstract val user: User

Inheritors

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Extensions

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun WithUser.administratorChatMemberOrNull(): AdministratorChatMember?
Link copied to clipboard
inline fun WithUser.administratorChatMemberOrThrow(): AdministratorChatMember
Link copied to clipboard
inline fun WithUser.bannedChatMemberOrNull(): BannedChatMember?
Link copied to clipboard
inline fun WithUser.bannedChatMemberOrThrow(): BannedChatMember
Link copied to clipboard
inline fun WithUser.baseChosenInlineResultOrNull(): BaseChosenInlineResult?
Link copied to clipboard
inline fun WithUser.baseChosenInlineResultOrThrow(): BaseChosenInlineResult
Link copied to clipboard
inline fun WithUser.baseInlineQueryOrNull(): BaseInlineQuery?
Link copied to clipboard
inline fun WithUser.baseInlineQueryOrThrow(): BaseInlineQuery
Link copied to clipboard
inline fun WithUser.callbackQueryOrNull(): CallbackQuery?
Link copied to clipboard
inline fun WithUser.callbackQueryOrThrow(): CallbackQuery
Link copied to clipboard
inline fun WithUser.chatInviteLinkOrNull(): ChatInviteLink?
Link copied to clipboard
inline fun WithUser.chatInviteLinkOrThrow(): ChatInviteLink
Link copied to clipboard
inline fun WithUser.chatInviteLinkUnlimitedOrNull(): ChatInviteLinkUnlimited?
Link copied to clipboard
inline fun WithUser.chatInviteLinkUnlimitedOrThrow(): ChatInviteLinkUnlimited
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun WithUser.chatJoinRequestOrNull(): ChatJoinRequest?
Link copied to clipboard
inline fun WithUser.chatJoinRequestOrThrow(): ChatJoinRequest
Link copied to clipboard
inline fun WithUser.chatMemberOrNull(): ChatMember?
Link copied to clipboard
inline fun WithUser.chatMemberOrThrow(): ChatMember
Link copied to clipboard
inline fun WithUser.chosenInlineResultOrNull(): ChosenInlineResult?
Link copied to clipboard
inline fun WithUser.chosenInlineResultOrThrow(): ChosenInlineResult
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun WithUser.dataCallbackQueryOrNull(): DataCallbackQuery?
Link copied to clipboard
inline fun WithUser.dataCallbackQueryOrThrow(): DataCallbackQuery
Link copied to clipboard
inline fun WithUser.fromUserMessageOrNull(): FromUserMessage?
Link copied to clipboard
inline fun WithUser.fromUserMessageOrThrow(): FromUserMessage
Link copied to clipboard
inline fun WithUser.fromUserOrNull(): FromUser?
Link copied to clipboard
inline fun WithUser.fromUserOrThrow(): FromUser
Link copied to clipboard
inline fun WithUser.gameShortNameCallbackQueryOrNull(): GameShortNameCallbackQuery?
Link copied to clipboard
Link copied to clipboard
inline fun WithUser.groupEventMessageOrNull(): GroupEventMessage<GroupEvent>?
Link copied to clipboard
inline fun WithUser.groupEventMessageOrThrow(): GroupEventMessage<GroupEvent>
Link copied to clipboard
inline fun <T> WithUser.ifAdministratorChatMember(block: (AdministratorChatMember) -> T): T?
Link copied to clipboard
inline fun <T> WithUser.ifAdministratorChatMemberImpl(block: (AdministratorChatMemberImpl) -> T): T?
Link copied to clipboard
inline fun <T> WithUser.ifBannedChatMember(block: (BannedChatMember) -> T): T?
Link copied to clipboard
inline fun <T> WithUser.ifBaseChosenInlineResult(block: (BaseChosenInlineResult) -> T): T?
Link copied to clipboard
inline fun <T> WithUser.ifBaseInlineQuery(block: (BaseInlineQuery) -> T): T?
Link copied to clipboard
inline fun <T> WithUser.ifCallbackQuery(block: (CallbackQuery) -> T): T?
Link copied to clipboard
inline fun <T> WithUser.ifChatInviteLink(block: (ChatInviteLink) -> T): T?
Link copied to clipboard
inline fun <T> WithUser.ifChatInviteLinkUnlimited(block: (ChatInviteLinkUnlimited) -> T): T?
Link copied to clipboard
inline fun <T> WithUser.ifChatInviteLinkWithJoinRequest(block: (ChatInviteLinkWithJoinRequest) -> T): T?
Link copied to clipboard
inline fun <T> WithUser.ifChatInviteLinkWithLimitedMembers(block: (ChatInviteLinkWithLimitedMembers) -> T): T?
Link copied to clipboard
inline fun <T> WithUser.ifChatJoinRequest(block: (ChatJoinRequest) -> T): T?
Link copied to clipboard
inline fun <T> WithUser.ifChatMember(block: (ChatMember) -> T): T?
Link copied to clipboard
inline fun <T> WithUser.ifChosenInlineResult(block: (ChosenInlineResult) -> T): T?
Link copied to clipboard
inline fun <T> WithUser.ifCommonGroupContentMessage(block: (CommonGroupContentMessage<MessageContent>) -> T): T?
Link copied to clipboard
inline fun <T> WithUser.ifCommonGroupContentMessageImpl(block: (CommonGroupContentMessageImpl<MessageContent>) -> T): T?
Link copied to clipboard
inline fun <T> WithUser.ifCommonGroupEventMessage(block: (CommonGroupEventMessage<GroupEvent>) -> T): T?
Link copied to clipboard
inline fun <T> WithUser.ifCommonMediaGroupMessage(block: (CommonMediaGroupMessage<MediaGroupContent>) -> T): T?
Link copied to clipboard
inline fun <T> WithUser.ifCommonSupergroupEventMessage(block: (CommonSupergroupEventMessage<SupergroupEvent>) -> T): T?
Link copied to clipboard
inline fun <T> WithUser.ifDataCallbackQuery(block: (DataCallbackQuery) -> T): T?
Link copied to clipboard
inline fun <T> WithUser.ifFromUser(block: (FromUser) -> T): T?
Link copied to clipboard
inline fun <T> WithUser.ifFromUserMessage(block: (FromUserMessage) -> T): T?
Link copied to clipboard
inline fun <T> WithUser.ifGameShortNameCallbackQuery(block: (GameShortNameCallbackQuery) -> T): T?
Link copied to clipboard
inline fun <T> WithUser.ifGroupEventMessage(block: (GroupEventMessage<GroupEvent>) -> T): T?
Link copied to clipboard
inline fun <T> WithUser.ifInlineMessageIdCallbackQuery(block: (InlineMessageIdCallbackQuery) -> T): T?
Link copied to clipboard
inline fun <T> WithUser.ifInlineMessageIdDataCallbackQuery(block: (InlineMessageIdDataCallbackQuery) -> T): T?
Link copied to clipboard
inline fun <T> WithUser.ifInlineQuery(block: (InlineQuery) -> T): T?
Link copied to clipboard
inline fun <T> WithUser.ifKickedChatMember(block: (KickedChatMember) -> T): T?
Link copied to clipboard
inline fun <T> WithUser.ifLeftChatMember(block: (LeftChatMember) -> T): T?
Link copied to clipboard
inline fun <T> WithUser.ifLeftChatMemberEvent(block: (LeftChatMemberEvent) -> T): T?
Link copied to clipboard
inline fun <T> WithUser.ifLeftChatMemberImpl(block: (LeftChatMemberImpl) -> T): T?
Link copied to clipboard
inline fun <T> WithUser.ifLocationChosenInlineResult(block: (LocationChosenInlineResult) -> T): T?
Link copied to clipboard
inline fun <T> WithUser.ifLocationInlineQuery(block: (LocationInlineQuery) -> T): T?
Link copied to clipboard
inline fun <T> WithUser.ifMemberChatMember(block: (MemberChatMember) -> T): T?
Link copied to clipboard
inline fun <T> WithUser.ifMemberChatMemberImpl(block: (MemberChatMemberImpl) -> T): T?
Link copied to clipboard
inline fun <T> WithUser.ifMessageCallbackQuery(block: (MessageCallbackQuery) -> T): T?
Link copied to clipboard
inline fun <T> WithUser.ifMessageDataCallbackQuery(block: (MessageDataCallbackQuery) -> T): T?
Link copied to clipboard
inline fun <T> WithUser.ifMessageGameShortNameCallbackQuery(block: (MessageGameShortNameCallbackQuery) -> T): T?
Link copied to clipboard
inline fun <T> WithUser.ifOwnerChatMember(block: (OwnerChatMember) -> T): T?
Link copied to clipboard
inline fun <T> WithUser.ifPassportMessage(block: (PassportMessage) -> T): T?
Link copied to clipboard
inline fun <T> WithUser.ifPollAnswer(block: (PollAnswer) -> T): T?
Link copied to clipboard
inline fun <T> WithUser.ifPreCheckoutQuery(block: (PreCheckoutQuery) -> T): T?
Link copied to clipboard
inline fun <T> WithUser.ifPrimaryInviteLink(block: (PrimaryInviteLink) -> T): T?
Link copied to clipboard
inline fun <T> WithUser.ifPrivateContentMessage(block: (PrivateContentMessage<MessageContent>) -> T): T?
Link copied to clipboard
inline fun <T> WithUser.ifPrivateContentMessageImpl(block: (PrivateContentMessageImpl<MessageContent>) -> T): T?
Link copied to clipboard
inline fun <T> WithUser.ifRestrictedChatMember(block: (RestrictedChatMember) -> T): T?
Link copied to clipboard
inline fun <T> WithUser.ifSecondaryChatInviteLink(block: (SecondaryChatInviteLink) -> T): T?
Link copied to clipboard
inline fun <T> WithUser.ifShippingQuery(block: (ShippingQuery) -> T): T?
Link copied to clipboard
inline fun <T> WithUser.ifSpecialRightsChatMember(block: (SpecialRightsChatMember) -> T): T?
Link copied to clipboard
inline fun <T> WithUser.ifSupergroupEventMessage(block: (SupergroupEventMessage<SupergroupEvent>) -> T): T?
Link copied to clipboard
inline fun <T> WithUser.ifUnknownCallbackQueryType(block: (UnknownCallbackQueryType) -> T): T?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun WithUser.inlineQueryOrNull(): InlineQuery?
Link copied to clipboard
inline fun WithUser.inlineQueryOrThrow(): InlineQuery
Link copied to clipboard
inline fun WithUser.kickedChatMemberOrNull(): KickedChatMember?
Link copied to clipboard
inline fun WithUser.kickedChatMemberOrThrow(): KickedChatMember
Link copied to clipboard
inline fun WithUser.leftChatMemberEventOrNull(): LeftChatMemberEvent?
Link copied to clipboard
inline fun WithUser.leftChatMemberEventOrThrow(): LeftChatMemberEvent
Link copied to clipboard
inline fun WithUser.leftChatMemberImplOrNull(): LeftChatMemberImpl?
Link copied to clipboard
inline fun WithUser.leftChatMemberImplOrThrow(): LeftChatMemberImpl
Link copied to clipboard
inline fun WithUser.leftChatMemberOrNull(): LeftChatMember?
Link copied to clipboard
inline fun WithUser.leftChatMemberOrThrow(): LeftChatMember
Link copied to clipboard
inline fun WithUser.locationChosenInlineResultOrNull(): LocationChosenInlineResult?
Link copied to clipboard
Link copied to clipboard
inline fun WithUser.locationInlineQueryOrNull(): LocationInlineQuery?
Link copied to clipboard
inline fun WithUser.locationInlineQueryOrThrow(): LocationInlineQuery
Link copied to clipboard
inline fun WithUser.memberChatMemberImplOrNull(): MemberChatMemberImpl?
Link copied to clipboard
inline fun WithUser.memberChatMemberImplOrThrow(): MemberChatMemberImpl
Link copied to clipboard
inline fun WithUser.memberChatMemberOrNull(): MemberChatMember?
Link copied to clipboard
inline fun WithUser.memberChatMemberOrThrow(): MemberChatMember
Link copied to clipboard
inline fun WithUser.messageCallbackQueryOrNull(): MessageCallbackQuery?
Link copied to clipboard
inline fun WithUser.messageCallbackQueryOrThrow(): MessageCallbackQuery
Link copied to clipboard
inline fun WithUser.messageDataCallbackQueryOrNull(): MessageDataCallbackQuery?
Link copied to clipboard
inline fun WithUser.messageDataCallbackQueryOrThrow(): MessageDataCallbackQuery
Link copied to clipboard
inline fun WithUser.ownerChatMemberOrNull(): OwnerChatMember?
Link copied to clipboard
inline fun WithUser.ownerChatMemberOrThrow(): OwnerChatMember
Link copied to clipboard
inline fun WithUser.passportMessageOrNull(): PassportMessage?
Link copied to clipboard
inline fun WithUser.passportMessageOrThrow(): PassportMessage
Link copied to clipboard
inline fun WithUser.pollAnswerOrNull(): PollAnswer?
Link copied to clipboard
inline fun WithUser.pollAnswerOrThrow(): PollAnswer
Link copied to clipboard
inline fun WithUser.preCheckoutQueryOrNull(): PreCheckoutQuery?
Link copied to clipboard
inline fun WithUser.preCheckoutQueryOrThrow(): PreCheckoutQuery
Link copied to clipboard
inline fun WithUser.primaryInviteLinkOrNull(): PrimaryInviteLink?
Link copied to clipboard
inline fun WithUser.primaryInviteLinkOrThrow(): PrimaryInviteLink
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun WithUser.restrictedChatMemberOrNull(): RestrictedChatMember?
Link copied to clipboard
inline fun WithUser.restrictedChatMemberOrThrow(): RestrictedChatMember
Link copied to clipboard
inline fun WithUser.secondaryChatInviteLinkOrNull(): SecondaryChatInviteLink?
Link copied to clipboard
inline fun WithUser.secondaryChatInviteLinkOrThrow(): SecondaryChatInviteLink
Link copied to clipboard
inline fun WithUser.shippingQueryOrNull(): ShippingQuery?
Link copied to clipboard
inline fun WithUser.shippingQueryOrThrow(): ShippingQuery
Link copied to clipboard
inline fun WithUser.specialRightsChatMemberOrNull(): SpecialRightsChatMember?
Link copied to clipboard
inline fun WithUser.specialRightsChatMemberOrThrow(): SpecialRightsChatMember
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun WithUser.unknownCallbackQueryTypeOrNull(): UnknownCallbackQueryType?
Link copied to clipboard
inline fun WithUser.unknownCallbackQueryTypeOrThrow(): UnknownCallbackQueryType