We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7950095 commit abf0abfCopy full SHA for abf0abf
src/telegram.ts
@@ -204,7 +204,7 @@ const image = (token: string) =>
204
const sharedOwnPhone = (
205
ownId: number,
206
{ user_id, phone_number }: grammy.Contact,
207
-) => (user_id === ownId) ? phone_number : undefined;
+) => user_id === ownId ? phone_number : undefined;
208
209
const contactToFullName = ({ first_name, last_name }: grammy.Contact) =>
210
first_name + (last_name ? ` ${last_name}` : "");
0 commit comments