Class: TD::Types::ChannelTransactionPurpose::Join

Inherits:
TD::Types::ChannelTransactionPurpose show all
Defined in:
lib/tdlib/types/channel_transaction_purpose/join.rb

Overview

User joined the channel and subscribed to regular payments in Telegram Stars.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#periodInteger

The number of seconds between consecutive Telegram Star debiting.

Returns:

  • (Integer)

    the current value of period



5
6
7
# File 'lib/tdlib/types/channel_transaction_purpose/join.rb', line 5

def period
  @period
end