class Tourmaline::ChatMemberMember
- Tourmaline::ChatMemberMember
- Reference
- Object
Overview
Represents a chat member that has no additional privileges or restrictions.
Included Modules
- JSON::Serializable
Defined in:
tourmaline/types/api.crConstructors
- .new(status : String, user : Tourmaline::User, until_date : Int32 | Int64 | Nil = nil)
- .new(pull : JSON::PullParser)
Instance Method Summary
-
#status : String
The member's status in the chat, always "member"
-
#status=(status : String)
The member's status in the chat, always "member"
-
#until_date : Time | Nil
Optional.
-
#until_date=(until_date : Time | Nil)
Optional.
-
#user : Tourmaline::User
Information about the user
-
#user=(user : Tourmaline::User)
Information about the user
Constructor Detail
Instance Method Detail
def until_date=(until_date : Time | Nil)
#
Optional. Date when the user's subscription will expire; Unix time