Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
tourmaline
master
Slice
String
Tourmaline
Animation
Annotations
Catch
Command
Edited
Hears
On
OnCallbackQuery
OnChosenInlineResult
OnInlineQuery
Audio
BaseParser
BotCommand
BotCommandScope
BotCommandScopeAllChatAdministrators
BotCommandScopeAllGroupChats
BotCommandScopeAllPrivateChats
BotCommandScopeChat
BotCommandScopeChatAdministrators
BotCommandScopeChatMember
BotCommandScopeDefault
Button
CallbackGame
CallbackQuery
Chat
Type
ChatAction
ChatAdministratorRights
ChatInviteLink
ChatJoinRequest
ChatLocation
ChatMember
ChatMemberAdministrator
ChatMemberBanned
ChatMemberLeft
ChatMemberMember
ChatMemberOwner
ChatMemberRestricted
ChatMemberUpdated
ChatPermissions
ChatPhoto
ChosenInlineResult
Client
CoreMethods
GameMethods
PassportMethods
PaymentMethods
PollMethods
StickerMethods
TDLightMethods
WebhookMethods
Contact
Dice
Document
EncryptedCredentials
EncryptedPassportElement
Type
Error
BadRequest
BadWebhook
BadWebhookAddrInfo
BadWebhookNoAddressAssociatedWithHostname
BadWebhookPort
BotBlocked
BotDomainInvalid
BotKicked
ButtonDataInvalid
ButtonURLInvalid
CantDemoteChatCreator
CantGetUpdates
CantInitiateConversation
CantParseEntities
CantParseUrl
CantRemoveChatOwner
CantRestrictSelf
CantTalkWithBots
ChatAdminRequired
ChatDescriptionIsNotModified
ChatIdIsEmpty
ChatNotFound
ConflictError
ConnectionLost
CurrencyTotalAmountInvalid
GroupDeactivated
InlineKeyboardExpected
InvalidHTTPUrlContent
InvalidPeerID
InvalidQueryID
InvalidResultID
InvalidStickersSet
InvalidUserId
MemberListInaccessible
MessageCantBeDeleted
MessageCantBeEdited
MessageError
MessageIdentifierNotSpecified
MessageIdInvalid
MessageIsNotAPoll
MessageIsTooLong
MessageNotModified
MessageTextIsEmpty
MessageToDeleteNotFound
MessageToEditNotFound
MessageToForwardNotFound
MessageToReplyNotFound
MessageWithPollNotFound
MethodIsNotAvailable
MethodNotAvailableInPrivateChats
MethodNotKnown
MigrateToChat
NeedAdministratorRightsInTheChannel
NetworkError
NoStickerInRequest
NotEnoughRightsOther
NotEnoughRightsToPinMessage
NotEnoughRightsToRestrict
NotFound
ObjectExpectedAsReplyMarkup
PaymentProviderInvalid
PhotoAsInputFileRequired
PhotoDimensions
PollCantBeStopped
PollCantHaveMoreOptions
PollError
PollHasAlreadyClosed
PollMustHaveMoreOptions
PollOptionsMustBeNonEmpty
PollQuestionMustBeNonEmpty
PollsCantBeSentToPrivateChats
PollSizeError
PollsOptionsLengthTooLong
PoolRetryAttemptsExceeded
RequestTimeoutError
ResultIdDuplicate
RetryAfter
StartParamInvalid
TerminatedByOtherGetUpdates
Throttled
TooMuchMessages
TypeOfFileMismatch
Unauthorized
UnavailableMembers
UnsupportedUrlProtocol
URLHostIsEmpty
UserDeactivated
UserNotFound
ValidationError
WebhookRequireHTTPS
WrongFileIdentifier
WrongLiveLocationPeriod
WrongRemoteFileIdSpecified
EventHandler
EventMiddleware
ForceReply
Format
Bold
Code
CodeBlock
Group
Italic
KeyValueItem
LineItem
Link
Section
Strikethrough
SubSection
SubSubSection
Token
Underline
UserMention
ForumTopicClosed
ForumTopicCreated
ForumTopicReopened
Game
GameHighScore
Handlers
CallbackQueryHandler
Context
ChosenInlineResultHandler
Context
CommandHandler
Context
EditedHandler
Context
HearsHandler
Context
InlineQueryHandler
Context
UpdateHandler
Context
HashPersistence
Helpers
HTMLParser
InlineKeyboardButton
InlineKeyboardMarkup
Builder
InlineQuery
InlineQueryResult
Builder
InlineQueryResultArticle
InlineQueryResultAudio
InlineQueryResultCachedAudio
InlineQueryResultCachedDocument
InlineQueryResultCachedGif
InlineQueryResultCachedMpeg4Gif
InlineQueryResultCachedPhoto
InlineQueryResultCachedSticker
InlineQueryResultCachedVideo
InlineQueryResultCachedVoice
InlineQueryResultContact
InlineQueryResultDocument
InlineQueryResultGame
InlineQueryResultGif
InlineQueryResultLocation
InlineQueryResultMpeg4Gif
InlineQueryResultPhoto
InlineQueryResultVenue
InlineQueryResultVideo
InlineQueryResultVoice
InputContactMessageContent
InputInvoiceMessageContent
InputLocationMessageContent
InputMedia
InputMediaAnimation
InputMediaAudio
InputMediaDocument
InputMediaPhoto
InputMediaVideo
InputMessageContent
InputTextMessageContent
InputVenueMessageContent
Invoice
JsonPersistence
KemalAdapter
KeyboardBuilder
KeyboardButton
KeyboardButtonPollType
LabeledPrice
Location
LoginURL
LuckyBotHandler
MaskPosition
MenuButton
MenuButtonCommands
MenuButtonDefault
MenuButtonWebApp
Message
SenderType
MessageAutoDeleteTimerChanged
MessageEntity
Middleware
Context
StopIteration
Model
NilPersistence
OrderInfo
PaginatedKeyboard
ParseMode
PassportData
PassportElementError
PassportElementErrorDataField
PassportElementErrorFile
PassportElementErrorFiles
PassportElementErrorFrontSide
PassportElementErrorReverseSide
PassportElementErrorSelfie
PassportElementErrorTranslationFile
PassportElementErrorTranslationFiles
PassportElementErrorUnspecified
PassportFile
Persistence
PhotoSize
Poll
Type
PollAnswer
PollOption
PreCheckoutQuery
ProximityAlertTriggered
ReplyKeyboardMarkup
Builder
ReplyKeyboardRemove
RoutedMenu
Builder
Page
Builder
KeyboardBuilder
SentWebAppMessage
ShippingAddress
ShippingOption
ShippingQuery
Stage
Context
Step
Sticker
Type
StickerSet
SuccessfulPayment
TFile
Update
UpdateAction
User
UserProfilePhotos
Venue
Video
VideoChatEnded
VideoChatParticipantsInvited
VideoChatScheduled
VideoChatStarted
VideoNote
Voice
WebAppData
WebAppInfo
WebhookInfo
Built with Crystal 1.10.0
2023-11-04 01:06:54 UTC
class
Tourmaline::
PassportFile
Tourmaline::PassportFile
Reference
Object
Included Modules
JSON::Serializable
Tourmaline::Model
Defined in:
tourmaline/models/passport_file.cr
Constructors
.new
(pull : JSON::PullParser)
Instance Method Summary
#file_date
: Time | Nil
#file_id
: String
#file_size
: Int64
#file_unique_id
: String
Instance methods inherited from module
Tourmaline::Model
client : Tourmaline::Client
client
,
client=(client : Tourmaline::Client)
client=
,
client? : Tourmaline::Client | Nil
client?
,
finish_init(client : Tourmaline::Client)
finish_init
Constructor Detail
def self.
new
(pull : JSON::PullParser)
#
[
View source
]
Instance Method Detail
def
file_date
: Time | Nil
#
[
View source
]
def
file_id
:
String
#
[
View source
]
def
file_size
: Int64
#
[
View source
]
def
file_unique_id
:
String
#
[
View source
]