Package dev. inmo. tgbotapi. types
Types
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Also used as User Identifier
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Base interface for all chat invite links. See inheritors for more info or official docs
Link copied to clipboard
Link copied to clipboard
data class ChatInviteLinkUnlimited( val inviteLink: String, val creator: User, val name: String? = null, val isRevoked: Boolean = false, expireDate: TelegramDate? = null) : SecondaryChatInviteLink
Content copied to clipboard
Represent SecondaryChatInviteLink which have no any restrictions like ChatInviteLinkWithJoinRequest or ChatInviteLinkWithLimitedMembers
Link copied to clipboard
data class ChatInviteLinkWithJoinRequest( val inviteLink: String, val creator: User, val name: String? = null, val leftToReview: Int = 0, val isRevoked: Boolean = false, expireDate: TelegramDate? = null) : SecondaryChatInviteLink
Content copied to clipboard
Represent SecondaryChatInviteLink which will require an aprovement from one of the administrators
Link copied to clipboard
data class ChatInviteLinkWithLimitedMembers( val inviteLink: String, val creator: User, val name: String? = null, val membersLimit: MembersLimit, val isRevoked: Boolean = false, expireDate: TelegramDate? = null) : SecondaryChatInviteLink
Content copied to clipboard
Represent SecondaryChatInviteLink which will have limitation for the amount of chat members to join
Link copied to clipboard
data class ChatLocation(val location: StaticLocation, val address: String)
Content copied to clipboard
Represents a location to which a chat is connected.
Link copied to clipboard
data class ChatPhoto( val smallFileId: String, val bigFileId: String, val smallFileUniqueId: FileUniqueId, val bigFileUniqueId: FileUniqueId)
Content 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
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
data class PrimaryInviteLink( val inviteLink: String, val creator: User, val isRevoked: Boolean = false, expireDate: TelegramDate? = null) : ChatInviteLink
Content copied to clipboard
Primary invite link in the chat for this bot
Link copied to clipboard
Link copied to clipboard
data class ResponseParametersRaw(migrateToChatId: ChatId? = null, retryAfter: Seconds? = null)
Content copied to clipboard
Link copied to clipboard
data class RetryAfterError(val seconds: Seconds, val startCountingMillis: Long) : RequestError
Content copied to clipboard
Link copied to clipboard
Base interface for all ChatInviteLinks which are NOT PrimaryInviteLink
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
data class WebhookInfo( val url: String, val awaitDelivery: Int, val maxConnections: Int = 40, val customCertificate: Boolean = false, val allowedUpdates: List<String> = ALL_UPDATES_LIST, val lastErrorDate: TelegramDate? = null, val lastSynchronizationErrorDate: TelegramDate? = null, val lastErrorMessage: String? = null)
Content copied to clipboard