Class: TD::Types::InternalLinkType::AuthenticationCode

Inherits:
TD::Types::InternalLinkType show all
Defined in:
lib/tdlib/types/internal_link_type/authentication_code.rb

Overview

The link contains an authentication code. Call checkAuthenticationCode with the code if the current authorization state is authorizationStateWaitCode.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#codeTD::Types::String

The authentication code.



6
7
8
# File 'lib/tdlib/types/internal_link_type/authentication_code.rb', line 6

def code
  @code
end