Class: Fastlane::Options::Telegram

Inherits:
Object
  • Object
show all
Defined in:
lib/fastlane/plugin/sq_ci_tools/options/telegram.rb

Class Method Summary collapse

Class Method Details

.optionsObject



11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# File 'lib/fastlane/plugin/sq_ci_tools/options/telegram.rb', line 11

def self.options
  [
    FastlaneCore::ConfigItem.new(
      key: :telegram_access_token,
      env_name: 'SQ_CI_TELEGRAM_ACCESS_TOKEN',
      description: 'Access token for Telegram bot',
      optional: true,
      type: String
    ),
    FastlaneCore::ConfigItem.new(
      key: :telegram_chat_ids,
      env_name: 'SQ_CI_TELEGRAM_CHAT_IDS',
      description: 'Telegram\'s chat ids for send message',
      optional: true,
      type: String
    ),
    FastlaneCore::ConfigItem.new(
      key: :telegram_parse_mode,
      env_name: 'SQ_CI_TELEGRAM_PARSE_MODE',
      description: 'Telegram\'s parse mode',
      optional: true,
      type: String,
      default_value: "Markdown"
    )
  ]
end