mirror of
https://github.com/pyrogram/pyrogram
synced 2025-08-29 05:18:10 +00:00
Remove hints about using t.me/joinchat/ links as chat ids
Such links don't work reliably with the current implementation
This commit is contained in:
parent
f4175b041c
commit
32468e5ab0
@ -33,7 +33,6 @@ class RequestCallbackAnswer(BaseClient):
|
|||||||
Unique identifier (int) or username (str) of the target chat.
|
Unique identifier (int) or username (str) of the target chat.
|
||||||
For your personal cloud (Saved Messages) you can simply use "me" or "self".
|
For your personal cloud (Saved Messages) you can simply use "me" or "self".
|
||||||
For a contact that exists in your Telegram address book you can use his phone number (str).
|
For a contact that exists in your Telegram address book you can use his phone number (str).
|
||||||
For a private channel/supergroup you can use its *t.me/joinchat/* link.
|
|
||||||
|
|
||||||
message_id (``int``):
|
message_id (``int``):
|
||||||
The message id the inline keyboard is attached on.
|
The message id the inline keyboard is attached on.
|
||||||
|
@ -35,7 +35,6 @@ class SendInlineBotResult(BaseClient):
|
|||||||
Unique identifier (int) or username (str) of the target chat.
|
Unique identifier (int) or username (str) of the target chat.
|
||||||
For your personal cloud (Saved Messages) you can simply use "me" or "self".
|
For your personal cloud (Saved Messages) you can simply use "me" or "self".
|
||||||
For a contact that exists in your Telegram address book you can use his phone number (str).
|
For a contact that exists in your Telegram address book you can use his phone number (str).
|
||||||
For a private channel/supergroup you can use its *t.me/joinchat/* link.
|
|
||||||
|
|
||||||
query_id (``int``):
|
query_id (``int``):
|
||||||
Unique identifier for the answered query.
|
Unique identifier for the answered query.
|
||||||
|
@ -33,7 +33,6 @@ class DeleteChatPhoto(BaseClient):
|
|||||||
Args:
|
Args:
|
||||||
chat_id (``int`` | ``str``):
|
chat_id (``int`` | ``str``):
|
||||||
Unique identifier (int) or username (str) of the target chat.
|
Unique identifier (int) or username (str) of the target chat.
|
||||||
For a private channel/supergroup you can use its *t.me/joinchat/* link.
|
|
||||||
|
|
||||||
Returns:
|
Returns:
|
||||||
True on success.
|
True on success.
|
||||||
|
@ -28,7 +28,6 @@ class GetChat(BaseClient):
|
|||||||
Args:
|
Args:
|
||||||
chat_id (``int`` | ``str``):
|
chat_id (``int`` | ``str``):
|
||||||
Unique identifier (int) or username (str) of the target chat.
|
Unique identifier (int) or username (str) of the target chat.
|
||||||
For a private channel/supergroup you can use its *t.me/joinchat/* link.
|
|
||||||
|
|
||||||
Returns:
|
Returns:
|
||||||
On success, a :obj:`Chat <pyrogram.Chat>` object is returned.
|
On success, a :obj:`Chat <pyrogram.Chat>` object is returned.
|
||||||
|
@ -29,13 +29,11 @@ class GetChatMember(BaseClient):
|
|||||||
Args:
|
Args:
|
||||||
chat_id (``int`` | ``str``):
|
chat_id (``int`` | ``str``):
|
||||||
Unique identifier (int) or username (str) of the target chat.
|
Unique identifier (int) or username (str) of the target chat.
|
||||||
For a private channel/supergroup you can use its *t.me/joinchat/* link.
|
|
||||||
|
|
||||||
user_id (``int`` | ``str``)::
|
user_id (``int`` | ``str``)::
|
||||||
Unique identifier (int) or username (str) of the target chat.
|
Unique identifier (int) or username (str) of the target chat.
|
||||||
For your personal cloud (Saved Messages) you can simply use "me" or "self".
|
For your personal cloud (Saved Messages) you can simply use "me" or "self".
|
||||||
For a contact that exists in your Telegram address book you can use his phone number (str).
|
For a contact that exists in your Telegram address book you can use his phone number (str).
|
||||||
For a private channel/supergroup you can use its *t.me/joinchat/* link.
|
|
||||||
|
|
||||||
Returns:
|
Returns:
|
||||||
On success, a :obj:`ChatMember <pyrogram.ChatMember>` object is returned.
|
On success, a :obj:`ChatMember <pyrogram.ChatMember>` object is returned.
|
||||||
|
@ -44,7 +44,6 @@ class GetChatMembers(BaseClient):
|
|||||||
Args:
|
Args:
|
||||||
chat_id (``int`` | ``str``):
|
chat_id (``int`` | ``str``):
|
||||||
Unique identifier (int) or username (str) of the target chat.
|
Unique identifier (int) or username (str) of the target chat.
|
||||||
For a private channel/supergroup you can use its *t.me/joinchat/* link.
|
|
||||||
|
|
||||||
offset (``int``, *optional*):
|
offset (``int``, *optional*):
|
||||||
Sequential number of the first member to be returned.
|
Sequential number of the first member to be returned.
|
||||||
|
@ -38,7 +38,6 @@ class KickChatMember(BaseClient):
|
|||||||
Args:
|
Args:
|
||||||
chat_id (``int`` | ``str``):
|
chat_id (``int`` | ``str``):
|
||||||
Unique identifier (int) or username (str) of the target chat.
|
Unique identifier (int) or username (str) of the target chat.
|
||||||
For a private channel/supergroup you can use its *t.me/joinchat/* link.
|
|
||||||
|
|
||||||
user_id (``int`` | ``str``):
|
user_id (``int`` | ``str``):
|
||||||
Unique identifier (int) or username (str) of the target user.
|
Unique identifier (int) or username (str) of the target user.
|
||||||
|
@ -29,7 +29,6 @@ class PinChatMessage(BaseClient):
|
|||||||
Args:
|
Args:
|
||||||
chat_id (``int`` | ``str``):
|
chat_id (``int`` | ``str``):
|
||||||
Unique identifier (int) or username (str) of the target chat.
|
Unique identifier (int) or username (str) of the target chat.
|
||||||
For a private channel/supergroup you can use its *t.me/joinchat/* link.
|
|
||||||
|
|
||||||
message_id (``int``):
|
message_id (``int``):
|
||||||
Identifier of a message to pin.
|
Identifier of a message to pin.
|
||||||
|
@ -39,7 +39,6 @@ class PromoteChatMember(BaseClient):
|
|||||||
Args:
|
Args:
|
||||||
chat_id (``int`` | ``str``):
|
chat_id (``int`` | ``str``):
|
||||||
Unique identifier (int) or username (str) of the target chat.
|
Unique identifier (int) or username (str) of the target chat.
|
||||||
For a private channel/supergroup you can use its *t.me/joinchat/* link.
|
|
||||||
|
|
||||||
user_id (``int`` | ``str``):
|
user_id (``int`` | ``str``):
|
||||||
Unique identifier (int) or username (str) of the target user.
|
Unique identifier (int) or username (str) of the target user.
|
||||||
|
@ -36,7 +36,6 @@ class RestrictChatMember(BaseClient):
|
|||||||
Args:
|
Args:
|
||||||
chat_id (``int`` | ``str``):
|
chat_id (``int`` | ``str``):
|
||||||
Unique identifier (int) or username (str) of the target chat.
|
Unique identifier (int) or username (str) of the target chat.
|
||||||
For a private channel/supergroup you can use its *t.me/joinchat/* link.
|
|
||||||
|
|
||||||
user_id (``int`` | ``str``):
|
user_id (``int`` | ``str``):
|
||||||
Unique identifier (int) or username (str) of the target user.
|
Unique identifier (int) or username (str) of the target user.
|
||||||
|
@ -28,7 +28,6 @@ class SetChatDescription(BaseClient):
|
|||||||
Args:
|
Args:
|
||||||
chat_id (``int`` | ``str``):
|
chat_id (``int`` | ``str``):
|
||||||
Unique identifier (int) or username (str) of the target chat.
|
Unique identifier (int) or username (str) of the target chat.
|
||||||
For a private channel/supergroup you can use its *t.me/joinchat/* link.
|
|
||||||
|
|
||||||
description (``str``):
|
description (``str``):
|
||||||
New chat description, 0-255 characters.
|
New chat description, 0-255 characters.
|
||||||
|
@ -37,7 +37,6 @@ class SetChatPhoto(BaseClient):
|
|||||||
Args:
|
Args:
|
||||||
chat_id (``int`` | ``str``):
|
chat_id (``int`` | ``str``):
|
||||||
Unique identifier (int) or username (str) of the target chat.
|
Unique identifier (int) or username (str) of the target chat.
|
||||||
For a private channel/supergroup you can use its *t.me/joinchat/* link.
|
|
||||||
|
|
||||||
photo (``str``):
|
photo (``str``):
|
||||||
New chat photo. You can pass a :class:`Photo` id or a file path to upload a new photo.
|
New chat photo. You can pass a :class:`Photo` id or a file path to upload a new photo.
|
||||||
|
@ -33,7 +33,6 @@ class SetChatTitle(BaseClient):
|
|||||||
Args:
|
Args:
|
||||||
chat_id (``int`` | ``str``):
|
chat_id (``int`` | ``str``):
|
||||||
Unique identifier (int) or username (str) of the target chat.
|
Unique identifier (int) or username (str) of the target chat.
|
||||||
For a private channel/supergroup you can use its *t.me/joinchat/* link.
|
|
||||||
|
|
||||||
title (``str``):
|
title (``str``):
|
||||||
New chat title, 1-255 characters.
|
New chat title, 1-255 characters.
|
||||||
|
@ -31,7 +31,6 @@ class UnbanChatMember(BaseClient):
|
|||||||
Args:
|
Args:
|
||||||
chat_id (``int`` | ``str``):
|
chat_id (``int`` | ``str``):
|
||||||
Unique identifier (int) or username (str) of the target chat.
|
Unique identifier (int) or username (str) of the target chat.
|
||||||
For a private channel/supergroup you can use its *t.me/joinchat/* link.
|
|
||||||
|
|
||||||
user_id (``int`` | ``str``):
|
user_id (``int`` | ``str``):
|
||||||
Unique identifier (int) or username (str) of the target user.
|
Unique identifier (int) or username (str) of the target user.
|
||||||
|
@ -29,7 +29,6 @@ class UnpinChatMessage(BaseClient):
|
|||||||
Args:
|
Args:
|
||||||
chat_id (``int`` | ``str``):
|
chat_id (``int`` | ``str``):
|
||||||
Unique identifier (int) or username (str) of the target chat.
|
Unique identifier (int) or username (str) of the target chat.
|
||||||
For a private channel/supergroup you can use its *t.me/joinchat/* link.
|
|
||||||
|
|
||||||
Returns:
|
Returns:
|
||||||
True on success.
|
True on success.
|
||||||
|
@ -38,7 +38,6 @@ class DeleteMessages(BaseClient):
|
|||||||
Unique identifier (int) or username (str) of the target chat.
|
Unique identifier (int) or username (str) of the target chat.
|
||||||
For your personal cloud (Saved Messages) you can simply use "me" or "self".
|
For your personal cloud (Saved Messages) you can simply use "me" or "self".
|
||||||
For a contact that exists in your Telegram address book you can use his phone number (str).
|
For a contact that exists in your Telegram address book you can use his phone number (str).
|
||||||
For a private channel/supergroup you can use its *t.me/joinchat/* link.
|
|
||||||
|
|
||||||
message_ids (``iterable``):
|
message_ids (``iterable``):
|
||||||
A list of Message identifiers to delete or a single message id.
|
A list of Message identifiers to delete or a single message id.
|
||||||
|
@ -34,7 +34,6 @@ class EditMessageCaption(BaseClient):
|
|||||||
Unique identifier (int) or username (str) of the target chat.
|
Unique identifier (int) or username (str) of the target chat.
|
||||||
For your personal cloud (Saved Messages) you can simply use "me" or "self".
|
For your personal cloud (Saved Messages) you can simply use "me" or "self".
|
||||||
For a contact that exists in your Telegram address book you can use his phone number (str).
|
For a contact that exists in your Telegram address book you can use his phone number (str).
|
||||||
For a private channel/supergroup you can use its *t.me/joinchat/* link.
|
|
||||||
|
|
||||||
message_id (``int``):
|
message_id (``int``):
|
||||||
Message identifier in the chat specified in chat_id.
|
Message identifier in the chat specified in chat_id.
|
||||||
|
@ -32,7 +32,6 @@ class EditMessageReplyMarkup(BaseClient):
|
|||||||
Unique identifier (int) or username (str) of the target chat.
|
Unique identifier (int) or username (str) of the target chat.
|
||||||
For your personal cloud (Saved Messages) you can simply use "me" or "self".
|
For your personal cloud (Saved Messages) you can simply use "me" or "self".
|
||||||
For a contact that exists in your Telegram address book you can use his phone number (str).
|
For a contact that exists in your Telegram address book you can use his phone number (str).
|
||||||
For a private channel/supergroup you can use its *t.me/joinchat/* link.
|
|
||||||
|
|
||||||
message_id (``int``):
|
message_id (``int``):
|
||||||
Message identifier in the chat specified in chat_id.
|
Message identifier in the chat specified in chat_id.
|
||||||
|
@ -35,7 +35,6 @@ class EditMessageText(BaseClient):
|
|||||||
Unique identifier (int) or username (str) of the target chat.
|
Unique identifier (int) or username (str) of the target chat.
|
||||||
For your personal cloud (Saved Messages) you can simply use "me" or "self".
|
For your personal cloud (Saved Messages) you can simply use "me" or "self".
|
||||||
For a contact that exists in your Telegram address book you can use his phone number (str).
|
For a contact that exists in your Telegram address book you can use his phone number (str).
|
||||||
For a private channel/supergroup you can use its *t.me/joinchat/* link.
|
|
||||||
|
|
||||||
message_id (``int``):
|
message_id (``int``):
|
||||||
Message identifier in the chat specified in chat_id.
|
Message identifier in the chat specified in chat_id.
|
||||||
|
@ -33,13 +33,11 @@ class ForwardMessages(BaseClient):
|
|||||||
Unique identifier (int) or username (str) of the target chat.
|
Unique identifier (int) or username (str) of the target chat.
|
||||||
For your personal cloud (Saved Messages) you can simply use "me" or "self".
|
For your personal cloud (Saved Messages) you can simply use "me" or "self".
|
||||||
For a contact that exists in your Telegram address book you can use his phone number (str).
|
For a contact that exists in your Telegram address book you can use his phone number (str).
|
||||||
For a private channel/supergroup you can use its *t.me/joinchat/* link.
|
|
||||||
|
|
||||||
from_chat_id (``int`` | ``str``):
|
from_chat_id (``int`` | ``str``):
|
||||||
Unique identifier (int) or username (str) of the source chat where the original message was sent.
|
Unique identifier (int) or username (str) of the source chat where the original message was sent.
|
||||||
For your personal cloud (Saved Messages) you can simply use "me" or "self".
|
For your personal cloud (Saved Messages) you can simply use "me" or "self".
|
||||||
For a contact that exists in your Telegram address book you can use his phone number (str).
|
For a contact that exists in your Telegram address book you can use his phone number (str).
|
||||||
For a private channel/supergroup you can use its *t.me/joinchat/* link.
|
|
||||||
|
|
||||||
message_ids (``iterable``):
|
message_ids (``iterable``):
|
||||||
A list of Message identifiers in the chat specified in *from_chat_id* or a single message id.
|
A list of Message identifiers in the chat specified in *from_chat_id* or a single message id.
|
||||||
|
@ -37,7 +37,6 @@ class GetHistory(BaseClient):
|
|||||||
Unique identifier (int) or username (str) of the target chat.
|
Unique identifier (int) or username (str) of the target chat.
|
||||||
For your personal cloud (Saved Messages) you can simply use "me" or "self".
|
For your personal cloud (Saved Messages) you can simply use "me" or "self".
|
||||||
For a contact that exists in your Telegram address book you can use his phone number (str).
|
For a contact that exists in your Telegram address book you can use his phone number (str).
|
||||||
For a private channel/supergroup you can use its *t.me/joinchat/* link.
|
|
||||||
|
|
||||||
offset (``int``, *optional*)
|
offset (``int``, *optional*)
|
||||||
Sequential number of the first message to be returned.
|
Sequential number of the first message to be returned.
|
||||||
|
@ -33,7 +33,6 @@ class GetMessages(BaseClient):
|
|||||||
Unique identifier (int) or username (str) of the target chat.
|
Unique identifier (int) or username (str) of the target chat.
|
||||||
For your personal cloud (Saved Messages) you can simply use "me" or "self".
|
For your personal cloud (Saved Messages) you can simply use "me" or "self".
|
||||||
For a contact that exists in your Telegram address book you can use his phone number (str).
|
For a contact that exists in your Telegram address book you can use his phone number (str).
|
||||||
For a private channel/supergroup you can use its *t.me/joinchat/* link.
|
|
||||||
|
|
||||||
message_ids (``iterable``):
|
message_ids (``iterable``):
|
||||||
A list of Message identifiers in the chat specified in *chat_id* or a single message id, as integer.
|
A list of Message identifiers in the chat specified in *chat_id* or a single message id, as integer.
|
||||||
|
@ -49,7 +49,6 @@ class SendAudio(BaseClient):
|
|||||||
Unique identifier (int) or username (str) of the target chat.
|
Unique identifier (int) or username (str) of the target chat.
|
||||||
For your personal cloud (Saved Messages) you can simply use "me" or "self".
|
For your personal cloud (Saved Messages) you can simply use "me" or "self".
|
||||||
For a contact that exists in your Telegram address book you can use his phone number (str).
|
For a contact that exists in your Telegram address book you can use his phone number (str).
|
||||||
For a private channel/supergroup you can use its *t.me/joinchat/* link.
|
|
||||||
|
|
||||||
audio (``str``):
|
audio (``str``):
|
||||||
Audio file to send.
|
Audio file to send.
|
||||||
|
@ -32,7 +32,6 @@ class SendChatAction(BaseClient):
|
|||||||
Unique identifier (int) or username (str) of the target chat.
|
Unique identifier (int) or username (str) of the target chat.
|
||||||
For your personal cloud (Saved Messages) you can simply use "me" or "self".
|
For your personal cloud (Saved Messages) you can simply use "me" or "self".
|
||||||
For a contact that exists in your Telegram address book you can use his phone number (str).
|
For a contact that exists in your Telegram address book you can use his phone number (str).
|
||||||
For a private channel/supergroup you can use its *t.me/joinchat/* link.
|
|
||||||
|
|
||||||
action (:obj:`ChatAction <pyrogram.ChatAction>` | ``str``):
|
action (:obj:`ChatAction <pyrogram.ChatAction>` | ``str``):
|
||||||
Type of action to broadcast.
|
Type of action to broadcast.
|
||||||
|
@ -37,7 +37,6 @@ class SendContact(BaseClient):
|
|||||||
Unique identifier (int) or username (str) of the target chat.
|
Unique identifier (int) or username (str) of the target chat.
|
||||||
For your personal cloud (Saved Messages) you can simply use "me" or "self".
|
For your personal cloud (Saved Messages) you can simply use "me" or "self".
|
||||||
For a contact that exists in your Telegram address book you can use his phone number (str).
|
For a contact that exists in your Telegram address book you can use his phone number (str).
|
||||||
For a private channel/supergroup you can use its *t.me/joinchat/* link.
|
|
||||||
|
|
||||||
phone_number (``str``):
|
phone_number (``str``):
|
||||||
Contact's phone number.
|
Contact's phone number.
|
||||||
|
@ -44,7 +44,6 @@ class SendDocument(BaseClient):
|
|||||||
Unique identifier (int) or username (str) of the target chat.
|
Unique identifier (int) or username (str) of the target chat.
|
||||||
For your personal cloud (Saved Messages) you can simply use "me" or "self".
|
For your personal cloud (Saved Messages) you can simply use "me" or "self".
|
||||||
For a contact that exists in your Telegram address book you can use his phone number (str).
|
For a contact that exists in your Telegram address book you can use his phone number (str).
|
||||||
For a private channel/supergroup you can use its *t.me/joinchat/* link.
|
|
||||||
|
|
||||||
document (``str``):
|
document (``str``):
|
||||||
File to send.
|
File to send.
|
||||||
|
@ -48,7 +48,6 @@ class SendGIF(BaseClient):
|
|||||||
Unique identifier (int) or username (str) of the target chat.
|
Unique identifier (int) or username (str) of the target chat.
|
||||||
For your personal cloud (Saved Messages) you can simply use "me" or "self".
|
For your personal cloud (Saved Messages) you can simply use "me" or "self".
|
||||||
For a contact that exists in your Telegram address book you can use his phone number (str).
|
For a contact that exists in your Telegram address book you can use his phone number (str).
|
||||||
For a private channel/supergroup you can use its *t.me/joinchat/* link.
|
|
||||||
|
|
||||||
gif (``str``):
|
gif (``str``):
|
||||||
GIF to send.
|
GIF to send.
|
||||||
|
@ -35,7 +35,6 @@ class SendLocation(BaseClient):
|
|||||||
Unique identifier (int) or username (str) of the target chat.
|
Unique identifier (int) or username (str) of the target chat.
|
||||||
For your personal cloud (Saved Messages) you can simply use "me" or "self".
|
For your personal cloud (Saved Messages) you can simply use "me" or "self".
|
||||||
For a contact that exists in your Telegram address book you can use his phone number (str).
|
For a contact that exists in your Telegram address book you can use his phone number (str).
|
||||||
For a private channel/supergroup you can use its *t.me/joinchat/* link.
|
|
||||||
|
|
||||||
latitude (``float``):
|
latitude (``float``):
|
||||||
Latitude of the location.
|
Latitude of the location.
|
||||||
|
@ -44,7 +44,6 @@ class SendMediaGroup(BaseClient):
|
|||||||
Unique identifier (int) or username (str) of the target chat.
|
Unique identifier (int) or username (str) of the target chat.
|
||||||
For your personal cloud (Saved Messages) you can simply use "me" or "self".
|
For your personal cloud (Saved Messages) you can simply use "me" or "self".
|
||||||
For a contact that exists in your Telegram address book you can use his phone number (str).
|
For a contact that exists in your Telegram address book you can use his phone number (str).
|
||||||
For a private channel/supergroup you can use its *t.me/joinchat/* link.
|
|
||||||
|
|
||||||
media (``list``):
|
media (``list``):
|
||||||
A list containing either :obj:`InputMediaPhoto <pyrogram.InputMediaPhoto>` or
|
A list containing either :obj:`InputMediaPhoto <pyrogram.InputMediaPhoto>` or
|
||||||
|
@ -37,7 +37,6 @@ class SendMessage(BaseClient):
|
|||||||
Unique identifier (int) or username (str) of the target chat.
|
Unique identifier (int) or username (str) of the target chat.
|
||||||
For your personal cloud (Saved Messages) you can simply use "me" or "self".
|
For your personal cloud (Saved Messages) you can simply use "me" or "self".
|
||||||
For a contact that exists in your Telegram address book you can use his phone number (str).
|
For a contact that exists in your Telegram address book you can use his phone number (str).
|
||||||
For a private channel/supergroup you can use its *t.me/joinchat/* link.
|
|
||||||
|
|
||||||
text (``str``):
|
text (``str``):
|
||||||
Text of the message to be sent.
|
Text of the message to be sent.
|
||||||
|
@ -44,7 +44,6 @@ class SendPhoto(BaseClient):
|
|||||||
Unique identifier (int) or username (str) of the target chat.
|
Unique identifier (int) or username (str) of the target chat.
|
||||||
For your personal cloud (Saved Messages) you can simply use "me" or "self".
|
For your personal cloud (Saved Messages) you can simply use "me" or "self".
|
||||||
For a contact that exists in your Telegram address book you can use his phone number (str).
|
For a contact that exists in your Telegram address book you can use his phone number (str).
|
||||||
For a private channel/supergroup you can use its *t.me/joinchat/* link.
|
|
||||||
|
|
||||||
photo (``str``):
|
photo (``str``):
|
||||||
Photo to send.
|
Photo to send.
|
||||||
|
@ -41,7 +41,6 @@ class SendSticker(BaseClient):
|
|||||||
Unique identifier (int) or username (str) of the target chat.
|
Unique identifier (int) or username (str) of the target chat.
|
||||||
For your personal cloud (Saved Messages) you can simply use "me" or "self".
|
For your personal cloud (Saved Messages) you can simply use "me" or "self".
|
||||||
For a contact that exists in your Telegram address book you can use his phone number (str).
|
For a contact that exists in your Telegram address book you can use his phone number (str).
|
||||||
For a private channel/supergroup you can use its *t.me/joinchat/* link.
|
|
||||||
|
|
||||||
sticker (``str``):
|
sticker (``str``):
|
||||||
Sticker to send.
|
Sticker to send.
|
||||||
|
@ -38,7 +38,6 @@ class SendVenue(BaseClient):
|
|||||||
Unique identifier (int) or username (str) of the target chat.
|
Unique identifier (int) or username (str) of the target chat.
|
||||||
For your personal cloud (Saved Messages) you can simply use "me" or "self".
|
For your personal cloud (Saved Messages) you can simply use "me" or "self".
|
||||||
For a contact that exists in your Telegram address book you can use his phone number (str).
|
For a contact that exists in your Telegram address book you can use his phone number (str).
|
||||||
For a private channel/supergroup you can use its *t.me/joinchat/* link.
|
|
||||||
|
|
||||||
latitude (``float``):
|
latitude (``float``):
|
||||||
Latitude of the venue.
|
Latitude of the venue.
|
||||||
|
@ -49,7 +49,6 @@ class SendVideo(BaseClient):
|
|||||||
Unique identifier (int) or username (str) of the target chat.
|
Unique identifier (int) or username (str) of the target chat.
|
||||||
For your personal cloud (Saved Messages) you can simply use "me" or "self".
|
For your personal cloud (Saved Messages) you can simply use "me" or "self".
|
||||||
For a contact that exists in your Telegram address book you can use his phone number (str).
|
For a contact that exists in your Telegram address book you can use his phone number (str).
|
||||||
For a private channel/supergroup you can use its *t.me/joinchat/* link.
|
|
||||||
|
|
||||||
video (``str``):
|
video (``str``):
|
||||||
Video to send.
|
Video to send.
|
||||||
|
@ -44,7 +44,6 @@ class SendVideoNote(BaseClient):
|
|||||||
Unique identifier (int) or username (str) of the target chat.
|
Unique identifier (int) or username (str) of the target chat.
|
||||||
For your personal cloud (Saved Messages) you can simply use "me" or "self".
|
For your personal cloud (Saved Messages) you can simply use "me" or "self".
|
||||||
For a contact that exists in your Telegram address book you can use his phone number (str).
|
For a contact that exists in your Telegram address book you can use his phone number (str).
|
||||||
For a private channel/supergroup you can use its *t.me/joinchat/* link.
|
|
||||||
|
|
||||||
video_note (``str``):
|
video_note (``str``):
|
||||||
Video note to send.
|
Video note to send.
|
||||||
|
@ -45,7 +45,6 @@ class SendVoice(BaseClient):
|
|||||||
Unique identifier (int) or username (str) of the target chat.
|
Unique identifier (int) or username (str) of the target chat.
|
||||||
For your personal cloud (Saved Messages) you can simply use "me" or "self".
|
For your personal cloud (Saved Messages) you can simply use "me" or "self".
|
||||||
For a contact that exists in your Telegram address book you can use his phone number (str).
|
For a contact that exists in your Telegram address book you can use his phone number (str).
|
||||||
For a private channel/supergroup you can use its *t.me/joinchat/* link.
|
|
||||||
|
|
||||||
voice (``str``):
|
voice (``str``):
|
||||||
Audio file to send.
|
Audio file to send.
|
||||||
|
@ -32,7 +32,6 @@ class GetUserProfilePhotos(BaseClient):
|
|||||||
Unique identifier (int) or username (str) of the target chat.
|
Unique identifier (int) or username (str) of the target chat.
|
||||||
For your personal cloud (Saved Messages) you can simply use "me" or "self".
|
For your personal cloud (Saved Messages) you can simply use "me" or "self".
|
||||||
For a contact that exists in your Telegram address book you can use his phone number (str).
|
For a contact that exists in your Telegram address book you can use his phone number (str).
|
||||||
For a private channel/supergroup you can use its *t.me/joinchat/* link.
|
|
||||||
|
|
||||||
offset (``int``, *optional*):
|
offset (``int``, *optional*):
|
||||||
Sequential number of the first photo to be returned.
|
Sequential number of the first photo to be returned.
|
||||||
|
@ -404,7 +404,6 @@ class Message(Object):
|
|||||||
Unique identifier (int) or username (str) of the target chat.
|
Unique identifier (int) or username (str) of the target chat.
|
||||||
For your personal cloud (Saved Messages) you can simply use "me" or "self".
|
For your personal cloud (Saved Messages) you can simply use "me" or "self".
|
||||||
For a contact that exists in your Telegram address book you can use his phone number (str).
|
For a contact that exists in your Telegram address book you can use his phone number (str).
|
||||||
For a private channel/supergroup you can use its *t.me/joinchat/* link.
|
|
||||||
|
|
||||||
disable_notification (``bool``, *optional*):
|
disable_notification (``bool``, *optional*):
|
||||||
Sends the message silently.
|
Sends the message silently.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user