FromUser

interface FromUser : WithUser

Inheritors of this interface have some User as a source of data. For example, any dev.inmo.tgbotapi.types.queries.callback.CallbackQuery have User as the source of that query

Inheritors

Functions

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
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun <T> WithUser.ifBannedChatMember(block: (BannedChatMember) -> T): T?
Link copied to clipboard
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
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
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
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
Link copied to clipboard
inline fun <T> WithUser.ifLeftChatMemberImpl(block: (LeftChatMemberImpl) -> T): T?
Link copied to clipboard
Link copied to clipboard
inline fun <T> WithUser.ifMemberChatMember(block: (MemberChatMember) -> T): T?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
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
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun <T> WithUser.ifShippingQuery(block: (ShippingQuery) -> T): T?
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
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Properties

Link copied to clipboard
abstract val from: User

The source User of this type

Link copied to clipboard
open override val user: User