| Total Complexity | 4 |
| Total Lines | 49 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 0 | ||
| 1 | <?php |
||
| 15 | class StopMessageLiveLocationMethod |
||
| 16 | { |
||
| 17 | use FillFromArrayTrait; |
||
| 18 | use EditMessageVariablesTrait; |
||
| 19 | |||
| 20 | /** |
||
| 21 | * StopMessageLiveLocationMethod constructor. |
||
| 22 | * |
||
| 23 | * @param array|null $data |
||
| 24 | * |
||
| 25 | * @throws \Greenplugin\TelegramBot\Exception\BadArgumentException |
||
| 26 | */ |
||
| 27 | public function __construct(array $data = null) |
||
| 31 | } |
||
| 32 | } |
||
| 33 | |||
| 34 | /** |
||
| 35 | * @param int|string $chatId |
||
| 36 | * @param array|null $data |
||
| 37 | * |
||
| 38 | * @throws \Greenplugin\TelegramBot\Exception\BadArgumentException |
||
| 39 | * |
||
| 40 | * @return StopMessageLiveLocationMethod |
||
| 41 | */ |
||
| 42 | public static function create($chatId, array $data = null): StopMessageLiveLocationMethod |
||
| 48 | } |
||
| 49 | |||
| 50 | /** |
||
| 51 | * @param string $inlineMessageId |
||
| 52 | * @param array|null $data |
||
| 53 | * |
||
| 54 | * @throws \Greenplugin\TelegramBot\Exception\BadArgumentException |
||
| 55 | * |
||
| 56 | * @return StopMessageLiveLocationMethod |
||
| 57 | */ |
||
| 58 | public static function createInline(string $inlineMessageId, array $data = null): StopMessageLiveLocationMethod |
||
| 66 |