Class: TD::Types::InputBusinessStartPage

Inherits:
Base
  • Object
show all
Defined in:
lib/tdlib/types/input_business_start_page.rb

Overview

Describes settings for a business account start page to set.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#messageTD::Types::String

Message text of the start page; 0-getOption(“business_start_page_message_length_max”) characters.

Returns:

  • (TD::Types::String)

    the current value of message



10
11
12
# File 'lib/tdlib/types/input_business_start_page.rb', line 10

def message
  @message
end

#stickerTD::Types::InputFile

Greeting sticker of the start page; pass null if none. The sticker must belong to a sticker set and must not be a custom emoji.

Returns:



10
11
12
# File 'lib/tdlib/types/input_business_start_page.rb', line 10

def sticker
  @sticker
end

#titleTD::Types::String

Title text of the start page; 0-getOption(“business_start_page_title_length_max”) characters.

Returns:

  • (TD::Types::String)

    the current value of title



10
11
12
# File 'lib/tdlib/types/input_business_start_page.rb', line 10

def title
  @title
end