diff --git a/data/web/blogfork.telegram.org/bots/samples.html b/data/web/blogfork.telegram.org/bots/samples.html index 7f0fde1afc..ba4926715d 100644 --- a/data/web/blogfork.telegram.org/bots/samples.html +++ b/data/web/blogfork.telegram.org/bots/samples.html @@ -2,11 +2,11 @@ - Bot Code Examples + Bot API Library Examples - + @@ -41,13 +41,17 @@ Check out the FAQ, if you have questions.…">
- -

Bot Code Examples

+ +

Bot API Library Examples

If you want to learn more about Telegram bots, start with our Introduction to Bots »
Check out the FAQ, if you have questions.

-

Many members of our community are building bots and libraries and publishing their source code. We collect these examples here. Ping us on BotSupport if you've built a bot and would like to share its code with others.

+

A full tutorial covering everything from configuring your environment to deploying your finished bot is available on this page.

+

Below are some libraries and frameworks developed by the Telegram community – you should take care to report any bugs you may find to the respective developers, as these projects are not maintained by Telegram.

+
+

Ping us on BotSupport if you would like your library to appear on this page.

+

PHP

  • PHP Telegram Bot. PHP Telegram Bot based on the official Telegram Bot API.
    https://github.com/php-telegram-bot/core

    diff --git a/data/web/core.telegram.org/bots/samples.html b/data/web/core.telegram.org/bots/samples.html index 7f0fde1afc..ba4926715d 100644 --- a/data/web/core.telegram.org/bots/samples.html +++ b/data/web/core.telegram.org/bots/samples.html @@ -2,11 +2,11 @@ - Bot Code Examples + Bot API Library Examples - + @@ -41,13 +41,17 @@ Check out the FAQ, if you have questions.…">
    - -

    Bot Code Examples

    + +

    Bot API Library Examples

    If you want to learn more about Telegram bots, start with our Introduction to Bots »
    Check out the FAQ, if you have questions.

    -

    Many members of our community are building bots and libraries and publishing their source code. We collect these examples here. Ping us on BotSupport if you've built a bot and would like to share its code with others.

    +

    A full tutorial covering everything from configuring your environment to deploying your finished bot is available on this page.

    +

    Below are some libraries and frameworks developed by the Telegram community – you should take care to report any bugs you may find to the respective developers, as these projects are not maintained by Telegram.

    +
    +

    Ping us on BotSupport if you would like your library to appear on this page.

    +

    PHP

    • PHP Telegram Bot. PHP Telegram Bot based on the official Telegram Bot API.
      https://github.com/php-telegram-bot/core

      diff --git a/data/web/corefork.telegram.org/bots/samples.html b/data/web/corefork.telegram.org/bots/samples.html index e214213fb8..fb0d298c0a 100644 --- a/data/web/corefork.telegram.org/bots/samples.html +++ b/data/web/corefork.telegram.org/bots/samples.html @@ -2,11 +2,11 @@ - Bot Code Examples + Bot API Library Examples - + @@ -41,13 +41,17 @@ Check out the FAQ, if you have questions.…">
      - -

      Bot Code Examples

      + +

      Bot API Library Examples

      If you want to learn more about Telegram bots, start with our Introduction to Bots »
      Check out the FAQ, if you have questions.

      -

      Many members of our community are building bots and libraries and publishing their source code. We collect these examples here. Ping us on BotSupport if you've built a bot and would like to share its code with others.

      +

      A full tutorial covering everything from configuring your environment to deploying your finished bot is available on this page.

      +

      Below are some libraries and frameworks developed by the Telegram community – you should take care to report any bugs you may find to the respective developers, as these projects are not maintained by Telegram.

      +
      +

      Ping us on BotSupport if you would like your library to appear on this page.

      +

      PHP

      • PHP Telegram Bot. PHP Telegram Bot based on the official Telegram Bot API.
        https://github.com/php-telegram-bot/core

        diff --git a/data/web/instantview.telegram.org/js/jquery-ex.js b/data/web/instantview.telegram.org/js/jquery-ex.js index d196e23b5c..09e4a6ccab 100644 --- a/data/web/instantview.telegram.org/js/jquery-ex.js +++ b/data/web/instantview.telegram.org/js/jquery-ex.js @@ -77,6 +77,11 @@ } } } + if (field.scrollIntoViewIfNeeded) { + field.scrollIntoViewIfNeeded(); + } else if (field.scrollIntoView) { + field.scrollIntoView(); + } } return this; }; @@ -1605,6 +1610,10 @@ return this.on('mousewheel', onResultsMouseWheel); }; + $.fn.closeDropdown = function() { + return this.parents('.open').find('.dropdown-toggle').dropdown('toggle'); + }; + $.fn.initAutosize = function() { return this.map(function(){ autosize(this); return this; }); }; diff --git a/data/web/instantview.telegram.org/templates.html b/data/web/instantview.telegram.org/templates.html index 6a8d042c4e..d0fc8a6faa 100644 --- a/data/web/instantview.telegram.org/templates.html +++ b/data/web/instantview.telegram.org/templates.html @@ -1107,7 +1107,7 @@ - + - + - + - + - + - + - + - + - + - + - + - + - +