You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/Entities/Message.php
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -28,6 +28,7 @@
28
28
* @method Chat getForwardFromChat() Optional. For messages forwarded from a channel, information about the original channel
29
29
* @method int getForwardFromMessageId() Optional. For forwarded channel posts, identifier of the original message in the channel
30
30
* @method string getForwardSignature() Optional. For messages forwarded from channels, signature of the post author if present
31
+
* @method string getForwardSenderName() Optional. Sender's name for messages forwarded from users who disallow adding a link to their account in forwarded messages
31
32
* @method int getForwardDate() Optional. For forwarded messages, date the original message was sent in Unix time
32
33
* @method Message getReplyToMessage() Optional. For replies, the original message. Note that the Message object in this field will not contain further reply_to_message fields even if it itself is a reply.
33
34
* @method int getEditDate() Optional. Date the message was last edited in Unix time
Copy file name to clipboardExpand all lines: structure.sql
+2Lines changed: 2 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -73,6 +73,8 @@ CREATE TABLE IF NOT EXISTS `message` (
73
73
`forward_from`bigintNULL DEFAULT NULL COMMENT 'Unique user identifier, sender of the original message',
74
74
`forward_from_chat`bigintNULL DEFAULT NULL COMMENT 'Unique chat identifier, chat the original message belongs to',
75
75
`forward_from_message_id`bigintNULL DEFAULT NULL COMMENT 'Unique chat identifier of the original message in the channel',
76
+
`forward_signature`TEXTNULL DEFAULT NULL COMMENT 'For messages forwarded from channels, signature of the post author if present',
77
+
`forward_sender_name`TEXTNULL DEFAULT NULL COMMENT 'Sender''s name for messages forwarded from users who disallow adding a link to their account in forwarded messages',
76
78
`forward_date`timestampNULL DEFAULT NULL COMMENT 'date the original message was sent in timestamp format',
ALTERTABLE`message` ADD COLUMN `forward_signature`TEXTNULL DEFAULT NULL COMMENT 'For messages forwarded from channels, signature of the post author if present' AFTER `forward_from_message_id`;
2
+
ALTERTABLE`message` ADD COLUMN `forward_sender_name`TEXTNULL DEFAULT NULL COMMENT 'Sender''s name for messages forwarded from users who disallow adding a link to their account in forwarded messages' AFTER `forward_signature`;
0 commit comments