| Total Complexity | 4 |
| Total Lines | 43 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 0 | ||
| 1 | <?php |
||
| 15 | class StopMessageLiveLocationMethod |
||
| 16 | { |
||
| 17 | use FillFromArrayTrait; |
||
| 18 | use EditMessageVariablesTrait; |
||
| 19 | |||
| 20 | /** |
||
| 21 | * @param int|string $chatId |
||
| 22 | * @param int $messageId |
||
| 23 | * @param array|null $data |
||
| 24 | * |
||
| 25 | * @throws \Greenplugin\TelegramBot\Exception\BadArgumentException |
||
| 26 | * |
||
| 27 | * @return StopMessageLiveLocationMethod |
||
| 28 | */ |
||
| 29 | public static function create($chatId, int $messageId, array $data = null): StopMessageLiveLocationMethod |
||
| 39 | } |
||
| 40 | |||
| 41 | /** |
||
| 42 | * @param string $inlineMessageId |
||
| 43 | * @param array|null $data |
||
| 44 | * |
||
| 45 | * @throws \Greenplugin\TelegramBot\Exception\BadArgumentException |
||
| 46 | * |
||
| 47 | * @return StopMessageLiveLocationMethod |
||
| 48 | */ |
||
| 49 | public static function createInline(string $inlineMessageId, array $data = null): StopMessageLiveLocationMethod |
||
| 60 |