Skip to content

Commit 56eb69c

Browse files
committed
Small doc fixes
1 parent d9900e3 commit 56eb69c

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

telegram/bot.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1113,7 +1113,7 @@ def send_contact(self,
11131113
first_name (:obj:`str`, optional): Contact's first name.
11141114
last_name (:obj:`str`, optional): Contact's last name.
11151115
vcard (:obj:`str`, optional): Additional data about the contact in the form of a vCard,
1116-
0-2048 bytes
1116+
0-2048 bytes.
11171117
contact (:class:`telegram.Contact`, optional): The contact to send.
11181118
disable_notification (:obj:`bool`, optional): Sends the message silently. Users will
11191119
receive a notification with no sound.

telegram/files/contact.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,14 @@ class Contact(TelegramObject):
2929
first_name (:obj:`str`): Contact's first name.
3030
last_name (:obj:`str`): Optional. Contact's last name.
3131
user_id (:obj:`int`): Optional. Contact's user identifier in Telegram.
32-
vcard (:obj:`str`): Optional. Additional data about the contact in the form of a vCard
32+
vcard (:obj:`str`): Optional. Additional data about the contact in the form of a vCard.
3333
3434
Args:
3535
phone_number (:obj:`str`): Contact's phone number.
3636
first_name (:obj:`str`): Contact's first name.
3737
last_name (:obj:`str`, optional): Contact's last name.
3838
user_id (:obj:`int`, optional): Contact's user identifier in Telegram.
39-
vcard (:obj:`str`, optional): Additional data about the contact in the form of a vCard
39+
vcard (:obj:`str`, optional): Additional data about the contact in the form of a vCard.
4040
**kwargs (:obj:`dict`): Arbitrary keyword arguments.
4141
4242
"""

telegram/inline/inlinequeryresultcontact.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ class InlineQueryResultContact(InlineQueryResult):
3434
first_name (:obj:`str`): Contact's first name.
3535
last_name (:obj:`str`): Optional. Contact's last name.
3636
vcard (:obj:`str`): Optional. Additional data about the contact in the form of a vCard,
37-
0-2048 bytes
37+
0-2048 bytes.
3838
reply_markup (:class:`telegram.InlineKeyboardMarkup`): Optional. Inline keyboard attached
3939
to the message.
4040
input_message_content (:class:`telegram.InputMessageContent`): Optional. Content of the
@@ -48,8 +48,8 @@ class InlineQueryResultContact(InlineQueryResult):
4848
phone_number (:obj:`str`): Contact's phone number.
4949
first_name (:obj:`str`): Contact's first name.
5050
last_name (:obj:`str`, optional): Contact's last name.
51-
vcard :obj:`str`, optional): Additional data about the contact in the form of a vCard,
52-
0-2048 bytes
51+
vcard (:obj:`str`, optional): Additional data about the contact in the form of a vCard,
52+
0-2048 bytes.
5353
reply_markup (:class:`telegram.InlineKeyboardMarkup`, optional): Inline keyboard attached
5454
to the message.
5555
input_message_content (:class:`telegram.InputMessageContent`, optional): Content of the

telegram/inline/inputcontactmessagecontent.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,14 @@ class InputContactMessageContent(InputMessageContent):
2929
first_name (:obj:`str`): Contact's first name.
3030
last_name (:obj:`str`): Optional. Contact's last name.
3131
vcard (:obj:`str`): Optional. Additional data about the contact in the form of a vCard,
32-
0-2048 bytes
32+
0-2048 bytes.
3333
3434
Args:
3535
phone_number (:obj:`str`): Contact's phone number.
3636
first_name (:obj:`str`): Contact's first name.
3737
last_name (:obj:`str`, optional): Contact's last name.
3838
vcard (:obj:`str`, optional): Additional data about the contact in the form of a vCard,
39-
0-2048 bytes
39+
0-2048 bytes.
4040
**kwargs (:obj:`dict`): Arbitrary keyword arguments.
4141
4242
"""

0 commit comments

Comments
 (0)