Latest 1.0
Homepage https://github.com/NoFearJoe/TelegramFeedback
License MIT
Platforms ios 9.0
Authors

Simple framework for adding Telegram feedback in an iOS App

Installation

CocoaPods

Paste this code to your Podfile:

pod 'TelegramFeedback'

Creating Telegram channel

Creating bot

  • Find the user ‘BotFather’
  • Send /start
  • Send /newbot
  • Follow instructions

    Creating a channel

  • Create ‘New Channel’
  • Add the created bot to the channel admins

Usage

First, create an instance of TelegramFeedback:

let feedback = TelegramFeedback(chatID: "some_channel_id", botName: "some_bot_name")

Then call the method ‘sendMessage’ to send feedback to the channel:

feedback.sendMessage("Some message")

or:

feedback.sendMessage("Some message") { error in
    print(error)
}

Gratz

Latest podspec

{
    "name": "TelegramFeedback",
    "version": "1.0",
    "summary": "Simple framework for adding Telegram feedback in an iOS App",
    "description": "The framework contains helper class for sending messages in Telegram's channel",
    "homepage": "https://github.com/NoFearJoe/TelegramFeedback",
    "license": {
        "type": "MIT",
        "file": "LICENSE.txt"
    },
    "authors": {
        "Ilya Kharabet": "[email protected]"
    },
    "platforms": {
        "ios": "9.0"
    },
    "source": {
        "git": "https://github.com/NoFearJoe/TelegramFeedback.git",
        "tag": "1.0"
    },
    "source_files": "TelegramFeedback/TelegramFeedback/Sources/**/*.swift",
    "pushed_with_swift_version": "3.0"
}

Pin It on Pinterest

Share This