class
Hamilton::Types::ChatJoinRequest
- Hamilton::Types::ChatJoinRequest
- Reference
- Object
Overview
Represents a join request sent to a chat.
Included Modules
- Hamilton::Types::Common
- JSON::Serializable
Defined in:
types/chat_join_request.crConstructors
- .new(pull : JSON::PullParser)
- .new(params)
- .new(*, __pull_for_json_serializable pull : JSON::PullParser)
- .new(**params)
Instance Method Summary
-
#bio : String | Nil
Bio of the user.
-
#bio=(bio : String | Nil)
Bio of the user.
-
#chat : Hamilton::Types::Chat
Chat to which the request was sent.
-
#chat=(chat : Hamilton::Types::Chat)
Chat to which the request was sent.
-
#date : Int32
Date the request was sent in Unix time.
-
#date=(date : Int32)
Date the request was sent in Unix time.
-
#invite_link : Hamilton::Types::ChatInviteLink | Nil
Chat invite link that was used by the user to send the join request.
-
#invite_link=(invite_link : Hamilton::Types::ChatInviteLink | Nil)
Chat invite link that was used by the user to send the join request.
-
#non_nil_fields : Array(String)
List of available non-nil fields.
-
#non_nil_fields=(non_nil_fields : Array(String))
List of available non-nil fields.
-
#user : Hamilton::Types::User
User that sent the join request.
-
#user=(user : Hamilton::Types::User)
User that sent the join request.
-
#user_chat_id : Int32
Identifier of a private chat with the user who sent the join request.
-
#user_chat_id=(user_chat_id : Int32)
Identifier of a private chat with the user who sent the join request.
Instance methods inherited from class Reference
==(other : Hamilton::Any)
==
Instance methods inherited from class Object
===(other : Hamilton::Any)
===
Constructor Detail
Instance Method Detail
Chat invite link that was used by the user to send the join request.
Chat invite link that was used by the user to send the join request.
Identifier of a private chat with the user who sent the join request. The bot can use this identifier for 5 minutes to send messages until the join request is processed, assuming no other administrator contacted the user.
Identifier of a private chat with the user who sent the join request. The bot can use this identifier for 5 minutes to send messages until the join request is processed, assuming no other administrator contacted the user.