Skip to content

Commit af28595

Browse files
committed
Edit package info
1 parent bbaf4a5 commit af28595

File tree

5 files changed

+22
-30
lines changed

5 files changed

+22
-30
lines changed

.github/FUNDING.yml

Lines changed: 0 additions & 4 deletions
This file was deleted.

README.md

Lines changed: 14 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
![PHP](https://img.shields.io/badge/php-%3E%3D5.3-8892bf.svg)
44
![CURL](https://img.shields.io/badge/cURL-required-green.svg)
55

6-
[![Total Downloads](https://poser.pugx.org/eleirbag89/telegrambotphp/downloads)](https://packagist.org/packages/eleirbag89/telegrambotphp)
7-
[![License](https://poser.pugx.org/eleirbag89/telegrambotphp/license)](https://packagist.org/packages/eleirbag89/telegrambotphp)
8-
[![StyleCI](https://styleci.io/repos/38492095/shield?branch=master)](https://styleci.io/repos/38492095)
6+
[![Total Downloads](https://poser.pugx.org/parsapooorsh/telegrambotphp/downloads)](https://packagist.org/packages/parsapooorsh/telegrambotphp)
7+
[![License](https://poser.pugx.org/parsapooorsh/telegrambotphp/license)](https://packagist.org/packages/parsapooorsh/telegrambotphp)
8+
[![StyleCI](https://styleci.io/repos/635079074/shield?branch=master)](https://styleci.io/repos/635079074)
99

1010
A very simple PHP [Telegram Bot API](https://core.telegram.org/bots).
1111
Compliant with the April 16, 2022 Telegram Bot API update.
@@ -31,23 +31,23 @@ Download
3131

3232
From your project directory, run:
3333
```
34-
composer require eleirbag89/telegrambotphp
34+
composer require parsapooorsh/telegrambotphp
3535
```
3636
or
3737
```
38-
php composer.phar require eleirbag89/telegrambotphp
38+
php composer.phar require parsapooorsh/telegrambotphp
3939
```
4040
Note: If you don't have Composer you can download it [HERE](https://getcomposer.org/download/).
4141

4242
#### Using release archives
4343

44-
https://github.com/Eleirbag89/TelegramBotPHP/releases
44+
https://github.com/parsapooorsh/TelegramBotPHP/releases
4545

4646
#### Using Git
4747

4848
From a project directory, run:
4949
```
50-
git clone https://github.com/Eleirbag89/TelegramBotPHP.git
50+
git clone https://github.com/parsapooorsh/TelegramBotPHP.git
5151
```
5252

5353
Installation
@@ -117,9 +117,9 @@ $telegram->downloadFile($file['result']['file_path'], './my_downloaded_file_on_l
117117
```
118118

119119
See update.php or update cowsay.php for the complete example.
120-
If you wanna see the CowSay Bot in action [add it](https://telegram.me/cowmooobot).
120+
If you want to see the CowSay Bot in action [add it](https://telegram.me/cowmooobot).
121121

122-
If you want to use getUpdates instead of the WebHook you need to call the the `serveUpdate` function inside a for cycle.
122+
If you want to use getUpdates instead of the WebHook you need to call the `serveUpdate` function inside a for cycle.
123123
```php
124124
$telegram = new Telegram('YOUR TELEGRAM TOKEN HERE');
125125

@@ -144,16 +144,14 @@ See getUpdates.php for the complete example.
144144
Functions
145145
------------
146146

147-
For a complete and up-to-date functions documentation check http://eleirbag89.github.io/TelegramBotPHP/
148-
149147
Build keyboards
150148
------------
151149

152150
Telegram's bots can have two different kind of keyboards: Inline and Reply.
153151
The InlineKeyboard is linked to a particular message, while the ReplyKeyboard is linked to the whole chat.
154-
They are both an array of array of buttons, which rapresent the rows and columns.
155-
For instance you can arrange a ReplyKeyboard like this:
156-
![ReplyKeabordExample](https://picload.org/image/rilclcwr/replykeyboard.png)
152+
They are both an array of array of buttons, which represent the rows and columns.
153+
For instance, you can arrange a ReplyKeyboard like this:
154+
![ReplyKeyboardExample](https://picload.org/image/rilclcwr/replykeyboard.png)
157155
using this code:
158156
```php
159157
$option = array(
@@ -169,7 +167,7 @@ $telegram->sendMessage($content);
169167
```
170168
When a user click on the button, the button text is send back to the bot.
171169
For an InlineKeyboard it's pretty much the same (but you need to provide a valid URL or a Callback data)
172-
![InlineKeabordExample](https://picload.org/image/rilclcwa/replykeyboardinline.png)
170+
![InlineKeyboardExample](https://picload.org/image/rilclcwa/replykeyboardinline.png)
173171
```php
174172
$option = array(
175173
//First row
@@ -244,11 +242,4 @@ All kinds of contributions are welcome - code, tests, documentation, bug reports
244242
Contact me
245243
------------
246244

247-
You can contact me [via Telegram](https://telegram.me/ggrillo) but if you have an issue please [open](https://github.com/Eleirbag89/TelegramBotPHP/issues) one.
248-
249-
Support me
250-
------------
251-
252-
You can support me using via LiberaPay [![Donate using Liberapay](https://liberapay.com/assets/widgets/donate.svg)](https://liberapay.com/eleirbag89/donate)
253-
254-
or buy me a beer or two using [Paypal](https://paypal.me/eleirbag89).
245+
You can contact me [via Telegram](https://telegram.me/pparsa) but if you have an issue please [open](https://github.com/parsapooorsh/TelegramBotPHP/issues) one.

Telegram.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
* Telegram Bot Class.
99
*
1010
* @author Gabriele Grillo <[email protected]>
11+
* @author Parsa Poorsh <[email protected]>
1112
*/
1213
class Telegram
1314
{

composer.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,15 @@
11
{
2-
"name": "eleirbag89/telegrambotphp",
2+
"name": "parsapoorsh/telegrambotphp",
33
"description": "A very simple PHP Telegram Bot API",
44
"type": "library",
55
"authors": [
66
{
77
"name": "Gabriele Grillo",
88
"email": "[email protected]"
9+
},
10+
{
11+
"name": "Parsa Poorsh",
12+
"email": "[email protected]"
913
}
1014
],
1115
"license": "MIT",

mainpage.dox

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@
77
Pages:<br/>
88
* Telegram Class API <br/>
99
* TelegramErrorLogger Class<br/>
10-
* [Readme] (md__home_travis_build__eleirbag89__telegram_bot_p_h_p__r_e_a_d_m_e.html)<br/>
11-
* [License] (md__home_travis_build__eleirbag89__telegram_bot_p_h_p__l_i_c_e_n_s_e.html)
10+
* [Readme] (md__home_travis_build__parsapoorsh__telegram_bot_p_h_p__r_e_a_d_m_e.html)<br/>
11+
* [License] (md__home_travis_build__parsapoorsh__telegram_bot_p_h_p__l_i_c_e_n_s_e.html)
1212
*/

0 commit comments

Comments
 (0)