telegramcore's People
Forkers
nikit6000 oboje hojatdelfan luckydonald-backup mohsinalimat leonardo-ferreira07 leomehlig jeffffc telegramorg dfsilva johndpope mutirao is1394 massimiliano76 gooyan levi87 mengheangrat nmehralizadeh victoriaqb lafilmadora zhoudaqing vikas100 brindy shellbook lcklozz13 sylvanasx telegrammessengerorg shivanraptor bql88601485 adatheleader sdanny andrelami therealgupta aigram-messenger opentg-project h774211 kylmakalle sqzxcv xing1p strangeliu mattnguyen gleke ichelsearay naturezhm attackgithub ivlevastef azimin wyxy2005 matrix-une jam891 jeson504876302 simhaonline han767 hcpzhe jackchim hkthirdx hkanyx gollinski vishaljhanjhri randydom dilave iuvei kave51telegramcore's Issues
Swipe on message to reply
I've noticed that the feature that is present in original Telegram is missing from Telegram X.
In case you don't know what I'm referring to. In the original app, you can swipe on a single message bubble to reply to it instead of holding on a message bubble and pressing reply then.
AccountManager.swift : Unable to infer closure type in the current context
I'm compiling the source and the error "Unable to infer closure type in the current context" pops up:
public func temporaryAccount(manager: AccountManager, rootPath: String) -> Signal<TemporaryAccount, NoError> {
return manager.allocatedTemporaryAccountId()
|> mapToSignal { id -> Signal<TemporaryAccount, NoError> in
let path = "\(rootPath)/\(accountRecordIdPathName(id))"
return openPostbox(basePath: path + "/postbox", globalMessageIdsNamespace: Namespaces.Message.Cloud, seedConfiguration: telegramPostboxSeedConfiguration)
|> mapToSignal { result -> Signal<TemporaryAccount, NoError> in
switch result {
case .upgrading:
return .complete()
case let .postbox(postbox):
return .single(TemporaryAccount(id: id, basePath: path, postbox: postbox))
}
}
}
}
The error occurs on mapToSignal
line (line 3 above). How could I fix this?
Remote notification (content-available)
@peter-iakovlev , hi!
can you reveal the secret?
How did you make the application go up when you get the push notification? even if you turn off the content update in iOS settings for this application
Docs
Where can I find the docs for TelegramCore?
( I'm stucked at the beginning - with creating UnauthorizedAccount object :/ )
Videos are black - just hearing sound
Hi,
I download a video from YouTube:
$ youtube-dl -f 18 https://www.youtube.com/watch?v=FL22h3Qka_c
The info about this format:
$ youtube-dl -F https://www.youtube.com/watch?v=FL22h3Qka_c | grep 18
18 mp4 640x360 medium , avc1.42001E, mp4a.40.2@ 96k
And then sent it to channel with bot:
bot = telegram.Bot(token=token)
bot.sendVideo(chat_id=chat_id,
video=video,
caption=caption,
duration=duration,
thumb=thumb)
Video will play very well on Telegram of Android, but when playing on Telegram IOS it's a black screen with voice.
If I save the video to gallery from the channel, the video will be play very well with default video player of IOS.
Also I try to convert video (related issue here) but I have same problem.
Any idea?
Thanks.
offsetPendingMessagesTimestamps
Hi.
What should I put for the following parameter in the following code?
excludeIds: Set < MessageId >
if let latestIndex = mapping.last?.1 {
modifier.offsetPendingMessagesTimestamps(lowerBound: latestIndex.id, excludeIds: Set<MessageId>, timestamp: latestIndex.timestamp)
}
if let updatedTimestamp = updatedTimestamp {
modifier.offsetPendingMessagesTimestamps(lowerBound: message.id, excludeIds: Set<MessageId>, timestamp: updatedTimestamp)
}
Header "Postbox-Swift.h" not found error while compiling
Hi guys,
I've already builded and added all frameworks to the project.
while compiling telegramCore I receive an error:
Header 'Postbox-Swift.h' not found
module.modulemap:
framework module Postbox {
umbrella header "Postbox.h"
export *
module * { export * }
}
module Postbox.Swift {
header "Postbox-Swift.h" //error shows up at this line
requires objc
}
another error just shows up right after this one:
Could not build Objective-C module 'Postbox'
when I check the folder, i see that there is a Postbox-Swift.h under Postbox.framework > Header.
can you help me with this?
Thoughts about Telegram
Hey
I just want to share some thoughts about my initial reaction to finding out about Telegram. I noticed someone mentioned it here: https://www.indiegogo.com/projects/light-phone-2-smartphone-design/x/5350629#/comments
Telegram seems like a very interesting app to test out!
From seeing the video of Telegram X it seems you also planning on being able to let the user call other users. It would be great to also include video calls on that list of X features.
Btw hiding user threads in a simple way would also be good. Having perhaps a small yellow dot show another user has written something could perhaps fit in.
Next up...
It seems Telegram X could also be used as a chat feature on a WordPress web site something like I have on one of my client sites: http://celias.no/
It would actually be very helpful to have a WordPress plugin with the Telegram X features.
I think that was it for now.
I am looking forward to checking Telegram X whenever it is available for testing. Let me know and I can beta test it and give feedback. I work as a web designer and have also a focus on UI and UX.
Have a great day!
(The above comment came on Github as it would be too long for Twitter and I did not locate any other means of giving you feedback.)
[Suggestion] Message reactions
One thing I find is missing from other messaging platforms is reacting to messages.
I think a good way to bring this to telegram would be to handle emoji only replies as reactions.
This would allow supporting apps to have a nice UX for reactions, while being backwards compatible with other clients.
Thanks for your work on this great platform.
[Function request] External custom message notification sounds
Telegram X thumbnail links broken
When attaching photos, I select 1-10 thumbnails but different photos are sent when confirmed. Seems like there is some broken linking between folders, as same thumbnails results in same wrong photos every time. However, sometimes, it works ok, often in single bulk .. e.g. I select last 10 photos and half of them are ok, half like week old.
Only workaround to send proper photo is to open it via different tool and share. But it's slow and can handle one photo at once.
Unrooted Xperia XZ.
Telegram X: Annoying 5 seconds delay undo deleted chat history UX
I just updated my Telegram X and noticed this new 5 seconds delay undo deleted chat history notification at the bottom of the screen. This is rather annoying because I have to wait for the 5 seconds animation to finish to be able to navigate to other tab such as Contacts, Calls, Chat, Settings which is currently blocked by the black notification on top of the tabs. Imagine I have to clear 5 chat history that would wasted nearly 25 seconds of my life.
Why would you create this stupid undo feature. If you really need to reverse something you did not intend to do at the first place, maybe it's better if you ask a confirmation button instead of this? Another idea is to change the position of the notification to not block the bottom tabs. Also, not everyone needs that god damn undo button it pisses me off please add an option to disable it in the Settings.
Thank you!
Can’t send comment via share
Bot icon (slash button) randomly disappeared in chats with bots
[Telegram X]Front camera not working on Video messages.
Version: 0.20.7.918-arm64-v8a Device: BlackBerry DTEK50 Android OS version: 6.0.1
I have tried after resetting phone also but front camera for video messages not working. Rear camera working normal. This is happening since all versions i have installed.
Let me know if you need some file from device for checking log etc.
Type
bug
Priority
major
https://bitbucket.org/challegram/challegram/issues/875/front-camera-not-working-on-video-messages
Standalone Build for Telegram X?
Hi,
Is this the standalone repo for Telegram X iOS or do I need to merge it with the existing github /Telegram/
Telegram X does not appear in the system share sheet
Presumably just needs a sharing extension to be created or ported over from the old app.
Btw, if this is not the right place to report bugs, let me know - I’ll be opening a few here today.
Telegram X does not send picture edited via photos app
Steps to reproduce:
- Take a picture (e.g. from camera)
- Send it to someone in Telegram X
- Edit it via photos editor, e.g. draw something on it and save the resulting pic
- Send edited pic to someone
You will see that sent picture is the one from step 2, not the edited one as you would expect.
ipv6: infinity connection
When i try to test ipv6 network (following the apple instructions: https://developer.apple.com/library/content/documentation/NetworkingInternetWeb/Conceptual/NetworkingOverview/UnderstandingandPreparingfortheIPv6Transition/UnderstandingandPreparingfortheIPv6Transition.html) TelegramCore enters into infinite network connection after successful user authorization or bot importing. Same error seems in Telegram Swift Beta for iOS
TGSwiftBetaApp_Logs.txt
MyApp_Logs.txt
[Feachure Request] Option to set message as read in Notifications.
When a new message arrives on a locked device user may swipe it to Clear the notification.
If the user has message previews enabled for Notifications in significant amount of times they actually read the full message in the preview. This goes for short messages, that fit in preview, smilies, emojis, stickers, etc.
In this case a feature allowing user to optionally send a read notification to their party would be helpful.
Maybe something like a longer swipe on Notification that would reveal a "Mark as read" control?
Inline keyboard button with `switch_inline_query` does not work
When an inline keyboard button with switch_inline_query
parameter is sent to the user by bot, pressing the button does not work on Telegram X for iOS.
Telegram X doesn't handle tg:// links
Telegram X for iOS doesn't handle links like tg://resolve?domain=recipient_name in Safari and other apps, so https://t.me/recipient_name does not work at all.
v5.0.2, iOS 11.3
Only Telegram X is installed.
Auto open emoji panel
In the Original Telegram for Android, when you press the sticker button after typing some text, it automatically opens the emoji panel rather than the sticker panel so that it is easier to append emojis. This is not the case in Telegram X.
Steps to reproduce:
- Have the Stickers button by default beside the input box in the chat screen.
- Type some text.
- Tab the stickers button.
Expected output: Emoji panel opens
How it works now: Stickers panel opens
Truncated number of unread messages
Can't get out of profile picture
When choosing a profile picture, I can't always get out of the picture editing mode.
I can't reproduce consistently, but playing with the profile pic should trigger some weird behavior.
I had two separate issues:
- while editing a picture, the cross on the bottom left didn't work, and the "choose pic + thumbnails" where a tiny bit visible in the top right corner of my screen
- in the photo album chooser, pressing back would leave me on the same screen
Both times I had to exit the application to get out of the menu.
At the time of recording, press the back button and the interface will die.
Telegram X on iOS doesn't send location in inline mode to bots
Even if it's requested by bot. No UI to allow this is shown to user either.
Previous version worked fine as android and desktop versions now.
Function to reorder the stickers in Telegram X
The new app, Telegram X, doesn't provide the function to reorder the stickers.
Will this function be implemented in the future?
Telegram X Android: Can't set per-contact notification or mute selected chats
Not sure if this is a bug or just not implemented yet. But when I open a contact, I can see the box reading "notification enabled", but tapping it doesn't seem to have any effect.
Same goes for the menu option "mute", which is shown in the 3-dot menu of a chat.
Notifications not cleared when messages are read on other client
On the original Telegram app, if a message is read on another client the notification for that message is cleared automatically. This doesn't happen with Telegram X. The notification only gets cleared if the app is opened.
Telegram X source code
Would it be possible for you to release the complete Telegram code in swift?
I'm developing a Telegram client application and would like to start developing it with the source code in Swift.
Thank you.
Signin “Haven’t received the code?” button does not work
When signing in for the first time, the “haven’t received the code” button does nothing when pressed, even after the sixty second wait that I remember being a thing on another telegram client.
iPhone 7+, iOS 11.2.1, App Store latest release of Telegram X
Autoplay Gifs Issue
Sharing contact doesnt work in Telegram X app
Hi @peter-iakovlev, I wrote few lines of code in telegram bot https://t.me/PutevkaTravel_new and found a issue. The method of requesting contact in the Main Telegram App works fine but it doesn't in the X app. The popup dialog doesn't show in Telegram X.
Blind and vision impaired people: VoiceOver and TalkBack aren't yet supported
The Telegram apps has no support for VoiceOver or TalkBack.
Blind or vision impaired people has no way to use the OSX or Android app. They are unfriendly and unusable.
My need for now is the VoiceOver as it seems to better care about blind people, but TalkBack is very much as importantly.
Notification not appear when app in background running
Notifications still not appearing while just quit to home screen. Need to swipe it off on multitask screen to get notifications.
Compile problem
Hello, I added SwiftSignalKit, Postbox, MtProtoKitDynamic, and when i'm going to compile but get an error - Use of undeclared type 'LocalMessageTags'. Where do I find the source LocalMessageTags class? Thanks.
Separating channels and groups
This would be a good feature which already exists in many popular unofficial telegrams. It can be implemented by adding tabs beside calls and chats
xcode No such module 'Postbox'
compile error
Why did I not compile after downloading this library?
Keyboard button for `request_contact` does not work
When a keyboard button with request_contact
enabled is sent to the user by bot, pressing the button does not work on Telegram X for iOS.
What happened with Telegram X on iOS?
Just noticed Telegram X vanished from App Store :/
Pasting images into compose box is not possible
If you copy an image to your clipboard and attempt to paste it into the telegram x compose box, the paste option does not appear.
Steps to reproduce:
- Copy an image to your clipboard by Sharing it and choosing Copy from the bottom row.
- With the compose box focused and the keyboard open, tap into the compose box to bring up the copy/paste/select popover.
- Notice that the popover does not appear (if the box is empty) or does not contain Paste (if the box has text in it)
iPhone 7+, iOS 11.2.1, Telegram X 5.0 from App Store.
.m4a audio file cannot be played in Telegram
Hi,
Title says it all.
Friend shared a .m4a file to me, but I cannot play it in Telegram X on iOS 11(latest available) on iPhone 8+
The file is not corrupted, because it can be downloaded and played directly in the Telegram Desktop (W10) application.
Cheers
When using a headset on iOS, the phone's microphone is used
Whenever I used a headset on my iPhone, sending an audio clip via Telegram X uses the phone's microphone, rather than the headset.
This means that I have to keep the phone near my mouth while recording, unlike Telegram or other similar apps.
Can't view images in full screen before sending them from results of an inline bot
Well, everything is in the title. I can't just view images, I have to send them before this.
[Security issue] iOS Telegram X: possibility to send unauthorized messages with Telegram Passcode set
There is a possibility to send any message to any contact, even though a Telegram Passcode is set and the app is locked.
Steps to reproduce:
- Set a Telegram Passcode
- Lock the app
- Find any shareable media (e.g. a website, a photo from gallery)
- After clicking the "share" button, select Telegram X as an application to share through
- No popup/screen asking for passcode appears, you can send any message through a comment to any of your contacts now
Found on iOS 9.3.5, Telegram X version 5.0.2
Inline keyboard button with `url` of bot does not work
When an inline keyboard button with url parameter for starting the bot is sent to the user by bot, pressing the button does not work on Telegram X for iOS.
How to build framework from source codes?
Hi, thanks for sharing source codes!
How to build framework from source codes? In my case there are some missing frameworks:
MTProto, SwiftSignalKit, .....
Italian Translation
If you want, I can help you translating Telegram X in Italian.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.